joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fce0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49b273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048caf5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00492264
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004937bc
test eax, eax
je 0x45fdfc
mov ecx, dword [esp + 0x3c]
call fcn.00492291
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x45fdc0
push edi
mov ecx, esi
call fcn.0048f856
mov ecx, esi
call fcn.0045ff60
cmp dword [esp + 0x38], 1
jne 0x45fdf5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048f9c0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x462820
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x462853
push esi
call fcn.00465930
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46284c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4628d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4628c2
mov eax, dword [esi + 8]
test eax, eax
je 0x462877
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4628be
cmp eax, 2
je 0x4628c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46286a
cmp eax, 3
je 0x46289d
cmp eax, 1
jne 0x46286a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46286a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46286a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00462900
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4628e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00462900
add esp, 4
pop esi
ret
Function at 0x48d8ea
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48d922
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048b974
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048b94c
jmp 0x48d92e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48efdc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48f01e
call fcn.00494d5d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48f01e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48f015
xor eax, eax
jmp 0x48f026
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048f02c
pop edi
pop esi
pop ebx
ret 4

Function at 0x49528d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4952bb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4952d9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004951f3
jmp 0x4952d9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4952d9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004951f3
test edi, edi
mov eax, edi
jne 0x4952c3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x9a3450
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x9c25f8
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.009ab82f
add esp, 0xc
test eax, eax
je 0x9a3474
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.009ab90c
mov eax, dword [esp + 0x1c]
push eax
call fcn.009abb2e
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.009ab90c
lea ebp, [esi + 0x32]
push ebp
call fcn.009ab611
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.009abe3c
mov eax, dword [esp + 0x40]
push eax
call fcn.009abed0
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.009a43e0
mov ecx, dword [esp + 0x4c]
push 0x9c2600
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.009ab82f
add esp, 0x40
test eax, eax
je 0x9a34f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.009ac0ae
mov ecx, dword [esp + 0x20]
push ecx
call fcn.009abed0
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x9a39c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.009ab465
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x9c2678]
fadd qword [0x9c2690]
call fcn.009b8270
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x9a3ae0
call fcn.009ab465
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x9c2678]
fmul qword [0x9c2688]
fadd qword [0x9c2680]
call fcn.009b8270
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x9a3ac8
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x9a3ab9
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x9a3ab0
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x9a3a77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x9a5d50
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.009b64d0
mov eax, dword [0x9c4044]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0x9c1160
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.009ab82f
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0x9a5dbb
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.009ab32c
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.009ab90c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.009abb2e
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.009ab90c
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.009abe3c
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0x9a5e66
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.009a5bc0
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.009abe3c
mov esi, eax
add esp, 0x18
test esi, esi
ja 0x9a5e31
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.009a5c60
mov edx, dword [esp + 0x10]
push edx
call fcn.009abed0
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0x9a5d94
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.009ab32c
add esp, 0x1068
ret

Function at 0x9a6640
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.009b64d0
mov eax, dword [0x9c4044]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1010]
push ebp
mov ebp, dword [0x9bc1cc]
push edi
xor edi, edi
push edi
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x9a6698
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.009ab32c
add esp, 0x100c
ret
cmp dword [esp + 8], edi
jbe 0x9a66dd
push esi
nop
mov ecx, dword [ebx]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x9a66dc
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.009ac0ae
add edi, esi
add esp, 0x10
mov dword [0x9c6718], edi
cmp edi, dword [esp + 0xc]
jb 0x9a66a0
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.009abed0
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp edi, dword [esp + 8]
pop edi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.009ab32c
add esp, 0x100c
ret
Function at 0x9a6ba0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x9c4044]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.009b0550
add esp, 0xc
cmp edi, esi
je 0x9a6c88
mov eax, 0x9c0c3c
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x9a6be5
sub eax, edx
sar eax, 1
je 0x9a6c0f
push 0x9c0b5c
lea edx, [esp + 8]
push 0x9c0c3c
push edx
call fcn.009ab82f
add esp, 0xc
jmp 0x9a6c4a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.009bc084]
push 0x9c0b64
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.009ab33b
push 0x9c0b80
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.009ab82f
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x9a6c6d
push eax
push 1
push 0x200
push edi
call fcn.009ac0ae
mov ecx, dword [esp + 0x14]
push ecx
call fcn.009abed0
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret

Function at 0x9a6ca0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x9c4044]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.009b0550
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x9a6da5
mov eax, 0x9c0bb8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x9a6ce5
sub eax, edx
sar eax, 1
je 0x9a6da5
cmp dword [0x9c5060], 3
jne 0x9a6d2c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.009bc020]
push 0x9c0b88
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.009ab33b
add esp, 0xc
jmp 0x9a6d3c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.009bc084]
push 0x9c0bb8
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.009ab33b
push 0x9c0b8c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.009ab82f
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x9a6da5
push eax
push 1
push 0x200
push esi
call fcn.009abe3c
mov edx, dword [esp + 0x14]
push edx
call fcn.009abed0
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret
Function at 0x9a6dc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x9c4044]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.009b0550
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x9a6e8f
mov eax, 0x9c0b9c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x9a6e05
sub eax, edx
sar eax, 1
je 0x9a6e8f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.009bc084]
push 0x9c0b9c
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.009ab33b
push 0x9c0b94
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.009ab82f
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x9a6e8f
push eax
push 1
push 0x200
push esi
call fcn.009abe3c
mov eax, dword [esp + 0x14]
push eax
call fcn.009abed0
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.009ab32c
add esp, 0x214
ret

Function at 0x9a8f50
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x9a8f57
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x9a9034
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x9bfeb0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x9a8f70
pop edi
test edx, edx
je 0x9a905b
jmp 0x9a9040
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x9bfeb0]
inc ecx
sub edx, 1
jne 0x9a9040
not eax
pop esi
ret

Function at 0x9a9060
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x9bfeb0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x9bfeb0]
mov dword [edx + 8], ecx
ret
Function at 0x9a90b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x9bfeb0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x9bfeb0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x9aa4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x9aa4ce
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x9aa4c2
cmp dword [edi + 0x7c], ebx
je 0x9aa4dd
call fcn.009aa890
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.009aa220
add esp, 0xc
test eax, eax
je 0x9aa504
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.009ab611
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x9aa542
push 0x4000
call fcn.009ab611
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x9aa54f
push esi
call fcn.009ab6db
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x9aa597
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.009a9370
test eax, eax
jne 0x9aa597
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x9aa5be
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0x9aa5c4
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0x9aa601
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0x9aa601
call fcn.009a9060
add ebp, 1
jne 0x9aa5f0
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x403cff
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d2a8]
jne 0x403d09
repz ret
jmp fcn.00407e30

Function at 0x4081e7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d2a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404d3e
and dword [ebp - 0x14], 0
cmp dword [0x40ee10], 0
mov dword [ebp - 0x18], eax
jne 0x40829a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408342
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408342
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40ee10], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40ee14], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40ee18], eax
call edi
push eax
call esi
mov dword [0x40ee20], eax
test eax, eax
je 0x40829a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40ee1c], eax
mov eax, dword [0x40ee1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4082f3
cmp dword [0x40ee20], ecx
je 0x4082f3
push eax
call esi
push dword [0x40ee20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4082f3
test ebx, ebx
je 0x4082f3
call edi
test eax, eax
je 0x4082ea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4082ea
test byte [ebp - 8], 1
jne 0x4082f3
or dword [ebp + 0x10], 0x200000
jmp 0x408326
mov eax, dword [0x40ee14]
cmp eax, dword [ebp - 0x18]
je 0x408326
push eax
call esi
test eax, eax
je 0x408326
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408326
mov eax, dword [0x40ee18]
cmp eax, dword [ebp - 0x18]
je 0x408326
push eax
call esi
test eax, eax
je 0x408326
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40ee10]
call esi
test eax, eax
je 0x408342
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408344
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403cff
leave
ret
Function at 0x43ba38
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0043bbe8
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x43bb36
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x43bad9
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x43bb1c
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x43baf0
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x43bb0b
test al, 0x40
je 0x43bb02
mov ecx, dword [edi + 0x20]
jmp 0x43bb09
test al, 0x80
je 0x43bb1c
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x43bb1c
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x43baa8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret