joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120cd
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x612528
call fcn.0044c164
sub esp, 0x10
push ebx
push esi
push str.SoftwareAdobeAcrobat_Reader5.0
lea ecx, [ebp - 0x14]
call fcn.005f0629
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push 0x66d34c
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005f0850
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005f0850
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 2
push 0
push eax
push reloc.CoolType.dll_Ordinal_2
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.005f05bb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.005f05bb
test bl, bl
je 0x41216d
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x41216d
xor esi, esi
jmp 0x412170
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41218e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x61254c
call fcn.0044c164
sub esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
jne 0x4121b6
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004120cd
push 1
pop eax
jmp 0x412262
push ebx
push esi
push str.SoftwareAdobeAcrobat_Reader5.0
lea ecx, [ebp - 0x10]
call fcn.005f0629
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x66d34c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005f0850
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005f0850
mov eax, dword [eax]
lea ecx, [ebp + 0x14]
push ecx
push eax
push reloc.CoolType.dll_Ordinal_2
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ebx, eax
lea ecx, [ebp - 0x14]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.005f05bb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005f05bb
test bl, bl
je 0x412250
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x412250
push 1
pop esi
jmp 0x412252
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005f05bb
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x412270
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x612570
call fcn.0044c164
sub esp, 0x18
push ebx
push esi
push str.SoftwareAdobeAcrobat_Reader5.0
lea ecx, [ebp - 0x14]
call fcn.005f0629
lea eax, [ebp - 0x14]
push 0x66d34c
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.005f0850
push dword [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005f0850
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push eax
push reloc.CoolType.dll_Ordinal_2
mov byte [ebp - 4], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.005f05bb
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.005f05bb
cmp esi, ebx
jne 0x412319
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41231e
mov esi, dword [ebp + 0x10]
jmp 0x412321
mov esi, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4139da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
mov esi, 0x66e8fc
pop ebx
mov ecx, dword [esi - 0x1c]
test ecx, ecx
je 0x413b2c
mov eax, dword [esi]
test eax, eax
je 0x413a12
cmp eax, dword [ebp + 8]
jne 0x413b1e
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [esi - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x413b35
mov eax, dword [esi - 0x10]
dec eax
je 0x413ad4
dec eax
je 0x413ab2
dec eax
je 0x413a47
dec eax
je 0x413ab2
jmp 0x413b15
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [esi - 0x14]
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x413b12
cmp dword [ebp - 0xc], 3
jne 0x413b12
movzx eax, word [esi - 4]
cmp dword [ebp - 8], eax
jne 0x413b12
xor eax, eax
cmp dword [ebp - 8], eax
jbe 0x413b15
mov ecx, dword [esi - 8]
movzx edx, byte [ecx + eax]
movsx ebx, byte [ebp + eax - 0x110]
push 1
cmp ebx, edx
pop ebx
je 0x413aaa
mov dword [ebp - 4], ebx
inc eax
cmp eax, dword [ebp - 8]
jb 0x413a94
jmp 0x413b15
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [esi - 0x14]
push dword [ebp - 0x10]
call edi
jmp 0x413b0e
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [esi - 0x14]
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x413b12
cmp dword [ebp - 0xc], ebx
jne 0x413b12
lea eax, [ebp - 0x110]
push eax
push dword [esi - 0xc]
call fcn.0044c190
pop ecx
pop ecx
test eax, eax
je 0x413b15
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x20
cmp word [ebp - 4], 0
je 0x4139f8
mov ax, word [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
mov ax, bx
jmp 0x413b30
Function at 0x413b3a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, 0x66e8fc
xor ebx, ebx
mov ecx, dword [esi - 0x1c]
cmp ecx, ebx
je 0x413c32
mov eax, dword [esi]
cmp eax, ebx
je 0x413b6d
cmp eax, dword [ebp + 8]
jne 0x413c2a
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push dword [esi - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x413c32
mov eax, dword [esi - 0x10]
dec eax
je 0x413c08
dec eax
je 0x413bd5
dec eax
je 0x413bc9
dec eax
jne 0x413c21
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push dword [esi - 0xc]
push eax
call fcn.0044d095
lea eax, [ebp - 0x108]
push eax
call fcn.0044c220
add esp, 0x10
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
jmp 0x413c16
movzx eax, word [esi - 4]
push eax
push dword [esi - 8]
push 3
jmp 0x413c18
push dword [esi - 0xc]
call fcn.0045c773
push eax
mov dword [ebp - 8], eax
call fcn.0044c220
pop ecx
inc eax
pop ecx
push eax
push dword [ebp - 8]
push 1
push ebx
push dword [esi - 0x14]
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x413c21
push dword [ebp - 8]
call fcn.00593542
pop ecx
jmp 0x413c21
push dword [esi - 0xc]
call fcn.0044c220
pop ecx
inc eax
push eax
push dword [esi - 0xc]
push 1
push ebx
push dword [esi - 0x14]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x20
jmp 0x413b53
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413fe4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp word [ebp + 8], si
je 0x41404d
lea eax, [ebp + 8]
mov dword [ebp - 4], 0xa
push eax
push 0x20019
push esi
push dword [ebp + 0xc]
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41408a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push str.EditFlags
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41403e
cmp dword [ebp - 4], 2
jbe 0x414081
test byte [ebp - 0xe], 1
jne 0x414081
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 1
jmp 0x41408d
lea eax, [ebp + 8]
push eax
push 0x20006
push esi
push dword [ebp + 0xc]
push Ordinal_3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41408a
push 4
push 0x66f080
push 3
push esi
push str.EditFlags
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ax, ax
pop esi
leave
ret
Function at 0x41c787
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004739a5
push eax
call fcn.004b7488
pop ecx
pop ecx
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x41c7b2
mov eax, 0x40000001
jmp 0x41c841
cmp dword [ebp + 0x1c], 0
je 0x41c7c2
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x41c7a8
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x41c7ea
cmp dword [ebp + 0x14], ebx
je 0x41c7e6
push dword [ebp + 0x14]
call fcn.00593008
test eax, eax
pop ecx
jbe 0x41c7e6
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov ebx, eax
test ebx, ebx
je 0x41c7a8
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41c806
mov eax, 0x40000002
jmp 0x41c841
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [ebp + 0xc]
push eax
call fcn.0059acbb
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xbfffffff
add eax, 0x40000001
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x423c48
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x61301c
call fcn.0044c164
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00401000
test eax, eax
jne 0x423cf3
push str.acroct.ini
push 1
push str.BlendThruClip
push str.WinFntSvr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x423cf3
push 0x6714bc
push dword [ebp + 0x10]
call fcn.00593244
pop ecx
test eax, eax
pop ecx
jne 0x423cc4
push 4
push str.HP_Color_LaserJet
push dword [ebp + 0x10]
call fcn.00423c07
add esp, 0xc
test ax, ax
jne 0x423cc4
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xc
push dword [edi + 8]
call esi
cmp eax, 1
je 0x423ccd
jmp 0x423cf3
mov edi, dword [ebp + 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push dword [edi + 8]
call esi
cmp eax, 0x258
jge 0x423cfb
push 0xe
push dword [edi + 8]
call esi
cmp eax, 3
je 0x423cfb
push 0x18
push dword [edi + 8]
call esi
cmp eax, 8
je 0x423cfb
xor ax, ax
jmp 0x423db4
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00593582
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [eax], ecx
mov dword [ebp - 0x18], 0x593563
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x24
push dword [ebp + 8]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x54], 0x423dc9
mov dword [ebp - 0x48], 0x423f08
mov dword [ebp - 0x44], 0x423f13
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0050b9f7
add esp, 0xc
cmp dword [ebp - 0x24], esi
je 0x423da2
push dword [ebp - 0x24]
call fcn.004739a5
pop ecx
mov ebx, eax
xor edi, edi
cmp edi, ebx
jge 0x423d99
push edi
push dword [ebp - 0x24]
call fcn.0059b050
pop ecx
cmp eax, esi
pop ecx
je 0x423d96
push eax
call fcn.00593542
pop ecx
inc edi
jmp 0x423d7c
push dword [ebp - 0x24]
call fcn.0059b00e
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
push 0x32
pop eax
cmp eax, dword [ebp - 0x20]
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x424855
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax + 0x94]
call fcn.00603e5e
mov edi, dword [eax + 8]
push str.PSPROCSET
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
xor ebx, ebx
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x4248a3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4248a3
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
jne 0x4248cd
cmp dword [esi + 0xac], ebx
lea edi, [esi + 0xac]
jne 0x4248c0
push ebx
push ebx
push 0x474a
call fcn.0040fb3f
add esp, 0xc
push 1
pop eax
mov dword [edi], eax
mov dword [esi + 0xb0], eax
jmp 0x424933
lea eax, [edi + 6]
push eax
call fcn.0044e6f5
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x4248f1
push ebx
call fcn.0040fce6
pop ecx
mov dword [esi + 0xb0], 1
jmp 0x424933
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x42492a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp ax, bx
jle 0x424912
cmp ax, di
jle 0x424914
mov eax, edi
movsx eax, ax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xa8]
call dword [ebp + 0x10]
add esp, 0x10
push dword [ebp + 8]
call fcn.0044dbbe
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42a35c
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x6ae22c], ebx
push esi
push edi
mov edi, 0xff
jne 0x42a3bd
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push ebx
push ebx
call esi
cmp eax, 0xa
jle 0x42a388
push dword [0x6ae22c]
push ebx
call esi
jmp 0x42a38b
push 0xa
pop eax
cmp eax, ebx
mov dword [0x6ae230], eax
je 0x42a3b5
shl eax, 2
push eax
call fcn.0059347c
cmp eax, ebx
pop ecx
mov dword [0x6ae22c], eax
je 0x42a406
push eax
push dword [0x6ae230]
call esi
mov dword [0x6ae230], eax
cmp dword [0x6ae22c], ebx
je 0x42a406
cmp dword [0x6ae230], ebx
je 0x42a406
xor esi, esi
cmp esi, dword [0x6ae230]
jae 0x42a3ff
mov eax, dword [0x6ae22c]
push dword [eax + esi*4]
call fcn.004076f2
test al, al
pop ecx
jne 0x42a3f7
mov eax, dword [0x6ae22c]
push dword [eax + esi*4]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_VkKeyScanExA]
movzx di, al
inc esi
cmp di, 0xff
je 0x42a3c7
cmp di, 0xff
jne 0x42a40c
or ax, 0xffff
jmp 0x42a40f
mov ax, di
pop edi
pop esi
pop ebx
ret

Function at 0x42b19e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 8], edi
je 0x42b278
push ebx
push esi
push dword [ebp + 8]
call fcn.00575efa
mov esi, eax
pop ecx
cmp dword [esi + 0x90], edi
jne 0x42b1ce
mov dword [ebp - 8], 1
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push dword [esi + 4]
call edi
mov ebx, eax
inc ebx
lea eax, [ebx + 1]
push eax
call fcn.0059347c
pop ecx
mov dword [ebp - 4], eax
push eax
push ebx
push 0xd
push dword [esi + 4]
call edi
mov ebx, dword [ebp + 0xc]
lea eax, [esi + 0x90]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
movzx eax, bl
push eax
movzx eax, byte [esi + 0x89]
push eax
call fcn.0047b464
add esp, 0x14
push 0
push 0
push 0xb0
push dword [esi + 4]
call edi
push dword [ebp - 4]
mov dword [ebp + 0xc], eax
push 0
push dword [ebp + 8]
call fcn.004620fb
push dword [ebp - 4]
call fcn.00593542
push 1
push ebx
push dword [ebp + 8]
call fcn.0042b02a
add esp, 0x1c
mov byte [esi + 0x89], bl
mov ebx, 0xb1
push 0
push 0
push ebx
push dword [esi + 4]
call edi
mov eax, dword [ebp + 0xc]
shr eax, 0x10
push eax
movzx eax, word [ebp + 0xc]
push eax
push ebx
push dword [esi + 4]
call edi
pop esi
pop ebx
pop edi
leave
ret
Function at 0x42b27b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push edi
push ebx
push ebx
push 0xe
push dword [eax + 4]
call esi
mov dword [ebp - 0xc], eax
inc eax
push eax
mov dword [ebp - 0x10], eax
call fcn.0059347c
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x42b37e
mov ecx, dword [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
add ecx, eax
mov eax, dword [ebp + 8]
push 0xd
xor edi, edi
push dword [eax + 4]
mov dword [ebp - 0xc], ecx
call esi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x42b375
mov ecx, dword [ebp - 4]
mov al, byte [ecx]
cmp al, 0x28
jne 0x42b2e7
mov edi, ecx
xor ebx, ebx
jmp 0x42b307
cmp al, 0x29
jne 0x42b2f3
test edi, edi
je 0x42b307
mov ebx, ecx
jmp 0x42b307
push eax
call fcn.00593399
test ax, ax
pop ecx
jne 0x42b307
test ebx, ebx
je 0x42b307
xor ebx, ebx
xor edi, edi
push dword [ebp - 4]
call fcn.004ec3fc
pop ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x42b320
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 1]
jmp 0x42b323
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jb 0x42b2d8
test edi, edi
je 0x42b375
test ebx, ebx
je 0x42b375
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
sub ebx, dword [ebp - 8]
sub edi, dword [ebp - 8]
shl eax, 0x10
or eax, ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
push eax
push 0
push 0xd7
push dword [ebx + 4]
inc edi
call esi
movzx eax, ax
cmp eax, edi
jl 0x42b375
cmp eax, dword [ebp - 0xc]
jg 0x42b375
push dword [ebp - 0xc]
push edi
push 0xb1
push dword [ebx + 4]
jmp 0x42b38d
push dword [ebp - 8]
call fcn.00593542
pop ecx
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [eax + 4]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b4eb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
cmp word [esi + 0x5c], bx
je 0x42b651
cmp word [esi + 0x5a], bx
jne 0x42b651
lea eax, [ebp - 0x28]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xe
push dword [esi + 4]
call edi
test eax, eax
mov dword [ebp - 0xc], eax
je 0x42b53f
push ebx
push ebx
push 0xd6
push dword [esi + 4]
call edi
movsx ebx, ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], ebx
test eax, eax
je 0x42b605
inc eax
push eax
call fcn.0059347c
test eax, eax
pop ecx
mov dword [ebp - 4], eax
je 0x42b605
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
test eax, eax
mov dword [ebp + 8], eax
je 0x42b5fc
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
inc eax
push eax
push 0xd
push dword [esi + 4]
call edi
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add eax, ebx
push dword [ebp + 8]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
test ebx, ebx
jge 0x42b5fc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
sub eax, dword [ebp - 0x28]
sub ecx, ebx
cmp ecx, eax
jg 0x42b5fc
push dword [ebp - 4]
xor ebx, ebx
push ebx
push 0xc
push dword [esi + 4]
call edi
push ebx
push ebx
push 0xd6
push dword [esi + 4]
call edi
movsx ebx, ax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov dword [ebp - 8], eax
push dword [ebp - 4]
call fcn.00593542
pop ecx
and dword [ebp + 8], 0
test ebx, ebx
jl 0x42b62a
mov ecx, dword [ebp - 8]
test ecx, ecx
jl 0x42b62a
mov eax, dword [ebp - 0x20]
sub ecx, ebx
sub eax, dword [ebp - 0x28]
cmp ecx, eax
jge 0x42b62a
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 8], eax
push 0
push 0
push 0xd4
push dword [esi + 4]
call edi
movzx eax, ax
cmp dword [ebp + 8], eax
je 0x42b651
movzx eax, word [ebp + 8]
push eax
push 1
push 0xd3
push dword [esi + 4]
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42bee5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x42befb
push eax
call fcn.00593542
pop ecx
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xe
push dword [esi + 4]
call edi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.0059347c
pop ecx
mov dword [esi + 0x8c], eax
push eax
push ebx
push 0xd
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x8c]
add esi, 0x90
pop edi
and byte [ebx + eax], 0
mov al, byte [esp + 0x10]
and word [esi + 4], 0
mov byte [esi - 8], al
mov byte [esi - 7], al
mov eax, dword [esi]
test eax, eax
pop ebx
je 0x42bf57
push eax
call fcn.00593542
pop ecx
and dword [esi], 0
pop esi
ret
Function at 0x431ec7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push edi
push eax
push dword [esi]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x431fa9
push edi
call fcn.0059347c
test eax, eax
pop ecx
mov dword [0x6ae260], eax
je 0x431fa9
push eax
push edi
push 0
push dword [esi]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push str.VarFileInfoTranslation
push dword [0x6ae260]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x431f87
mov eax, dword [ebp + 8]
push dword [0x671df4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x671f58
lea eax, [ebp - 0x80]
push str._s_04x_04x_s
push eax
call fcn.0044d095
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [0x6ae260]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x431f87
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call fcn.0043e3a7
lea eax, [ebp - 0x30]
push eax
call fcn.0044c220
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
jmp 0x431f95
mov edi, 0x6ae264
push edi
call fcn.0044c220
pop ecx
push eax
push edi
lea ecx, [esi + 0x2c]
call fcn.0043248e
push dword [0x6ae260]
call fcn.00593542
pop ecx
pop edi
pop esi
leave
ret 4