joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c330
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
test byte [ebp - 4], 1
je 0x52c35b
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x52c35e
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x52c346
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x5bea58], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x52c33b
mov esp, ebp
pop ebp
ret

Function at 0x52e9dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
push ecx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
dec eax
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
mov edx, 0xe5000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
lodsd eax, dword [esi]
add byte [edx + 0x40], bh
call 0xff53ea2d
cmp ebx, 0x40
jle 0x52e9f7
add dh, al
mov edx, dword [ebp - 4]
call 0x152ed25
call fcn.005384bd
mov dword [eax], eax
add al, 0
add byte [eax], al
add byte [ebp + 0x41], dh
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x52ea90
add bl, bl
jle 0x52ea81
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0xbe531e19
add byte [ebp - 4], al
call fcn.00531abd
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.0051eaed
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov dh, 0
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
add eax, dword fs:[eax]
push 0x409057
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
add byte [ecx], al
mov ebp, dword [edx]
add byte [eax], al
pop eax
cmpsb byte [esi], byte es:[edi]
add cl, ch
ja 0x52eabc
add byte [eax], al
jmp 0x52ea8e
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
add byte ds:[esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 0xf7
lea eax, [ebp - 4]
call fcn.0053eb11
mov eax, dword [ebp + 8]
mov ebx, dword [edx - 0x3aa7500]
call fcn.0052ee95
add dword [ebp + 8], eax
mov eax, dword [eax - 4]
add eax, 0x2d200
add byte [eax], al
mov eax, dword [ebp]
add dword [eax - 4], eax
mov byte [eax + 0xe7d3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
lea eax, [eax]
inc ebp
cld
call fcn.005314fd
add byte [ecx], al
loopne 0x52eb0d
in eax, dx
pop ds
add bh, ch
add dh, ch
pop ecx
pop ebp
ret
Function at 0x5797ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
push ecx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
dec eax
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
mov edx, 0xe5000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
lodsd eax, dword [esi]
add byte [edx + 0x40], bh
call 0xff58983d
cmp ebx, 0x40
jle 0x579807
add dh, al
mov edx, dword [ebp - 4]
call 0x1579b35
call fcn.005832cd
mov dword [eax], eax
add al, 0
add byte [eax], al
add byte [ebp + 0x41], dh
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x5798a0
add bl, bl
jle 0x579891
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0xbe57cc29
add byte [ebp - 4], al
call fcn.0057c8cd
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.005698fd
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov dh, 0
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
add eax, dword fs:[eax]
push 0x409057
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
add byte [ecx], al
mov ebp, dword [edx]
add byte [eax], al
pop eax
cmpsb byte [esi], byte es:[edi]
add cl, ch
ja 0x5798cc
add byte [eax], al
jmp 0x57989e
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
add byte ds:[esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 0xf7
lea eax, [ebp - 4]
call int.00589921
mov eax, dword [ebp + 8]
mov ebx, dword [edx - 0x3aa7500]
call fcn.00579ca5
add dword [ebp + 8], eax
mov eax, dword [eax - 4]
add eax, 0x2d200
add byte [eax], al
mov eax, dword [ebp]
add dword [eax - 4], eax
mov byte [eax + 0xe7d3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
lea eax, [eax]
inc ebp
cld
call fcn.0057c30d
add byte [ecx], al
loopne 0x57991d
in eax, dx
pop ds
add bh, ch
add dh, ch
pop ecx
pop ebp
ret
Function at 0x5c4e6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
push ecx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
dec eax
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
mov edx, 0xe5000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
lodsd eax, dword [esi]
add byte [edx + 0x40], bh
call 0xff5d4ebd
cmp ebx, 0x40
jle 0x5c4e87
add dh, al
mov edx, dword [ebp - 4]
call 0x15c51b5
call fcn.005ce94d
mov dword [eax], eax
add al, 0
add byte [eax], al
add byte [ebp + 0x41], dh
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x5c4f20
add bl, bl
jle 0x5c4f11
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0xbe5c82a9
add byte [ebp - 4], al
call fcn.005c7f4d
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.005b4f7d
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov dh, 0
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
add eax, dword fs:[eax]
push 0x409057
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
add byte [ecx], al
mov ebp, dword [edx]
add byte [eax], al
pop eax
cmpsb byte [esi], byte es:[edi]
add cl, ch
ja 0x5c4f4c
add byte [eax], al
jmp 0x5c4f1e
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
add byte ds:[esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 0xf7
lea eax, [ebp - 4]
call fcn.005d4fa1
mov eax, dword [ebp + 8]
mov ebx, dword [edx - 0x3aa7500]
call fcn.005c5325
add dword [ebp + 8], eax
mov eax, dword [eax - 4]
add eax, 0x2d200
add byte [eax], al
mov eax, dword [ebp]
add dword [eax - 4], eax
mov byte [eax + 0xe7d3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
lea eax, [eax]
inc ebp
cld
call fcn.005c798d
add byte [ecx], al
loopne 0x5c4f9d
in eax, dx
pop ds
add bh, ch
add dh, ch
pop ecx
pop ebp
ret
Function at 0x60fcfd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
push ecx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
dec eax
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
mov edx, 0xe5000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
lodsd eax, dword [esi]
add byte [edx + 0x40], bh
call 0xff61fd4d
cmp ebx, 0x40
jle 0x60fd17
add dh, al
mov edx, dword [ebp - 4]
call 0x1610045
call fcn.006197dd
mov dword [eax], eax
add al, 0
add byte [eax], al
add byte [ebp + 0x41], dh
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x60fdb0
add bl, bl
jle 0x60fda1
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0xbe613139
add byte [ebp - 4], al
call fcn.00612ddd
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.005ffe0d
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov dh, 0
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
add eax, dword fs:[eax]
push 0x409057
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
add byte [ecx], al
mov ebp, dword [edx]
add byte [eax], al
pop eax
cmpsb byte [esi], byte es:[edi]
add cl, ch
ja 0x60fddc
add byte [eax], al
jmp 0x60fdae
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
add byte ds:[esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 0xf7
lea eax, [ebp - 4]
call fcn.0061fe31
mov eax, dword [ebp + 8]
mov ebx, dword [edx - 0x3aa7500]
call fcn.006101b5
add dword [ebp + 8], eax
mov eax, dword [eax - 4]
add eax, 0x2d200
add byte [eax], al
mov eax, dword [ebp]
add dword [eax - 4], eax
mov byte [eax + 0xe7d3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
lea eax, [eax]
inc ebp
cld
call fcn.0061281d
add byte [ecx], al
loopne 0x60fe2d
in eax, dx
pop ds
add bh, ch
add dh, ch
pop ecx
pop ebp
ret
Function at 0x6596ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x661388
cmp edx, dword [eax]
je 0x65970f
add eax, 8
inc ecx
cmp eax, 0x661418
jl 0x659700
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x661388]
jne 0x65983d
mov eax, dword [0xa5bee8]
cmp eax, 1
je 0x659817
test eax, eax
jne 0x659740
cmp dword [0x6612b4], 1
je 0x659817
cmp edx, 0xfc
je 0x65983d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659777
lea eax, [ebp - 0x1a4]
push 0x65e970
push eax
call fcn.0065a0d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a560
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6597ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a560
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e96c
push edi
call fcn.0065c430
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e950
push eax
call fcn.0065a0d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a0e0
lea eax, [ebp - 0xa0]
push 0x65e94c
push eax
call fcn.0065a0e0
push dword [esi + 0x66138c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a0e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e924
push eax
call fcn.0065c3a4
add esp, 0x2c
pop edi
jmp 0x65983d
lea eax, [ebp + 8]
lea esi, [esi + 0x66138c]
push 0
push eax
push dword [esi]
call fcn.0065a560
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f008]
jne 0x40100a
repz ret
jmp fcn.00401910

Function at 0x404efa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004032f7
and dword [ebp - 4], 0
cmp dword [0x4209f0], 0
mov ebx, eax
jne 0x404fab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40505c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40505c
push eax
call fcn.00403285
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4209f0], eax
call esi
push eax
call fcn.00403285
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4209f4], eax
call esi
push eax
call fcn.00403285
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4209f8], eax
call esi
push eax
call fcn.00403285
pop ecx
mov dword [0x420a00], eax
test eax, eax
je 0x404fab
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403285
pop ecx
mov dword [0x4209fc], eax
mov eax, dword [0x4209fc]
cmp eax, ebx
je 0x405003
cmp dword [0x420a00], ebx
je 0x405003
push eax
call fcn.00403300
push dword [0x420a00]
mov esi, eax
call fcn.00403300
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405003
test edi, edi
je 0x405003
call esi
test eax, eax
je 0x404ffa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404ffa
test byte [ebp - 0xc], 1
jne 0x405003
or dword [ebp + 0x10], 0x200000
jmp 0x40503c
mov eax, dword [0x4209f4]
cmp eax, ebx
je 0x40503c
push eax
call fcn.00403300
pop ecx
test eax, eax
je 0x40503c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40503c
mov eax, dword [0x4209f8]
cmp eax, ebx
je 0x40503c
push eax
call fcn.00403300
pop ecx
test eax, eax
je 0x40503c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4209f0]
call fcn.00403300
pop ecx
test eax, eax
je 0x40505c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40505e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41bf90
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x41f008]
xor eax, esp
mov dword [esp + 0x800], eax
cmp dword [0x80651c], 0x114e
mov eax, dword [esp + 0x808]
mov dword [0x806360], eax
jne 0x41bfd1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x41c0b0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc04
mov eax, dword [0x41f008]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x41fc50]
push ebx
mov ebx, dword [0x806364]
push esi
mov esi, dword [0x80651c]
push eax
call fcn.0041bf90
add esp, 4
cmp dword [0x80651c], 0x2f
jne 0x41c0ef
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
call fcn.0041c000
add esp, 4
cmp dword [0x80651c], 0x568
pop esi
pop ebx
jne 0x41c127
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00401000
add esp, 0xc04
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x39920c5b
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x4304d8
nop
mov ecx, 0x587768a5
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x4337f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x433812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x433819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x433808
mov eax, 1
add ebx, ebx
jne 0x43382b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x433820
jne 0x43383c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433820
xor ecx, ecx
sub eax, 3
jb 0x433850
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4338c2
mov ebp, eax
add ebx, ebx
jne 0x43385b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x433868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43388c
inc ecx
add ebx, ebx
jne 0x433878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43386d
jne 0x433889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43386d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4338ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43389d
jmp 0x43380e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4338ac
add edi, ecx
jmp 0x43380e
pop esi
mov edi, esi
mov ecx, 0x463
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4338ca
cmp byte [edi], 0
jne 0x4338ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4338cf
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x43393e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36da8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36e20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4338fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36e24]
or eax, eax
je 0x433938
mov dword [ebx], eax
add ebx, 4
jmp 0x433919
call dword [esi + 0x36e28]
popal
jmp 0x40a5b0
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401010
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
mov ebx, ecx
xor eax, eax
cmp dword [ebp + 8], esi
mov dword [ebx + 8], esi
jle 0x40103a
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + eax*4]
cmp byte [ecx], 0x40
jne 0x401034
inc dword [ebx + 8]
inc eax
cmp eax, dword [ebp + 8]
jl 0x401026
mov eax, dword [ebx + 8]
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebx + 0xc], eax
jne 0x401055
xor al, al
jmp 0x401177
xor eax, eax
cmp dword [ebp + 8], esi
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], eax
jle 0x401174
mov dword [ebp - 8], esi
push edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 0x40
jne 0x4011ce
inc eax
cmp byte [eax], 0x22
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], eax
jne 0x40109b
inc eax
cmp byte [eax], 0x22
mov dword [ebp - 0x10], eax
mov ecx, eax
je 0x401098
inc ecx
cmp byte [ecx], 0x22
jne 0x401092
mov byte [ecx], 0
push esi
push 0x8000080
push 3
push esi
push esi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x401173
push 2
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x40113f
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0xc]
call esi
lea eax, [edi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov byte [esi + edi], 0
mov eax, dword [ebx + 0xc]
push 0
mov dword [ecx + eax], esi
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40113f
cmp dword [ebp - 0x18], edi
jne 0x40113f
cmp byte [esi], 0x22
sete cl
test cl, cl
je 0x40111d
inc esi
mov al, byte [esi]
cmp al, 0x40
je 0x40113f
cmp al, 0x23
jne 0x40117d
cmp al, 0xa
je 0x401136
test al, al
je 0x40113b
inc esi
mov al, byte [esi]
cmp al, 0xd
jne 0x401127
cmp byte [esi], 0
jne 0x401112
mov byte [ebp - 1], 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x10], 0
je 0x401157
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
cmp byte [ebp - 1], 0
je 0x401173
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, dword [ebp + 8]
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], eax
jl 0x40106b
pop edi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [edx + eax*4], esi
test cl, cl
setne al
lea eax, [eax + eax + 0x20]
jmp 0x4011a6
mov cl, byte [esi]
cmp cl, 0xd
je 0x4011aa
cmp cl, 0xa
je 0x4011aa
cmp cl, 9
je 0x4011aa
test cl, cl
je 0x40113b
inc esi
cmp byte [esi], al
jne 0x401190
cmp byte [esi], 0
je 0x40113b
mov byte [esi], 0
inc esi
inc dword [ebx]
mov al, byte [esi]
cmp al, 0x20
je 0x4011cb
cmp al, 9
je 0x4011cb
cmp al, 0xd
je 0x4011cb
cmp al, 0xa
jne 0x401136
inc esi
jmp 0x4011b5
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [edx + ecx*4], eax
inc dword [ebx]
jmp 0x401159
Function at 0x4014f5
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
je 0x4015fb
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x4015fb
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x401544
lea eax, [ebp - 0x20c]
push 0x406248
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcpy
add esp, 0x10
lea eax, [ebp - 0x310]
push eax
push ebx
push 0x406244
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4015bf
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4015bf
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
mov byte [ebp - 1], 1
xor eax, eax
cmp byte [ebp - 0x108], bl
je 0x401611
inc eax
cmp eax, esi
je 0x4015ec
cmp byte [ebp + eax - 0x108], bl
jne 0x4015c9
cmp eax, ebx
je 0x401611
cmp byte [ebp + eax - 0x109], 0x5c
je 0x401611
cmp eax, 0x103
jne 0x401602
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov byte [ebp + eax - 0x108], 0x5c
mov byte [ebp + eax - 0x107], bl
lea eax, [ebp - 0x108]
push eax
push edi
call sub.MSVCRT.dll_strcpy
mov al, byte [ebp - 1]
pop ecx
pop ecx
jmp 0x4015fd