joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4225f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.00436bac
push eax
lea ecx, [esp + 0x30]
call fcn.0043373e
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.00436bac
mov ecx, eax
call fcn.004333f1
cmp dword [esi + 0x134], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x422711
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x130]
call fcn.004336ab
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x140]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00433972
test edi, edi
je 0x4226cb
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x134]
push edi
push eax
call fcn.00433a40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x148], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x134]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x130]
test edx, edx
je 0x42272e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00433792
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x428850
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e958
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x84], 0
mov edi, dword [esp + 0x8c]
cmp dword [edi - 4], 1
jle 0x4288b7
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x90]
call fcn.0040fde0
mov edi, dword [esp + 0x8c]
push 0x47aaa8
push edi
call fcn.004547d8
push 0x66
lea ecx, [esp + 0x1c]
push 0
push ecx
mov esi, eax
call fcn.00458160
add esp, 0x14
test esi, esi
je 0x428902
push 2
push 0xffffffffffffffe4
push esi
call fcn.00455b32
push esi
push 1
lea edx, [esp + 0x24]
push 0x1c
push edx
call fcn.00454cde
push esi
call fcn.00454a05
add esp, 0x20
lea eax, [esp + 0x10]
push eax
jmp 0x428907
push 0x47b3d4
mov ecx, ebx
call fcn.00410560
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x84], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428935
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004540ed
add esp, 0x7c
ret
Function at 0x429040
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x46ddd1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e820]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], 0
push 0
push 0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xffffffffffffffff
push eax
push 0
push ebp
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042ff09
mov esi, eax
lea eax, [edi + edi + 2]
push eax
push 0
push esi
call fcn.00458160
mov ecx, dword [esp + 0x3c]
add esp, 0x10
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push ebp
call ebx
mov edx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
lea ebx, [ebp + 1]
push ebx
call fcn.0042ff09
push ebx
mov edi, eax
push 0
push edi
call fcn.00458160
mov eax, dword [esp + 0x44]
add esp, 0x10
push 0
push 0
push ebp
push edi
push 0xffffffffffffffff
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.0043adc8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42912b
push 0x80004005
call fcn.0040fef0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ebx, dword [esp + 0x28]
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x47ce70
push ebx
mov dword [esp + 0x20], 1
call fcn.00410070
push esi
call fcn.0042ff0e
push edi
call fcn.0042ff0e
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x42bc20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
push edi
mov edi, eax
mov esi, edx
jne 0x42bc2f
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x42bd17
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x47e800]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x42bc40
pop ebp
test edi, edi
je 0x42bd3c
jmp 0x42bd20
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x47e800]
add ecx, 1
sub edi, 1
jne 0x42bd20
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x42c450
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ebx
imul esi, dword [esp + 8]
cmp byte [edi], 0
je 0x42c482
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42c478
mov byte [edi + 8], 1
mov eax, dword [esp + 8]
xor edx, edx
div ebx
pop esi
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x42c495
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
push esi
add eax, ecx
push eax
push edx
call fcn.004585d0
add dword [edi + 0x18], esi
mov eax, esi
add esp, 0xc
xor edx, edx
div ebx
pop esi
ret

Function at 0x42c4b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x42c4e3
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push edi
lea ecx, [esp + 0x13]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42c4dd
mov byte [esi + 8], 1
mov edi, dword [esp + 8]
jmp 0x42c50f
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x42c4f5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [esp + 0x13]
push eax
call fcn.004585d0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x42c526
movzx ecx, byte [esp + 3]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
xor eax, eax
add esp, 8
ret
cmp byte [esi], 0
je 0x42c520
cmp byte [esi + 8], 0
je 0x42c520
or eax, 0xffffffff
add esp, 8
ret
Function at 0x42c610
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x42c655
cmp byte [esi + 1], 0
je 0x42c65d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x42c671
cmp byte [esi + 1], 0
je 0x42c663
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x42c67a
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x42c62e
xor eax, eax
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x42c67a
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
cmp ebp, edi
mov dword [esp + 0xc], edi
jae 0x42c68e
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.00456b22
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x42c6a9
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
mov eax, 4
cmp edi, eax
mov dword [esp + 0x18], 0
jbe 0x42c7be
jmp 0x42c6cc
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
cmp eax, edi
mov dword [esp + 0x14], edi
ja 0x42c6dd
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
cmp ebp, 0x404
mov dword [esp + 0x20], eax
jbe 0x42c6f6
mov ebp, 0x404
cmp byte [esi], 0
je 0x42c71b
cmp byte [esi + 1], 0
je 0x42c7be
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x42c71e
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebp
je 0x42c746
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42c740
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x42c76c
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x42c757
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
push edi
add ecx, eax
push ecx
push ebx
call fcn.004585d0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x42c7be
lea eax, [ebp - 3]
test eax, eax
jle 0x42c7b0
lea esp, [esp]
sub eax, 1
cmp byte [eax + ebx], 0x50
jne 0x42c79e
cmp byte [eax + ebx + 1], 0x4b
jne 0x42c79e
cmp byte [eax + ebx + 2], 5
jne 0x42c79e
cmp byte [eax + ebx + 3], 6
je 0x42c7a4
test eax, eax
jg 0x42c780
jmp 0x42c7b0
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
jne 0x42c7be
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x42c6c0
push ebx
call fcn.00456a45
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x42d430
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push edi
jne 0x42d48d
cmp dword [esi + 4], 0xffffffff
jne 0x42d48d
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x42d452
mov ax, word [0x47a9d8]
mov word [edi], ax
mov eax, dword [esp + 0xc]
lea edi, [esp + 0xc]
call fcn.0042c3b0
test eax, eax
jne 0x42d47f
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 4
call fcn.0042c7e0
mov dword [esi], eax
xor eax, eax
pop edi
pop ecx
ret 4
mov eax, 0x1000000
pop edi
pop ecx
ret 4

Function at 0x42d7f0
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x48e820]
xor eax, esp
mov dword [esp + 0x208], eax
mov ecx, dword [esp + 0x214]
test ecx, ecx
push ebx
mov ebx, dword [esp + 0x214]
je 0x42d8d1
mov al, byte [ecx]
test al, al
je 0x42d8d1
push esi
push edi
mov edi, ecx
mov edx, ecx
jmp 0x42d830
cmp al, 0x2f
je 0x42d838
cmp al, 0x5c
jne 0x42d83a
mov edi, edx
mov al, byte [edx + 1]
add edx, 1
test al, al
jne 0x42d830
cmp edi, ecx
mov eax, edi
je 0x42d870
mov esi, edi
sub esi, ecx
push esi
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0045739c
lea ecx, [esp + 0x18]
push ecx
push ebx
mov byte [esp + esi + 0x20], 0
call fcn.0042d7f0
add esp, 0x14
lea eax, [edi + 1]
lea esi, [esp + 0x110]
mov ecx, ebx
sub esi, ebx
jmp 0x42d880
mov dl, byte [ecx]
mov byte [esi + ecx], dl
add ecx, 1
test dl, dl
jne 0x42d880
mov edx, eax
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d890
lea edi, [esp + 0x110]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42d8a5
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea edx, [esp + 0x114]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
pop ebx
xor ecx, esp
call fcn.004540ed
add esp, 0x20c
ret
Function at 0x42e160
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42e194
mov ecx, dword [esi + 0x1c]
push ebx
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x20]
pop ebx
jb 0x42e180
mov dword [esi + 0xc], 0x30000
xor eax, eax
pop ecx
ret
push edi
push edx
add ecx, eax
push ecx
call fcn.004585d0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
pop ecx
ret
mov eax, dword [esi]
test eax, eax
je 0x42e1af
push 0
lea ecx, [esp + 4]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
pop ecx
ret
mov dword [esi + 0xc], 0x1000000
xor eax, eax
pop ecx
ret

Function at 0x42e2e0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 0x14], 7
mov dword [eax + 0x18], 5
mov dword [eax + 0x1c], 4
mov dword [eax + 0x20], 6
mov dword [eax + 0x24], 0xc
mov dword [eax + 0x28], 9
mov dword [eax + 0x2c], 0xb
mov dword [eax + 0x30], 0xa
mov dword [eax + 0x34], 0x11
mov dword [eax + 0x38], 0xe
mov dword [eax + 0x3c], 0x10
mov dword [eax + 0x40], 0xf
mov dword [eax + 0x44], 0x16
mov dword [eax + 0x48], 0x14
mov dword [eax + 0x4c], 0x17
mov dword [eax + 0x50], 0x15
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x42f1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x42f241
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x42f241
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x42f22a
jmp 0x42f241
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x431956
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x43199c
call fcn.0043a4fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43199c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4319df
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4319c8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4319c8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4319dc
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x432d9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0043a4fb
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x432dd5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004329c0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x437ead
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x437ee6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00437e70
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041c2e0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x439c17
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x439c5a
call fcn.0043a4fb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x439c5a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x439c75
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004397ce
test ebx, ebx
mov esi, eax
je 0x439c73
test edi, edi
je 0x439c73
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44b373
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 0x44b3a1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44b3bf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044b2dd
jmp 0x44b3bf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44b3bf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0044b2dd
test edi, edi
mov eax, edi
jne 0x44b3a9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x491d80]
test ecx, ecx
je 0x44b482
jmp 0x44b372
ret 8

Function at 0x4540ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e820]
jne 0x4540f7
repz ret
jmp fcn.0045a6d6
Function at 0x467284
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045a941
xor ebx, ebx
cmp dword [0x492c24], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x467359
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4672c4
xor eax, eax
jmp 0x46741d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x479edc
push edi
call esi
cmp eax, ebx
je 0x4672bd
push eax
call fcn.0045a8de
mov dword [esp], 0x479ecc
push edi
mov dword [0x492c24], eax
call esi
push eax
call fcn.0045a8de
mov dword [esp], 0x479eb8
push edi
mov dword [0x492c28], eax
call esi
push eax
call fcn.0045a8de
mov dword [0x492c2c], eax
lea eax, [ebp - 8]
push eax
call fcn.00458eaf
test eax, eax
pop ecx
pop ecx
je 0x467327
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00457db1
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x467359
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045a8de
cmp eax, ebx
pop ecx
mov dword [0x492c34], eax
je 0x467359
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045a8de
pop ecx
mov dword [0x492c30], eax
mov eax, dword [0x492c30]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4673d2
cmp dword [0x492c34], esi
je 0x4673d2
push eax
call fcn.0045a94a
pop ecx
call eax
cmp eax, ebx
je 0x46739f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x492c34]
call fcn.0045a94a
pop ecx
call eax
test eax, eax
je 0x46739f
test byte [ebp - 0x18], 1
jne 0x4673d2
lea eax, [ebp - 0xc]
push eax
call fcn.00458ee6
test eax, eax
pop ecx
je 0x4673ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00457db1
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4673c9
or dword [ebp + 0x10], 0x200000
jmp 0x467403
or dword [ebp + 0x10], 0x40000
jmp 0x467403
mov eax, dword [0x492c28]
cmp eax, esi
je 0x467403
push eax
call fcn.0045a94a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x467403
mov eax, dword [0x492c2c]
cmp eax, esi
je 0x467403
push dword [ebp - 4]
push eax
call fcn.0045a94a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x492c24]
call fcn.0045a94a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46b492
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x48e820]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046b427
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00458160
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46b4e1
cmp dword [ebp - 0x1c], 5
jb 0x46b4f9
jmp 0x46b4f5
cmp dword [ebp - 0x10], 1
jne 0x46b4f9
cmp dword [ebp - 0x1c], 4
ja 0x46b4f5
jne 0x46b4f9
cmp dword [ebp - 0x18], 0
jbe 0x46b4f9
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x47a880
call fcn.0046b2fb
test eax, eax
jge 0x46b51a
mov byte [0x492eb4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004540ed
add ebp, 0x78
leave
ret