joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0xbda54a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbda551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xbdb8af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0xbf854c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0xbf854c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0xbf7378]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbdb8b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x10002600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002615
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002656
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10002652
nop word [eax + eax]
cmp esi, edx
jae 0x10002656
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10002640
cmp esi, edx
jb 0x1000265b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x100064d0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f203
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.10123880
mov eax, dword [0x1019bfec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2020], edx
mov dword [ebp - 0x2028], ebx
cmp dword [ecx + 0x58], ebx
je 0x10006607
push ebx
push eax
call fcn.10006656
mov ebx, eax
test ebx, ebx
jne 0x10006538
push esi
jmp 0x1000662f
call fcn.100051d1
push eax
lea ecx, [ebp - 0x2014]
call fcn.100025d0
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x201c]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x2024], eax
test eax, eax
jne 0x100065c6
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.10002a30
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x201c]
push eax
push 0
push dword [ebp - 0x2020]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x2024], eax
call fcn.10004eb0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2024], 0
jne 0x100065f4
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.10003703
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.100028d0
jmp 0x10006636
push esi
mov ecx, edi
call fcn.10002ce0
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x100065ed
test esi, esi
jne 0x10006610
mov esi, 0x1014dc14
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.10002ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10122e96
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10006d49
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x1013f295
call fcn.101237d7
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x234], edi
call fcn.10006cd2
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x10006d9d
lea eax, [ebp - 0x22c]
mov ecx, esi
push eax
call fcn.10006ce1
test eax, eax
je 0x10006d95
mov edx, dword [eax]
mov ecx, eax
push edi
push edi
push 0xfffffffffffffffc
push edi
call dword [edx + 0xc]
cmp dword [ebp - 0x22c], edi
jne 0x10006d77
cmp dword [esi + 0x58], edi
je 0x10006eb8
xor eax, eax
cmp dword [esi + 0x6c], edi
setne al
test eax, eax
jne 0x10006db7
call fcn.10004bf5
push str.Software_
lea ecx, [ebp - 0x220]
call fcn.10002ce0
push dword [esi + 0x58]
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], edi
call fcn.100035c6
push 0x1014e5ec
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.100069e9
push dword [esi + 0x6c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.100069e9
add esp, 0x18
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.100028d0
push edi
lea eax, [ebp - 0x228]
mov esi, SysReAllocStringLen
push eax
push esi
call fcn.10006aac
lea eax, [ebp - 0x224]
push eax
push 8
push edi
push dword [ebp - 0x220]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006e81
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x10006e75
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.10006aac
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x228]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.100028d0
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.100028d0
xor eax, eax
inc eax
call fcn.10123781
ret
Function at 0x1000bc40
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x438
mov eax, 0x1013f657
call fcn.101237d7
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x42c], ebx
call fcn.1000827c
push ebx
mov ecx, dword [eax + 4]
call fcn.10006217
mov esi, eax
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x424]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x438]
push dword [eax]
push esi
call fcn.1000b887
mov ecx, dword [ebp - 0x424]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.100028d0
add bl, 1
je 0x1000bde2
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov esi, ebx
call fcn.10125f90
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1000bd9e
push 0x208
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], 0x104
push 0
push eax
inc esi
call fcn.10125f90
add esp, 0xc
mov dword [ebp - 0x428], 0x104
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000bbcd
test eax, eax
jne 0x1000bd89
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 4]
call fcn.1000a9a3
lea ecx, [ebp - 0x420]
push ecx
mov ecx, eax
call fcn.10002ca0
mov dword [ebp - 0x42c], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x438]
call ebx
test eax, eax
je 0x1000bd13
lea ecx, [ebp - 0x438]
call fcn.100061fd
mov eax, dword [edi]
lea ecx, [ebp - 0x428]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x444]
push dword [eax]
call fcn.1000b116
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.100028d0
lea ecx, [ebp - 0x438]
call fcn.100061fd
lea ecx, [ebp - 0x444]
call fcn.100061fd
mov eax, dword [ebp - 0x42c]
call fcn.10123781
ret

Function at 0x100114b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x100114f6
call fcn.1000827c
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100114f6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10011512
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001add7
mov ebx, eax
test edi, edi
je 0x10011510
test esi, esi
je 0x10011510
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10011e57
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10011f15
cmp dword [esi + 0x20], 0
je 0x10011f15
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10011f15
cmp dword [ebp + 8], 0
je 0x10011f15
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.1000827c
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011ee6
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10011f15
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1001b97a
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x10011f06
test edi, edi
je 0x10011f06
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x10011f11
mov ecx, esi
call fcn.10011c21
mov eax, ebx
jmp 0x10011f17
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10015dcd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101424f6
call fcn.101237a3
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x10015df3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10015e47
call fcn.100051d1
push eax
lea ecx, [ebp - 0x10]
call fcn.100025d0
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1012adaf
push eax
call fcn.100026a0
add esp, 0x14
test edi, edi
je 0x10015e3a
push edi
call fcn.101291d2
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100028d0
mov eax, esi
call fcn.1012376c
ret 8
Function at 0x10016ac7
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x1013fd24
call fcn.101237d7
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x264], esi
test eax, eax
jne 0x10016af5
call fcn.10004bf5
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x10016af0
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x10016b3d
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.1012adaf
push eax
call fcn.100026a0
add esp, 0x14
push ebx
push edi
call fcn.10016a9a
xor eax, eax
jmp 0x10016c60
cmp eax, 0x104
jb 0x10016b5a
test edi, edi
je 0x10016b36
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.10002ca0
jmp 0x10016b36
call fcn.100051d1
push eax
lea ecx, [ebp - 0x26c]
call fcn.100025d0
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.10016451
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x10016c55
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x10016bc5
push ebx
push edi
call fcn.10016a9a
lea ecx, [esi - 0x10]
call fcn.100028d0
jmp 0x10016b36
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x10016be1
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x10016c55
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x10016c55
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x10016bb1
cmp eax, dword [ebp - 0x264]
jbe 0x10016bb1
lea eax, [ebp - 0x234]
push eax
call fcn.101291d2
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x10016c68
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.1012ac7e
push eax
call fcn.100026a0
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.100028d0
xor eax, eax
inc eax
call fcn.10123781
ret 0xc
test edi, edi
je 0x10016bb8
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.10002ca0
jmp 0x10016bb8
Function at 0x1001a932
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10015d5c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1001a96e
call fcn.1001ab51
mov dword [esi + 0xc], 1
jmp 0x1001a973
call fcn.1001ab51
cmp dword [esi], 0
je 0x1001a9bc
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1001a996
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10004e8d
jmp 0x1001a9a7
push 0xff
mov ecx, esi
call fcn.10002a30
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10004eb0
jmp 0x1001a9e0
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1001a9e0
push dword [esi]
push dword [ebp - 4]
call fcn.1000a18d
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001aaa6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1001ab51
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1001aaee
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10004e8d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10004eb0
jmp 0x1001aaf9
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000a18d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1001bf86
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001bfb1
cmp dword [ebx + 0x80], 0
jne 0x1001bfb1
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.1000827c
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1001c21e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1001bfeb
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 esi, esi
call fcn.1000827c
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001c022
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1001c043
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001c2fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x10140148
call fcn.1012380e
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
call fcn.1000827c
xor ebx, ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [esi + 0x84], ebx
je 0x1001c359
call fcn.1000827c
push 5
push dword [esi + 0x84]
mov edi, dword [eax + 0xc]
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x1001c369
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
jmp 0x1001c36c
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1001c378
or eax, 0xffffffff
jmp 0x1001c4c0
mov ecx, esi
call fcn.1001c891
mov edi, eax
mov dword [ebp - 0x30], edi
call fcn.10010395
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
test edi, edi
je 0x1001c3f0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x1001c3f0
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001c3f0
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.1000349d
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1001c3f0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x150]
test eax, eax
je 0x1001c3f0
mov ecx, dword [ebp - 0x18]
call fcn.10015e82
test eax, eax
je 0x1001c3f0
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.10015ce8
mov dword [ebp - 0x28], 1
push esi
mov dword [ebp - 4], ebx
call fcn.1001004e
push edi
call fcn.1001151b
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.1001c29b
test eax, eax
jne 0x1001c438
cmp dword [esi + 0x9c], ebx
jne 0x1001c438
call fcn.1000827c
push edi
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.1001151b
push dword [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp - 0x14]
call fcn.1001c29b
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x9c], ebx
jmp 0x1001c469
cmp dword [ebp - 0x28], 0
je 0x1001c479
mov ecx, dword [ebp - 0x18]
push 1
call fcn.10015ce8
cmp dword [ebp - 0x2c], 0
je 0x1001c488
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
je 0x1001c49e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x1001c49e
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.1001c848
cmp dword [esi + 0x84], ebx
je 0x1001c4bd
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x68]
call fcn.1012376c
ret