joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458208
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bf8]
cmp dword [eax + 0x30], 0
je 0x4582b2
cmp dword [ebx + 0x94], 0
jne 0x4582ac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458198
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4582ac
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x458272
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4582ac
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b7bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458281
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458e10
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458e45
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044d8
jmp 0x458e52
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040443c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459df8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459e39
mov eax, esi
call fcn.004405e4
test al, al
je 0x459e39
mov eax, dword [ebx + 0x84]
call fcn.0044030c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459e39
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044030c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x461894
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
xor edx, edx
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], edx
xor dword [esi], edi
mov ebx, 1
mov ecx, 1
mov eax, ebx
push ecx
shl eax, 3
mov ecx, 0x25
sub eax, ebx
inc ebx
add eax, eax
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub edi, ecx
xor dword [esi + eax*4], ecx
mov eax, ecx
mov ecx, edi
mov edi, eax
cmp ebx, 0x25
jl 0x4618bd
xor ebx, ebx
push esi
call fcn.00461818
pop ecx
inc ebx
cmp ebx, 0x2710
jl 0x4618e9
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461db0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 8]
xor edx, edx
lea eax, [ecx + 0x28]
xor ebx, ebx
inc edx
mov dword [eax], ebx
add eax, 4
cmp edx, 0x50
jl 0x461dbc
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
pop ebx
pop ebp
ret

Function at 0x461f5c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00461ef4
add esp, 8
xor ecx, ecx
mov cl, byte [ebp - 4]
mov al, byte [ecx + 0x46e15c]
mov byte [ebp - 4], al
xor edx, edx
mov dl, byte [ebp - 3]
mov cl, byte [edx + 0x46e15c]
mov byte [ebp - 3], cl
xor eax, eax
mov al, byte [ebp - 2]
mov dl, byte [eax + 0x46e15c]
mov byte [ebp - 2], dl
xor ecx, ecx
mov cl, byte [ebp - 1]
mov al, byte [ecx + 0x46e15c]
mov byte [ebp - 1], al
lea edx, [ebp - 4]
push edx
call fcn.00461ec8
pop ecx
pop ecx
pop ebp
ret
Function at 0x465358
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x465375
add esp, 0xfffffff0
call fcn.00403994
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x465493
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x8000
mov eax, 0x4654c4
call fcn.0040e118
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
jne 0x4653b6
mov ecx, 0x4654d8
mov dl, 1
mov eax, dword [0x407798]
call fcn.0040c0a0
call fcn.00403dfc
push 0x4654ec
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
jne 0x4653e0
mov ecx, 0x4654f8
mov dl, 1
mov eax, dword [0x407798]
call fcn.0040c0a0
call fcn.00403dfc
lea eax, [ebp - 0xc]
push eax
call esi
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00405efc
lea eax, [ebp - 0x2c]
call fcn.00465330
lea esi, [ebp - 0x2c]
lea edi, [ebx + 0xc]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 8]
push eax
mov edx, 0x465508
lea eax, [ebx + 0xc]
mov ecx, 0x20
call fcn.004651e4
mov eax, dword [ebp - 8]
call fcn.004046a8
push eax
mov eax, dword [ebp - 8]
call fcn.004048a8
mov edx, eax
mov eax, dword [ebx + 8]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov dl, 1
mov eax, dword [0x419b4c]
call fcn.0040362c
mov dword [ebx + 0x2c], eax
push 0x20
push 1
lea ecx, [ebx + 0xc]
mov dl, 1
mov eax, dword [0x45a6d4]
call fcn.0045a750
mov dword [ebx + 0x30], eax
push 0x20
push 1
lea ecx, [ebx + 0xc]
mov dl, 1
mov eax, dword [0x45a6d4]
call fcn.0045a750
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46549a
lea eax, [ebp - 0xc]
call fcn.00405ee4
lea eax, [ebp - 8]
call fcn.004043e8
ret

Function at 0x465a94
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov word [esp], cx
mov edi, dword [0x470b3c]
mov edi, dword [edi]
mov ecx, dword [0x470b3c]
mov dword [ecx], 0x2b08ba
mov si, word [esp]
add si, dx
dec esi
sub si, dx
jb 0x465ad6
inc esi
movzx edx, dx
lea ebx, [eax + edx]
mov eax, pe_nt_image_headers32
call fcn.00403070
xor byte [ebx], al
inc ebx
dec si
jne 0x465ac4
mov eax, dword [0x470b3c]
mov dword [eax], edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x100812cf
Capabilities:
Encode data using xor

Disassembly:
call 0x10081248
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10081278
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10081294
xor edx, 0
jmp 0x1008129f
xor edx, edx
jmp 0x100812b6
jmp 0x100812c2
xor eax, eax
push 0x8427d7c0
call 0x100812cf
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1008130b
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100812e4
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x10081322
add eax, 0
jno 0x10081327
add esi, 0
ret 0x10

Function at 0x10082090
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100820b2
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x10082254
cmp edi, dword [ebp + 0x10]
jb 0x10082254
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10081b7c
inc edi
jmp 0x1008213b
jmp 0x10082148
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10081b7c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10081b7c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1008219c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10082180
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100821ca
add dword [eax], 0x39
jle 0x100821a6
sub al, 0xf5
mov ch, al
call fcn.100821df
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10083eb7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10083ecd
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10083ede
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10083f1f
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1008628b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100861d4
add ebx, 0
push ecx
call 0x100861e9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c9e5094
sub ebx, dword [0x6ca048d3]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6ca048c3
call fcn.10081cb3
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100811c1
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10086347
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10086347
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100862fe
mov eax, 1
lock xchg dword [0x6ca048cf], eax
push 0x3dd1fc71
call 0x1008628b
push esi
add esp, 8
cmp eax, 0
jne 0x10086274
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1008629a
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100862af
cmp ecx, edx
cmp eax, 0
je 0x100862d4
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100862be
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100862ed
dec eax
loope 0x100862f0
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6ca048cf], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10086324
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10086339
jmp 0x10086344
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10086232
Function at 0x1008d3ac
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1008d682
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c9f1547
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c9e850d
push 0xffffffffffffffff
call fcn.100845ac
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1008d416
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1008d42e
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1008d676
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1008d64a
Function at 0x1009ce7c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009ce9e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009ce9e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009ce9e
ret
cmp word [ebx + 4], 0x14c
jne 0x1009ce9e
test word [ebx + 0x16], 2
je 0x1009ce9e
test word [ebx + 0x16], 0x100
je 0x1009ce9e
cmp word [ebx + 0x18], 0x10b
jne 0x1009ce9e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009ce9e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cf2a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cebe
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083e09
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009ce9e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1009cf2a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1009ce9e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1009ce9e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1009ce9e
ret
cmp word [ebx + 4], 0x14c
jne 0x1009ce9e
test word [ebx + 0x16], 2
je 0x1009ce9e
test word [ebx + 0x16], 0x100
je 0x1009ce9e
cmp word [ebx + 0x18], 0x10b
jne 0x1009ce9e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1009ce9e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1009cf2a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1009cebe
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10083e09
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1009ce9e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1009cfe1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d03a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009cfe1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009cff0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104a2c93
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1009d041
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10083eb7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d0e0
add edi, 4
add eax, 2
dec ecx
jne 0x1009d026
call 0x1009d08d
loope 0x1009d083
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d0dd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1009d0ee
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1009d0a1
cmp eax, ecx
ja 0x1009d0a1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d12b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d121
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10084396
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1009cff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1009d03a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1009cfe1
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1009cff0
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104a2c93
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1009d041
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10083eb7
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1009d0e0
add edi, 4
add eax, 2
dec ecx
jne 0x1009d026
call 0x1009d08d
loope 0x1009d083
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1009d0dd
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1009d0ee
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1009d0a1
cmp eax, ecx
ja 0x1009d0a1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1009d12b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1009d121
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10084396
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7b7c3bd1
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x559b54d9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c72d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45a13c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
je 0x40221e
push 0x5c
push edi
call fcn.00405d40
add esp, 8
test eax, eax
je 0x40217f
push edi
call fcn.004072e0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test ebx, ebx
je 0x4021e4
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00403940
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4021ea
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4021cb
mov dword [ebp - 0x10], eax
jmp 0x4021ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call fcn.00403960
add esp, 4
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
jmp 0x4021ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push esi
push str._ls_ls
call fcn.004076f0
add esp, 0xc
mov edi, eax
test esi, esi
je 0x402208
push esi
call fcn.00403960
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40bc50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x45ab75], 0
jne 0x40bc76
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call fcn.0040b9b0
mov byte [0x45ab75], 1
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40bc85
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x45a084], 0
mov dword [ebp - 4], 0
jne 0x40bd12
push esi
call fcn.0040a2a0
add esp, 4
cmp eax, 2
jbe 0x40bd05
cmp word [esi], 0x5c
je 0x40bd05
cmp word [esi + 2], 0x3a
je 0x40bd05
lea eax, [ebp - 4]
push 0x104
push eax
call fcn.0040a330
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x40bd12
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40bcfd
push 0x44d864
push 0x104
push dword [ebp - 4]
call fcn.00405a40
push esi
push 0x104
push dword [ebp - 4]
call fcn.00405a40
add esp, 0x18
jmp 0x40bd05
mov eax, dword [ebp - 4]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 4]
test eax, eax
je 0x40bd12
cmp word [eax], 0
jne 0x40bd14
mov eax, esi
push dword [0x45a084]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push dword [ebp - 4]
mov esi, eax
call fcn.00409350
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438a1f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004383dd

Function at 0x439750
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00439624