joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407480
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x4120c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd0]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0xdc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x4074f9
cmp dword [ebp - 0xe8], 0xea
jne 0x4075f8
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xe4], 1
jmp 0x407520
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0xd0]
ja 0x4075eb
mov edx, dword [ebp - 0xe0]
cmp dword [edx + 4], 0
je 0x407551
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 4], 0x80000000
jne 0x4075d7
mov ecx, dword [ebp - 0xe0]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x4075d7
push 0x401348
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4075d7
push 0x401358
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x401360
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0xcc]
push eax
call fcn.00407180
add esp, 4
mov ecx, dword [ebp - 0xe0]
add ecx, 0xc
mov dword [ebp - 0xe0], ecx
jmp 0x407511
mov edx, dword [ebp - 0xdc]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
nop
cmp dword [ebp - 0xe8], 0xea
je 0x4074b1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410d47
mov esp, ebp
pop ebp
ret
Function at 0x4137d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x41384f
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp], ecx
mov dword [esp + 8], eax
xor eax, eax
xor ebx, ebx
xor ebp, ebp
dec eax
mov edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov esi, edx
mov eax, dword [eax + ebp*4]
mov edi, ecx
mov edx, eax
or edi, eax
and eax, 1
shr edx, 1
xor edi, esi
or eax, edx
neg eax
mov edx, eax
shr edx, 0x1f
neg edx
sbb ecx, ecx
and edx, edi
mov edi, dword [esp + 0xc]
sar eax, 0x1f
and ecx, ebx
xor edx, esi
xor ebx, ecx
mov ecx, ebp
inc ebp
xor ecx, edi
and eax, ecx
xor eax, edi
cmp dword [esp], ebp
jne 0x4137ff
shl eax, 5
or eax, 1
jmp 0x413857
xor edx, edx
mov eax, 0xffffffe1
dec edx
mov ecx, 0x10
xor esi, esi
mov edi, edx
shr edi, cl
mov ebx, edi
xor edi, edx
neg ebx
sar ebx, 0x1f
and edi, ebx
and ebx, ecx
xor edx, edi
add esi, ebx
shr ecx, 1
jne 0x41385e
add eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x413ef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
je 0x413f3c
mov ebx, dword [eax + 4]
xor ecx, ecx
xor eax, eax
xor edi, edi
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
shrd ebp, esi, cl
shr esi, cl
test cl, 0x20
cmove esi, ebp
cmp ecx, 0x40
mov ebp, 0
cmovae esi, ebp
add ecx, 0x20
xor esi, dword [ebx + edi*4]
inc edi
or eax, esi
cmp edi, edx
jb 0x413f0f
jmp 0x413f3e
xor eax, eax
mov ecx, eax
and eax, 1
shr ecx, 1
or eax, ecx
neg eax
shr eax, 0x1f
xor eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x482a03
Capabilities:
Parse credit card information

Disassembly:
cmp edx, 3
jne 0x482a16
inc ecx
cmp eax, 0x3c
jne 0x482a16
dec eax
lea eax, [0xfffb3f09]
ret
cmp edx, 3
jne 0x482a29
inc ecx
cmp eax, 0x3d
jne 0x482a29
dec eax
lea eax, [0xfffb3f18]
ret
cmp edx, 3
jne 0x482a3c
inc ecx
cmp eax, 0x3f
jne 0x482a3c
dec eax
lea eax, [0xfffb3f24]
ret
cmp edx, 3
jne 0x482a4f
inc ecx
cmp eax, 0x40
jne 0x482a4f
dec eax
lea eax, [0xfffb3f3c]
ret
cmp edx, 3
jne 0x482a62
inc ecx
cmp eax, 0x41
jne 0x482a62
dec eax
lea eax, [0xfffb3f48]
ret
cmp edx, 3
jne 0x482a75
inc ecx
cmp eax, 0x42
jne 0x482a75
dec eax
lea eax, [0xfffb3f55]
ret
inc ebp
lea ecx, [eax - 1]
inc ecx
cmp ecx, 5
ja 0x482a97
dec eax
lea eax, [0xfffb3f60]
dec eax
lea ecx, [0x1b6]
dec edx
arpl word [ecx + ecx*4], dx
dec eax
add edx, ecx
jmp edx
inc ecx
cmp eax, 0x14
je 0x482ad3
inc ecx
cmp eax, 0x15
jne 0x482adb
dec eax
lea eax, [0xfffb3fc8]
ret
dec eax
lea eax, [0xfffb3f87]
ret
cmp ecx, 1
jne 0x482aee
inc ecx
cmp eax, 0x1e
jne 0x482aee
dec eax
lea eax, [0xfffb3f96]
ret
cmp ecx, 1
jne 0x482b01
inc ecx
cmp eax, 0x1f
jne 0x482b01
dec eax
lea eax, [0xfffb3f97]
ret
cmp ecx, 2
jne 0x482b14
inc ecx
cmp eax, 0x1e
jne 0x482b14
dec eax
lea eax, [0xfffb3f99]
ret
cmp ecx, 2
jne 0x482b27
inc ecx
cmp eax, 0x22
jne 0x482b27
dec eax
lea eax, [0xfffb3fa6]
ret
cmp ecx, 2
jne 0x482b3a
inc ecx
cmp eax, 0x1f
jne 0x482b3a
dec eax
lea eax, [0xfffb3faf]
ret
cmp ecx, 2
jne 0x482b4d
inc ecx
cmp eax, 0x20
jne 0x482b4d
dec eax
lea eax, [0xfffb3fb6]
ret
cmp ecx, 2
jne 0x482b60
inc ecx
cmp eax, 0x21
jne 0x482b60
dec eax
lea eax, [0xfffb3fbc]
ret
cmp ecx, 4
jne 0x482b73
inc ecx
cmp eax, 0x1e
jne 0x482b73
dec eax
lea eax, [0xfffb3fc3]
ret
cmp ecx, 4
jne 0x482b86
inc ecx
cmp eax, 0x1f
jne 0x482b86
dec eax
lea eax, [0xfffb3fc7]
ret
cmp ecx, 4
jne 0x482b99
inc ecx
cmp eax, 0x20
jne 0x482b99
dec eax
lea eax, [0xfffb3fcb]
ret
cmp ecx, 3
jne 0x482bac
inc ecx
cmp eax, 0x1e
jne 0x482bac
dec eax
lea eax, [0xfffb3fcd]
ret
cmp ecx, 3
jne 0x482bbf
inc ecx
cmp eax, 0x1f
jne 0x482bbf
dec eax
lea eax, [0xfffb3fd1]
ret
inc ecx
lea eax, [eax - 0x32]
cmp eax, 4
jae 0x482bd6
dec eax
cwde
dec eax
lea ecx, [0xfffb4a62]
dec eax
mov eax, dword [ecx + eax*8]
ret
cmp edx, 1
jne 0x482be9
inc ecx
cmp eax, 0x3c
jne 0x482be9
dec eax
lea eax, [0xfffb4026]
ret
cmp edx, 2
jne 0x482bfc
inc ecx
cmp eax, 0x3c
jne 0x482bfc
dec eax
lea eax, [0xfffb402b]
ret
cmp edx, 4
jne 0x482c0f
inc ecx
cmp eax, 0x3c
jne 0x482c0f
dec eax
lea eax, [0xfffb403b]
ret
cmp edx, 4
jne 0x482c22
inc ecx
cmp eax, 0x3d
jne 0x482c22
dec eax
lea eax, [0xfffb4047]
ret
inc ecx
add eax, 0xffffffb0
inc ecx
cmp eax, 0x15
jae 0x482c3b
dec ecx
arpl ax, ax
dec eax
lea ecx, [0xfffb4a1d]
dec eax
mov eax, dword [ecx + eax*8]
ret
dec eax
lea eax, [0xfffaf536]
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x102184e3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test eax, eax
pushfd
mov byte [esp + 4], cl
jmp loc.102338bc

Function at 0x1022c603
Capabilities:
Execute anti-debugging instructions

Disassembly:
or dx, cx
ror dl, cl
sub esp, 0xfffffffc
and esp, 0xfffffff8
rol dl, 1
neg dh
rdtsc
sets ah
push 0xffffffffffffffff
movsx cx, cl
push 0x10223b71
and dl, 0x99
rol cl, 4
xadd dl, ch
mov eax, dword fs:[0]
shl dh, 7
rcr dx, 2
jmp loc.1021b866
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x65bec0
push eax
push dword fs:[0]
mov esi, 0x64500065
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
mov ecx, 0xd4e4027f
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
mov ebx, 0xa4e81020
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [edi], edx
stosd dword es:[edi], eax
loop 0x4010a6
shr byte [edx - 0x45d61c4d], 1
arpl word [edi - 0x278de9a], dx
sub dword [edx + 0x21669763], edi
xchg ebp, edi
jo 0x4010b7
adc byte [ebx - 0x7b], dh
jae 0x40102e
xlatb
in al, dx
scasd eax, dword es:[edi]
rol dword [0xffffd0cf], 1
fisub dword [edx + 0x3d]
xchg edi, eax
xchg ebp, eax
push 0xa7e35ce0
iretd
loopne 0x401115
jecxz 0x401062
jmp 0x4010fb
inc edi
inc ebp
invalid
mov eax, dword [edi]
jmp 0x4010de
push es
aas
dec esp
sbb al, 0xb2
or ecx, esi
pushal
jp 0x40110e
xchg dword [edi], edi
push ebp
arpl word [edx], bx
xchg ebp, eax
and dword [ecx + 0x73], 0x27
push esi
leave
adc bh, byte [0xf1cfcb47]
mov ecx, dword [esi + 0x2afe0d5e]
push ebx
lcall 0x58e9, 0xe192ed67
pop eax
outsb dx, byte [esi]
sub byte [eax + 0x15], ah
mov ecx, 0x775fedc3
test byte [eax + 0x35], ch
setb byte [edi + eax*8 - 0x62]
inc edi
in eax, dx
sub cl, byte [eax - 0x71]
jbe 0x401126
dec edi
iretd
Function at 0x401000
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, dword [str.tracker.exe]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x40d004]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x40d008]
mov dword [ebp - 8], edx
cmp dword [ebp + 8], 0
jne 0x401038
xor eax, eax
jmp 0x4011f9
mov eax, dword [ebp + 8]
push eax
call fcn.00401bf0
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00401bf0
add esp, 4
lea edx, [esi + eax + 2]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0xc], 0
je 0x401075
mov eax, dword [ebp + 0xc]
push eax
call fcn.00401bf0
add esp, 4
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0x10], 0
je 0x401091
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401bf0
add esp, 4
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.004021d7
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401af0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4010d7
push 0x40d00c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401b00
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401b00
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x401165
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x4010f2
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 1
jbe 0x401165
push 0x40d010
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401b00
add esp, 8
push 0x5c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401c80
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x401126
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401b00
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00402412
add esp, 4
test eax, eax
je 0x401163
call fcn.0040204b
cmp dword [eax], 0x11
je 0x401163
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040219f
add esp, 4
xor eax, eax
jmp 0x4011f9
jmp 0x4010e9
push 0x40d014
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401b00
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401b00
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x4011bb
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040219f
add esp, 4
xor eax, eax
jmp 0x4011f9
push 0
lea edx, [ebp - 0x18]
push edx
push 0xce00
push 0x40d018
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4011ec
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040219f
add esp, 4
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402452
mov esp, ebp
pop ebp
ret
Function at 0x401210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x427270]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, dword [0x419e1c]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x419e20]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x419e24]
mov dword [ebp - 0x18], edx
mov ax, word [0x419e28]
mov word [ebp - 0x14], ax
mov ecx, dword [0x419e2c]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x419e30]
mov dword [ebp - 0xc], edx
mov ax, word [0x419e34]
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 0x24], cx
mov edx, dword [ebp + 8]
push edx
call fcn.00401bf0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.00401bf0
add esp, 4
add esi, eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00401bf0
add esp, 4
lea edx, [esi + eax + 2]
push edx
call fcn.004021d7
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s_s
mov eax, dword [ebp - 0x28]
push eax
call fcn.00401a68
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x401312
push 0
lea edx, [ebp - 0x30]
push edx
push 0xce00
push 0x419e78
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401308
mov ecx, 1
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
push eax
call fcn.0040219f
add esp, 4
mov ax, word [ebp - 0x24]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402452
mov esp, ebp
pop ebp
ret
Function at 0x4013d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x5c], 0x44
push 0x40
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00402470
add esp, 0xc
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
xor edx, edx
mov word [ebp - 4], dx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40148f
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401478
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401461
cmp dword [ebp - 8], 0
jne 0x401461
mov ecx, 1
mov word [ebp - 4], cx
jmp 0x401476
push str.GetExitCodeProcess
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401340
add esp, 0xc
jmp 0x40148d
push str.WaitForSingleObject
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401340
add esp, 0xc
jmp 0x4014a4
push str.CreateProcess
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401340
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, word [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x407d54
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004052dc
mov dword [ebp - 0x14], eax
cmp dword [0x428b04], edi
jne 0x407e45
push 0x800
push edi
push 0x40b160
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x407dd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407f25
push 0x40b160
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x407f25
push 0x40b178
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407f25
push eax
call ebx
push 0x40b184
push esi
mov dword [0x428b04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x40b194
push esi
mov dword [0x428b08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x40b1a8
push esi
mov dword [0x428b0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b14], eax
test eax, eax
je 0x407e42
push 0x40b1c4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x428b10], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x407e6a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407e5d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x407e7f
push 4
pop eax
jmp 0x407f27
cmp dword [ebp - 0x14], edi
je 0x407e7f
push dword [0x428b04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x407e64
mov eax, dword [0x428b10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x407edd
cmp dword [0x428b14], esi
je 0x407edd
push eax
call ebx
push dword [0x428b14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x407edd
test eax, eax
je 0x407edd
call ecx
test eax, eax
je 0x407ed2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x407ed2
test byte [ebp - 8], 1
jne 0x407edd
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x407f0d
mov eax, dword [0x428b08]
cmp eax, esi
je 0x407f0a
push eax
call ebx
test eax, eax
je 0x407f0a
call eax
mov edi, eax
test edi, edi
je 0x407f0a
mov eax, dword [0x428b0c]
cmp eax, esi
je 0x407f0a
push eax
call ebx
test eax, eax
je 0x407f0a
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x428b04]
call ebx
test eax, eax
je 0x407f25
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x407f27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402452
leave
ret
Function at 0x13e9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x13e91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x13e907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13e906a
add dl, dl
jne 0x13e9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13e90dc
xor eax, eax
add dl, dl
jne 0x13e9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13e917d
add dl, dl
jne 0x13e90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13e90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13e90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13e90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x13e90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x13e9075
mov eax, 1
add dl, dl
jne 0x13e90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13e90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13e90e1
sub eax, ebx
mov ebx, 1
jne 0x13e9128
mov ecx, 1
add dl, dl
jne 0x13e910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x13e9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13e9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x13e9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x13e913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x13e914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13e9136
cmp eax, 0x7d00
jae 0x13e916d
cmp eax, 0x500
jb 0x13e9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x13e9075
cmp eax, 0x7f
ja 0x13e9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x13e9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x13e919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x13e9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10