joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499e54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0049b3b8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x499e84
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x170]
jmp 0x499e87
mov ebx, dword [ebp - 0x10]
push 2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4a8288]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x14], eax
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
mov eax, dword [0x4a8288]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x499f1f
mov dword [ebp - 0x48], 0x28
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x4a81bc]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_DrawEdge
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
sub ecx, edx
sar ecx, 1
jns 0x499ef9
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
sar edx, 1
jns 0x499f0b
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 0x10]
call fcn.0048dc24
mov dword [ebp - 0x20], eax
call fcn.0048da78
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.004987f0
test al, al
je 0x499f44
or esi, 0x100000
xor ecx, ecx
push ebp
push 0x499fcb
push dword fs:[ecx]
mov dword fs:[ecx], esp
push esi
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call sub.user32.dll_GetCursorPos
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499fd2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x499fb1
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
sub ecx, edx
sar ecx, 1
jns 0x499f8b
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
sub edx, eax
sar edx, 1
jns 0x499f9d
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebp - 0x20]
call fcn.0048dce8
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetMessageExtraInfo
mov eax, dword [ebp - 0x1c]
call fcn.0048da80
ret
Function at 0x49a858
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_FillRect
cmp eax, 1
sbb eax, eax
inc eax
cmp al, byte [0x4a7e44]
jne 0x49a8f2
cmp bl, byte [0x4a7e44]
je 0x49a8f2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd3], 0
je 0x49a8c4
cmp byte [0x4a7e44], 0
jne 0x49a8c4
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 0x170]
push esi
call sub.user32.dll_DispatchMessageW
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp + 8]
push esi
call sub.user32.dll_GetWindowPlacement
movzx eax, bl
movzx eax, word [eax*2 + 0x4a7e48]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov byte [0x4a7e44], bl
pop esi
pop ebx
pop ebp
ret

Function at 0x49c5b4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406d38
mov eax, dword [ebp - 8]
call fcn.00406d38
xor eax, eax
push ebp
push 0x49c6a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49c62e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004074b0
mov eax, dword [ebp - 0xc]
call fcn.004118b4
test al, al
je 0x49c624
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004074b0
mov eax, dword [ebp - 0x10]
call fcn.00407320
push eax
call sub.KERNEL32.DLL_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c63f
mov dl, 1
mov eax, dword [0x4266c4]
call fcn.00432328
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004074b0
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004074b0
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, ebx
call fcn.0040532c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c6ad
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040728c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004065f8
ret
Function at 0x49e67c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], esp
mov eax, dword [ebp - 8]
inc eax
shl eax, 2
sub esp, eax
lea eax, [ebp - 0xc]
mov dword [eax], esp
mov eax, ebx
call fcn.00411c90
mov esi, eax
push 0
push 0
push esi
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, eax
add eax, 3
and eax, 0xfffffffc
sub esp, eax
lea eax, [ebp - 0x14]
mov dword [eax], esp
test edi, edi
jne 0x49e6e3
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
jmp 0x49e6f1
mov eax, dword [ebp - 8]
sub eax, edi
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edx + eax*4], ecx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push esi
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov word [eax + edx*2 - 2], 0
inc esi
add ebx, esi
inc edi
cmp edi, dword [ebp - 8]
jne 0x49e6a4
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CompareStringW
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4a826c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
cmp eax, 0x80020006
jne 0x49e74e
push ebp
call fcn.0049e648
pop ecx
jmp 0x49e753
call fcn.0049def0
mov esp, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x49f100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040727c
mov eax, dword [ebp - 8]
call fcn.0040727c
xor eax, eax
push ebp
push 0x49f221
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407320
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x49f1fa
mov eax, dword [ebp - 0x14]
call fcn.00404200
mov esi, eax
push esi
mov eax, dword [ebp - 0x14]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x49f234
push esi
call sub.version.dll_VerQueryValueW
cmp dword [ebp - 0x18], 0
je 0x49f1ee
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 2]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x49f274
call fcn.0041217c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00407320
push eax
push esi
call sub.version.dll_VerQueryValueW
cmp dword [ebp - 0x1c], 0
je 0x49f1ee
mov ecx, dword [ebp - 0x1c]
dec ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.004073d0
mov bl, 1
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00404234
jmp 0x49f206
mov eax, dword [0x4a8370]
mov eax, dword [eax]
call fcn.00499d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f228
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040728c
ret
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
cmpsd dword [esi], dword es:[edi]
mov cl, 1
sal edi, cl
fadd dword [ebp - 0x73c60dac]
invalid

Function at 0x40d609
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d661
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x41086c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d654
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40d663
xor eax, eax
pop esi
leave
ret 4
Function at 0x4116a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4116b2
push 0xd
pop eax
jmp 0x4116e4
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4116bb
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x4116e9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x4116fc
push 0xd
pop eax
jmp 0x411740
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x41170f
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x411707
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411c8d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5ee10c]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [esp + 0x10]
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
xor edi, edi
or eax, 0x2001f
mov dword [esp + 0x10], edi
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
call fcn.00403182
mov esi, eax
test esi, esi
jne 0x411d4d
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x411d25
lea eax, [esp + 0x28]
push eax
call fcn.00411c8d
mov esi, eax
test esi, esi
jne 0x411d4d
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
lea ecx, [esp + 0x10]
test eax, eax
je 0x411d00
call fcn.004031fc
push dword [esp + 0xc]
mov ecx, ebx
call fcn.00411e0e
mov esi, eax
lea ecx, [esp + 0x10]
call fcn.004031fc
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00531192
mov esp, ebp
pop ebp
ret 4
Function at 0x4127fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x57d05e
call fcn.00531cf1
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], esi
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], esi
push esi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
call fcn.0054ae60
add esp, 0xc
mov dword [ebp - 0x424], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x412884
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x412884
call fcn.00411077
mov esi, eax
jmp 0x412985
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4128a7
call fcn.00411077
jmp 0x412978
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x41289d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x4128da
mov esi, 0x8007000e
jmp 0x41297a
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0041177a
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x4128fd
push eax
lea ecx, [ebp - 0x424]
call fcn.00411052
jmp 0x41292a
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x41292a
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
je 0x4128d0
push ebx
push dword [ebp - 0x424]
push ebx
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x41289d
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004126a4
mov esi, eax
test edi, edi
je 0x412985
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x41299e
lea ecx, [ebp - 0x424]
call fcn.0041103d
mov eax, esi
call fcn.00531c3e
ret 0x10
Function at 0x412bd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5ee10c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412c4b
cmp dword [ebp - 8], 1
je 0x412c23
cmp dword [ebp - 8], 2
je 0x412c23
push 0xd
pop eax
jmp 0x412c4b
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x412c45
test ecx, ecx
je 0x412c40
test cl, 1
jne 0x412c1e
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x412c45
jmp 0x412c1e
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531192
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41af05
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x57d6a4
call fcn.00531c83
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 0x41af33
call fcn.0041561f
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x41af2e
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x41af7b
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00555458
push eax
call fcn.00403082
add esp, 0x14
push ebx
push edi
call fcn.0041aed8
xor eax, eax
jmp 0x41b09e
cmp eax, 0x104
jb 0x41af98
test edi, edi
je 0x41af74
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00415e70
jmp 0x41af74
call fcn.00417f76
push eax
lea ecx, [ebp - 0x26c]
call fcn.00413ed1
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.0041a88f
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x41b093
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 0x41b003
push ebx
push edi
call fcn.0041aed8
lea ecx, [esi - 0x10]
call fcn.0041447f
jmp 0x41af74
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x41b01f
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x41b093
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41b093
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41afef
cmp eax, dword [ebp - 0x264]
jbe 0x41afef
lea eax, [ebp - 0x234]
push eax
call fcn.0055b73b
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 0x41b0a6
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.00554717
push eax
call fcn.00403082
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.0041447f
xor eax, eax
inc eax
call fcn.00531c2d
ret 0xc
test edi, edi
je 0x41aff6
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00415e70
jmp 0x41aff6

Function at 0x41e6ed
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 0x41e732
call fcn.0041789d
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e732
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41e74e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00426ed7
mov ebx, eax
test edi, edi
je 0x41e74c
test esi, esi
je 0x41e74c
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 0x41f02d
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 0x41f0eb
cmp dword [esi + 0x20], 0
je 0x41f0eb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41f0eb
cmp dword [ebp + 8], 0
je 0x41f0eb
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0041789d
push 0x590a20
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 0x41f0bc
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 0x41f0eb
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.00427abf
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41f0dc
test edi, edi
je 0x41f0dc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41f0e7
mov ecx, esi
call fcn.0041ee1f
mov eax, ebx
jmp 0x41f0ed
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422f5a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x580513
call fcn.00531c4f
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x422f80
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x422fd4
call fcn.00417f76
push eax
lea ecx, [ebp - 0x10]
call fcn.00413ed1
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.00555458
push eax
call fcn.00403082
add esp, 0x14
test edi, edi
je 0x422fc7
push edi
call fcn.0055b73b
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0041447f
mov eax, esi
call fcn.00531c18
ret 8
Function at 0x4236c6
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.00422ee9
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 0x423702
call fcn.004238e5
mov dword [esi + 0xc], 1
jmp 0x423707
call fcn.004238e5
cmp dword [esi], 0
je 0x423750
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42372a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00417d84
jmp 0x42373b
push 0xff
mov ecx, esi
call fcn.0041442f
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00417da7
jmp 0x423774
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 0x423774
push dword [esi]
push dword [ebp - 4]
call fcn.0041bb0e
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42383a
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.004238e5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x423882
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00417d84
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00417da7
jmp 0x42388d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041bb0e
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4280c3
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 0x4280ee
cmp dword [ebx + 0x80], 0
jne 0x4280ee
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0041789d
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.0042835b
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 0x428128
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.0041789d
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 0x42815f
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.00428180
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