joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43891b
Capabilities:
Get file system object information

Disassembly:
push 0x6f4
mov eax, 0x56af89
call fcn.0053f00e
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x438ab2
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x438a84
sub eax, 1
je 0x43899a
sub eax, 1
je 0x438972
sub eax, 1
je 0x43899a
push 0x5b1920
mov ecx, edi
call fcn.00406700
mov eax, edi
call fcn.0053efb8
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43895c
lea eax, [ebp - 0x4e8]
push eax
jmp 0x438961
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43895c
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.00420bf5
test eax, eax
je 0x43895c
call fcn.004080c9
push eax
lea ecx, [ebp - 0x700]
call fcn.004023c0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x438a3a
test byte [ebp - 0x428], 0x18
jne 0x438a5c
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x57698c]
mov ecx, ebx
call esi
jmp 0x438a5c
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x57698c]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.004053e0
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.004023f0
jmp 0x438968
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x43895c
lea eax, [ebp - 0x6f0]
jmp 0x438997
call fcn.00408ba3
int3

Function at 0x438c45
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004875da
call fcn.0040ccee
cmp dword [eax + 0x14], 0
jne 0x438c60
mov ecx, esi
pop esi
jmp fcn.00437f6a
pop esi
ret
Function at 0x442824
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x44283e
call fcn.0040cc9a
mov esi, dword [eax + 0xc]
push 0x581808
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x442894
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x442894
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x442873
xor esi, esi
jmp 0x442889
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.0044289d
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x442896
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4ed200
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4ed2b7
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4ed2b3
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4ed2b3
cmp dword [ebx], eax
jne 0x4ed2b3
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4ed282
sub eax, 1
je 0x4ed24d
sub eax, 1
jne 0x4ed2b3
mov edi, 0x428e
jmp 0x4ed287
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4ed287
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x57698c]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4ed287
add edi, 3
jmp 0x4ed287
mov edi, 0x3ea0
push edi
call fcn.0040b600
test eax, eax
je 0x4ed2b7
push edi
push eax
mov ecx, 0x5d6f78
call fcn.004063e0
test eax, eax
je 0x4ed2b7
mov eax, dword [0x5d6f78]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4ed2ac
call fcn.00408ba3
int3

Function at 0x4f70cc
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00553630
pop ecx
test eax, eax
jne 0x4f710e
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040d05a
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4f70d4
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x540b73
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x540b97
jl 0x540b8e
test esi, esi
jne 0x540b97
xor eax, eax
xor edx, edx
jmp 0x540c8e
cmp dword [edi + 0x38], 0
je 0x540bac
push ebx
push esi
push dword [ebp + 8]
call fcn.00540c95
jmp 0x540c8e
mov eax, dword [edi + 0x1c]
mov edx, esi
mov dword [ebp - 8], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x540bc1
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x540bc3
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
test eax, eax
je 0x540c04
cmp eax, esi
jb 0x540bd6
mov eax, esi
mov dword [ebp - 4], eax
push eax
push ecx
push dword [ebp + 8]
call fcn.00542a20
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp + 8]
sub edx, ecx
add eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], edx
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x540c0a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x540c82
mov ecx, edi
call fcn.005403be
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x540c5e
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.00553978
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x540c5a
cmp edx, eax
ja 0x540c27
jmp 0x540c61
sub esi, edx
jmp 0x540c87
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x540c85
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.00553978
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x540c85
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x55db6c
Capabilities:
Read file on windows

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

Function at 0x55f97d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055f4ca
Function at 0x476660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
jmp 0x47667a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x476681
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x476670
mov eax, 1
add ebx, ebx
jne 0x476693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4766a4
jne 0x4766c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4766c3
dec eax
add ebx, ebx
jne 0x4766b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x476688
add ebx, ebx
jne 0x4766bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x476715
xor ecx, ecx
sub eax, 3
jb 0x4766db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47674a
sar eax, 1
mov ebp, eax
jmp 0x4766e6
add ebx, ebx
jne 0x4766e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4766b4
inc ecx
add ebx, ebx
jne 0x4766f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4766b4
add ebx, ebx
jne 0x476701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4766f6
jne 0x476712
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4766f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x476734
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x476726
jmp 0x476676
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x476734
add edi, ecx
jmp 0x476676
pop esi
mov edi, esi
mov ecx, 0x4f1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x476752
cmp byte [edi], 0x8e
jne 0x476752
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x476757
lea edi, [esi + 0x74000]
mov eax, dword [edi]
or eax, eax
je 0x4767cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x84e94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x84fe0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x476784
mov ecx, edi
jns 0x4767b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x84fe8]
or eax, eax
je 0x4767c9
mov dword [ebx], eax
add ebx, 4
jmp 0x4767a1
call dword [esi + 0x84fe4]
mov ebp, dword [esi + 0x84fec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x476803
sub esp, 0xffffff80
jmp 0x405611
Function at 0x4010a0
Capabilities:
Set registry value

Disassembly:
push ecx
push 4
lea ecx, [esp + 4]
push ecx
push 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ecx
ret 4

Function at 0x403790
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp byte [edi + 0x41c], 0
push esi
jne 0x4037a2
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [edi + 0x420]
mov edx, dword [edi + 0x424]
mov edx, dword [edx + 0x28]
lea ecx, [eax + 8]
imul ecx, dword [esp + 0xc]
push 0
lea esi, [edi + 0x424]
lea eax, [ecx + eax + 0x10c]
push 0
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 4
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x434]
mov edx, dword [eax + 0x28]
push 0
lea esi, [edi + 0x434]
push 0
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push ebx
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
jbe 0x40383b
jmp 0x403830
xor byte [eax + ebx], 0x81
add eax, 1
cmp eax, ecx
jb 0x403830
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x40fca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40fcb9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40fcf4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40fcf0
lea ebx, [ebx]
cmp esi, eax
jae 0x40fcf4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40fce0
cmp esi, eax
jb 0x40fcfa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x415b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486a20]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea eax, [esp + 0x18]
push eax
call fcn.00415070
push esi
mov ecx, edi
mov dword [esp + 0x3c], 0
call fcn.0040fee0
lea ebx, [esi + 4]
push ebx
lea ecx, [edi + 4]
call fcn.0040fee0
lea ebp, [esi + 8]
push ebp
lea ecx, [edi + 8]
call fcn.0040fee0
mov ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x18]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x14]
push ecx
mov ecx, esi
mov dword [edi + 0x14], eax
call fcn.0040fee0
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.0040fee0
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call fcn.0040fee0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
lea esi, [esp + 0x18]
call fcn.00410190
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x41a050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468608
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486a20]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov ebp, vtable.CBitmap.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebx
call fcn.0042ae21
mov eax, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
push 0x2040
push ebx
push ebx
push ebx
push 0xac
push eax
call edi
push eax
lea ecx, [esp + 0x24]
call fcn.0042edb2
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
push ebx
push eax
mov eax, dword [esi + 0xd4]
push ecx
push edx
push eax
lea ecx, [esi + 0xb8]
call fcn.0043057a
push esi
lea ecx, [esp + 0x24]
call fcn.00419da0
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xbc]
push ecx
push eax
call fcn.0042ae21
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00416510
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
push ebx
push eax
mov eax, dword [esi + 0xd4]
push ecx
push edx
push eax
lea ecx, [esi + 0xc0]
call fcn.0043057a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x30], 1
call fcn.0042ae21
mov eax, dword [eax + 0xc]
push 0x2040
push ebx
push ebx
push ebx
push 0xad
push eax
call edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0042edb2
push esi
lea ecx, [esp + 0x1c]
call fcn.00419da0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc4]
push ecx
push eax
call fcn.0042ae21
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00416510
mov byte [esp + 0x30], bl
mov ebp, vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0042ee05
mov eax, dword [esi + 0xd0]
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xd8]
push ebx
push eax
mov eax, dword [esi + 0xd4]
push ecx
push edx
push eax
lea ecx, [esi + 0xc8]
call fcn.0043057a
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CBitmap.0
mov byte [esp + 0x30], 2
call fcn.0042ae21
mov eax, dword [eax + 0xc]
push 0x2040
push ebx
push ebx
push ebx
push 0xae
push eax
call edi
push eax
lea ecx, [esp + 0x1c]
call fcn.0042edb2
push esi
lea ecx, [esp + 0x1c]
call fcn.00419da0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0xcc]
push ecx
push esi
call fcn.0042ae21
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00416510
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0042ee05
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
call fcn.0042ee05
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x41c6b4
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 0x41c6fa
call fcn.0042ae21
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c6fa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41c73d
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 0x41c726
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 0x41c726
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c73a
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 0x41e198
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.0042ae21
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e1cf
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.0041ddba
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 0x41ee25
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x466494
call fcn.00451c88
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41ee4a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ee96
call fcn.0041e610
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a40
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041a4de
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401990
mov eax, esi
call fcn.00451d60
ret 8

Function at 0x42404d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x424086
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00424010
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004164b0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x425d8e
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 0x425dd1
call fcn.0042ae21
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x425dd1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425dec
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00425948
test ebx, ebx
mov esi, eax
je 0x425dea
test edi, edi
je 0x425dea
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x43b69a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.0042ae21
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x43b6c5
xor eax, eax
jmp 0x43b769
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x43b6be
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43b6be
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041a3ab
mov edi, eax
xor eax, eax
cmp word [esi + 6], ax
pop ecx
jbe 0x43b71a
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x43b709
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0043a458
push edi
mov ebx, eax
call fcn.0041a3d6
test ebx, ebx
pop ecx
je 0x43b75c
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0043aaf8
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0043abaa
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x43d63f
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 0x43d66d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43d68b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043d5a9
jmp 0x43d68b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43d68b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043d5a9
test edi, edi
mov eax, edi
jne 0x43d675
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4ac188]
test ecx, ecx
je 0x43d74e
jmp 0x43d63e
ret 8

Function at 0x450581
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x486a20]
jne 0x45058b
repz ret
jmp fcn.004561cf