joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da27e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x4da417
push esi
push 0x50
xor esi, esi
add eax, 0x7268
push esi
push eax
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x10c], esi
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push esi
push str.SoftwareAnVirResizeWindow
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x10c], esi
je 0x4da416
test eax, eax
jne 0x4da416
push edi
xor edi, edi
mov esi, 0x7290
inc edi
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004f1a90
xor eax, eax
mov dword [ebp - 0x108], 4
push edi
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x104]
push str._dWidth
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4da3f9
cmp dword [ebp - 0x108], 4
jne 0x4da3f9
cmp dword [ebp - 0x110], eax
je 0x4da3f9
push edi
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], 4
push str._dHeight
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4da3f9
cmp dword [ebp - 0x108], 4
jne 0x4da3f9
cmp dword [ebp - 0x114], eax
je 0x4da3f9
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebp - 0x110]
mov dword [esi + ecx - 0x28], eax
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebp - 0x114]
mov dword [esi + ecx], eax
add esi, 4
inc edi
cmp esi, 0x72b4
jle 0x4da2f3
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x4dd0bd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call fcn.004dd275
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov dword [ebp - 0x204], eax
cmp eax, edx
je 0x4dd115
cmp dword [eax + 0x14], 0
je 0x4dd0f7
push dword [eax + 0x10]
mov ecx, edi
call fcn.004dcd5a
push ecx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x204]
call fcn.0040fc9f
mov eax, dword [ebp - 0x204]
cmp eax, dword [edi + 4]
jne 0x4dd0e7
mov eax, dword [0xd58f54]
test eax, eax
je 0x4dd121
add eax, 0x5c
cmp dword [eax + 0x2f8], 0
je 0x4dd1dc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, dword [0xd5c580]
call ebx
sub eax, esi
cmp eax, 0x1b7740
jbe 0x4dd1da
call ebx
mov ecx, dword [edi + 4]
mov dword [0xd5c580], eax
mov eax, dword [ecx]
mov dword [ebp - 0x204], eax
cmp eax, ecx
je 0x4dd1da
mov ebx, 0x1f8
mov esi, dword [eax + 0x14]
test esi, esi
je 0x4dd1bc
push ebx
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x200], ebx
push 0
push eax
call fcn.004f1a90
mov eax, dword [edi + 0xc]
add esp, 0xc
and dword [ebp - 0x168], 0
xor ecx, ecx
mov dword [ebp - 0x1fc], eax
inc ecx
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1f8], esi
push eax
push ecx
mov dword [ebp - 0x1f4], 8
mov dword [ebp - 0x164], ecx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push ecx
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x204]
call fcn.0040fc9f
mov eax, dword [ebp - 0x204]
cmp eax, dword [edi + 4]
jne 0x4dd166
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x4dd425
Capabilities:
Get graphical window text

Disassembly:
push 0xdc
mov eax, 0x5161a5
call fcn.005060cc
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xb0]
mov esi, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], eax
call fcn.0046db62
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa4]
push str.Progman
call fcn.004094e6
xor ebx, ebx
lea ecx, [ebp - 0xa0]
inc ebx
push str.32768
mov byte [ebp - 4], bl
call fcn.004094e6
push str.tooltips_class32
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.004094e6
push str.32774
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004094e6
push str.PopupTipWndClass
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.004094e6
push 5
lea edx, [ebp - 0xa4]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.00479e93
pop ecx
test eax, eax
jne 0x4dd5f0
lea edi, [ebx + 0x7f]
push edi
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x90]
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
push esi
call edi
test eax, eax
jne 0x4dd522
push 0x80
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0xa8]
call edi
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0xa8]
push dword [ebp - 0xb4]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
push ecx
lea eax, [ebp - 0xc0]
mov ecx, 0xd5af9c
push eax
call fcn.00482c57
push dword [ebp - 0xb4]
lea eax, [ebp - 0xac]
push eax
push ecx
lea eax, [ebp - 0xc0]
push eax
call fcn.004de384
push esi
cmp dword [ebp - 0xac], esi
jne 0x4dd58f
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
jmp 0x4dd5a9
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
jne 0x4dd5a9
push dword [ebp - 0xac]
call edi
test eax, eax
jne 0x4dd5a9
xor ebx, ebx
push ebx
push dword [ebp - 0xa8]
lea eax, [ebp - 0x90]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xe8]
push esi
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push eax
call fcn.004d5e12
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb4]
push eax
call fcn.004ddb3c
lea ecx, [ebp - 0xe8]
call fcn.00426c6e
push fcn.0040981b
push 5
push 4
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0
push eax
call fcn.004f046e
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4dd62a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00506076
ret
Function at 0x4dd88b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, ecx
call dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [0xd5a7fc], eax
mov eax, dword [edi + 8]
sub eax, dword [edi]
push 0x28
cdq
pop ecx
idiv ecx
cmp eax, 0xa
jae 0x4dd8bc
push ecx
mov ecx, edi
call fcn.004ddd53
mov eax, dword [0xd5af90]
mov ecx, 0xd5af9c
mov dword [0xd5af94], eax
call fcn.00482801
call fcn.004dd9eb
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push 0
push 0x4dd630
call ebx
mov esi, dword [0xd5af90]
mov eax, dword [0xd5af94]
cmp esi, eax
je 0x4dd91e
mov ebx, dword [ebp - 4]
cmp dword [esi], 0
je 0x4dd911
push dword [esi + 8]
mov edx, ebx
mov ecx, edi
push dword [esi + 4]
call fcn.004dd425
mov eax, dword [0xd5af94]
pop ecx
pop ecx
add esi, 0xc
cmp esi, eax
jne 0x4dd8f6
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x4dd759
mov dword [ebp - 0xc], edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4df1c2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0xd5b274]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
push edi
inc ebx
xor edi, edi
test ecx, ecx
jne 0x4df235
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], ebx
push edi
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call esi
imul eax, dword [ebp - 0x94], 0xa
mov ecx, dword [0xd5b274]
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x4df23a
mov eax, dword [0xd5b270]
cmp eax, 0x33
je 0x4df291
test ecx, ecx
jne 0x4df283
push 0x90
lea eax, [ebp - 0x128]
mov dword [0xd5b274], ebx
push edi
push eax
mov dword [ebp - 0x12c], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
call esi
imul eax, dword [ebp - 0x128], 0xa
add eax, dword [ebp - 0x124]
mov dword [0xd5b270], eax
cmp eax, 0x34
jne 0x4df2e9
call fcn.00426920
test eax, eax
je 0x4df2e9
cmp dword [0xd519f8], edi
jne 0x4df2bf
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.ThreadUpdateDiskSizeIcons
push 0xfffffffffffffffe
push edi
push 0x4df157
mov ecx, 0xd519f4
mov dword [0xd50704], eax
call fcn.0040b21e
mov esi, dword [0xd5c584]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, esi
cmp eax, 0x5208
jb 0x4df2e9
call edi
push dword [0xd50704]
mov dword [0xd5c584], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x4dfafb
Capabilities:
Get disk information via ioctl

Disassembly:
push 0x1c
mov eax, 0x5164d8
call fcn.005060cc
mov esi, ecx
test esi, esi
je 0x4dfbdf
cmp byte [esi + 1], 0x3a
jne 0x4dfbdf
cmp byte [esi + 2], 0
jne 0x4dfbdf
push 0xa42dd4
lea ecx, [ebp - 0x28]
call fcn.004094e6
xor ebx, ebx
lea ecx, [ebp - 0x24]
push esi
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.00405cb9
pop ecx
push ebx
push ebx
push 3
push ebx
push 7
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
jne 0x4dfb67
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
jmp 0x4dfba6
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ecx, ecx
push ecx
mov dword [ebp - 0x20], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4dfb98
test esi, esi
je 0x4dfb63
push esi
jmp 0x4dfb5d
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x4dfba6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4dfbc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4dfbdb
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x4dfbe2
or eax, 0xffffffff
call fcn.00506076
ret
Function at 0x4e0556
Capabilities:
Get disk information

Disassembly:
push 0x408
mov eax, 0x516616
call fcn.005060cc
and dword [ebp - 4], 0
xor ebx, ebx
mov eax, dword fs:[0x2c]
or edi, 0xffffffff
inc ebx
mov ecx, dword [eax]
mov eax, dword [0xd5cc40]
cmp eax, dword [ecx + 4]
jle 0x4e05c9
mov esi, 0xd5cc40
push esi
call fcn.004efe9f
pop ecx
cmp dword [0xd5cc40], edi
jne 0x4e05c9
mov byte [ebp - 4], bl
and dword [0xd5cc44], 0
and dword [0xd5cc48], 0
call fcn.0040fcf5
push 0x51887c
mov dword [0xd5cc44], eax
call fcn.004f0205
push esi
mov byte [ebp - 4], 0
call fcn.004efe55
pop ecx
pop ecx
lea eax, [ebp + 8]
mov ecx, 0xd5cc44
push eax
call fcn.0041aca5
test eax, eax
jne 0x4e06ad
mov esi, 0x400
push esi
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x410]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push ebx
mov edx, 0x554520
lea ecx, [ebp - 0x410]
call fcn.00422c56
pop ecx
test eax, eax
je 0x4e063d
movsx eax, byte [ebp - 0x40c]
add eax, 0xffffffbf
cmp eax, 0x19
ja 0x4e063d
cmp byte [ebp - 0x40b], 0x3a
jne 0x4e063d
cmp byte [ebp - 0x40a], 0x5c
je 0x4e063f
xor ebx, ebx
lea eax, [ebp + 8]
mov ecx, 0xd5cc44
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00410044
mov esi, dword [ebp - 0x414]
cmp esi, dword [0xd5cc44]
je 0x4e0671
push dword [esi + 0x10]
lea ecx, [ebp + 8]
call fcn.0040d992
test eax, eax
jns 0x4e06aa
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x414]
push eax
push ecx
mov ecx, 0xd5cc44
call fcn.00412e24
push eax
add eax, 0x10
mov ecx, 0xd5cc44
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.00412e80
mov esi, dword [ebp - 0x414]
mov dword [esi + 0x14], ebx
lea eax, [ebp + 8]
mov ebx, 0xd5cc44
push eax
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00410044
mov esi, dword [ebp - 0x414]
cmp esi, dword [0xd5cc44]
je 0x4e06e1
push dword [esi + 0x10]
lea ecx, [ebp + 8]
call fcn.0040d992
test eax, eax
jns 0x4e0714
lea eax, [ebp + 8]
push ecx
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x414]
push eax
push ecx
mov ecx, ebx
call fcn.00412e24
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.00412e80
mov esi, dword [ebp - 0x414]
mov esi, dword [esi + 0x14]
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4e0732
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
call fcn.00506076
ret
Function at 0x4e0b09
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x1c
mov eax, 0x516689
call fcn.00506098
xor ebx, ebx
cmp dword [0xd5cc74], ebx
jne 0x4e0b49
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.GetDisksSpaceAndTemperThread
push 0xfffffffffffffffe
push 0xd5cc50
push 0x4e0abd
mov ecx, 0xd5cc70
mov dword [0xd5cc80], eax
call fcn.0040b21e
mov esi, dword [0xd5c58c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, esi
cmp eax, 0xee48
jb 0x4e0b73
call edi
push dword [0xd5cc80]
mov dword [0xd5c58c], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 0xd5cc58
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], ebx
mov eax, dword [0xd5cc50]
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x4e0bdd
mov ebx, 0xd5afcc
lea edi, [esi + 0x10]
mov ecx, ebx
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.004e0f05
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi + 0x20]
push edi
mov dword [eax + 0x20], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
call fcn.004e0f05
mov eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0x24]
push ecx
mov dword [eax + 0x24], ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fc9f
mov esi, dword [ebp - 0x10]
cmp esi, dword [0xd5cc50]
jne 0x4e0b98
push 0xd5cc58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00506061
ret
Function at 0x4e80d8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffffa0
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x4e818c
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x4e8262
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x4e8248
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e8291
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffffac
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x4e8345
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x4e841b
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x4e8401
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e844a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 0x444], eax
push esi
add eax, 0xffffffc0
mov dword [ebp - 0x450], ecx
push edi
neg ebx
mov esi, 0x400
push esi
sbb ebx, ebx
xor edi, edi
and ebx, eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x448], ebx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
add ebx, 4
mov dword [ebp - 0x44c], ebx
push esi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x31
push dword [ebx]
call edi
push 0x3c
mov esi, eax
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp - 0x43c], 0
jle 0x4e84fe
push 0
push 0x4375ef
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov esi, dword [ebp - 0x444]
push ecx
push ecx
mov eax, esp
xor ecx, ecx
push ecx
push 2
push ecx
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
push dword [ebx]
call fcn.004167be
push dword [ebp - 0x448]
push 0x416354
push dword [ebx]
call dword [sym.imp.USER32.dll_EnumChildWindows]
push 0
push 0
push 0x418
push dword [esi]
call edi
push 0
push 1
push 0x401
push dword [esi]
call edi
push 0
push 1
push 0x7f
push dword [ebx]
call edi
test eax, eax
jne 0x4e85d4
mov eax, dword [0xd59fbc]
test eax, eax
jne 0x4e85ba
mov esi, dword [0xd584c8]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xc
call ebx
push eax
push 0xb
call ebx
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 1
push esi
call edi
mov esi, dword [0xd584c8]
push 0
push 0x32
mov dword [0xd59fbc], eax
call ebx
push eax
push 0x31
call ebx
push eax
push 1
push 1
push esi
call edi
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0xd59fb8], eax
mov eax, dword [0xd59fbc]
push eax
push 1
mov esi, 0x80
push esi
push dword [ebx]
call edi
push dword [0xd59fb8]
push 0
push esi
push dword [ebx]
call edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.004165da
mov ecx, dword [ebp - 0x450]
xor eax, eax
pop edi
pop esi
inc eax
and dword [ecx], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret 0x10