joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012c7
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
mov esi, dword [ebp + 0x9c]
push edi
lea eax, [ebp - 0x80]
push eax
push esi
mov edi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x401432
push ebx
call dword [sym.imp.MSVCR80.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp - 0x78], eax
je 0x401432
push eax
push ebx
push dword [ebp - 0x80]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
push 0x4b0
push 0x409
lea eax, [ebp - 0x70]
push str.StringFileInfo_04x_04x_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [ebp + eax - 0x70]
push str.ProductVersion
lea eax, [ebp - 0x70]
push eax
mov byte [esi], 0
call ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401396
cmp dword [ebp - 0x7c], 0
je 0x401396
cmp dword [ebp - 0x74], 0
je 0x401396
push dword [ebp - 0x74]
push dword [edi + 0x464]
push dword [edi + 0x440]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.LegalCopyright
lea eax, [ebp - 0x70]
push eax
mov byte [esi], 0
call ebx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401412
cmp dword [ebp - 0x7c], 0
je 0x401412
cmp dword [ebp - 0x74], 0
je 0x401412
push 0x26
push dword [ebp - 0x74]
call dword [sym.imp.MSVCR80.dll_strrchr]
test eax, eax
pop ecx
pop ecx
push dword [ebp - 0x74]
je 0x401400
call fcn.0040128c
pop ecx
mov esi, eax
push esi
push dword [edi + 0x468]
push dword [edi + 0x440]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x401412
push dword [edi + 0x468]
push dword [edi + 0x440]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x469f6a
push dword [edi + 0x46c]
push dword [edi + 0x440]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [ebp - 0x78]
call sub.MSVCR80.dll_free
pop ecx
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x94
leave
ret 4
Function at 0x401900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
call fcn.00459000
test eax, eax
mov dword [ebp - 4], eax
je 0x4019ac
movzx eax, word [ebp + 0xc]
push 9
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4019a3
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x4019a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40199a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
shr edi, 3
xor ebx, ebx
test edi, edi
jle 0x401989
movzx edx, word [esi + 4]
movzx eax, byte [esi]
movzx ecx, word [esi + 2]
push edx
push ecx
or eax, 2
push eax
push dword [ebp - 4]
add esi, 8
call fcn.00459016
add esp, 0x10
test eax, eax
je 0x40199a
inc ebx
cmp ebx, edi
jl 0x401961
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 4]
call fcn.004018d3
pop ecx
xor eax, eax
jmp 0x401995

Function at 0x4024bf
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x90
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xaf
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
push 0x80
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 0x158
push dword [ebp - 0x10]
call edi
cmp dword [esi + 0x1c], 0
mov dword [ebp - 0x18], eax
mov ebx, 0x274c
je 0x40254d
push 0x34
push ebx
call fcn.0046708d
push eax
push 0x2b1f
call fcn.0046708d
push eax
push dword [ebp - 0x14]
call fcn.00455173
add esp, 0x10
jmp 0x402570
lea eax, [ebp - 0xc]
push eax
push 0x34
push ebx
call fcn.0046708d
push eax
push 0x274b
call fcn.0046708d
push eax
push dword [ebp - 0x14]
call fcn.00455173
add esp, 0x14
cmp eax, 6
jne 0x4025d7
lea eax, [ebp - 0xc]
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_RemoveBookmarkA]
test eax, eax
jne 0x4025b1
xor ebx, ebx
push ebx
push dword [ebp - 0x18]
push 0x144
push dword [ebp - 0x10]
call edi
push 0x469f6a
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
jmp 0x4025d7
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push ebx
call fcn.0046708d
push eax
push 0x274d
call fcn.0046708d
push eax
push dword [ebp - 0x14]
call fcn.00455173
add esp, 0x14
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x78
leave
ret
Function at 0x4025e9
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xaf
push edi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x80
push esi
lea ecx, [ebp + 4]
push ecx
push eax
mov dword [ebp - 0x80], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 4]
push eax
push 0x274e
call fcn.0046708d
push eax
push dword [ebx + 0x1c]
push edi
call fcn.00447ea1
add esp, 0x18
test eax, eax
je 0x4026bc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 4]
push eax
push dword [ebx]
call dword [sym.imp.NfoMgr4.dll_Nfo_RenameBookmarkA]
test eax, eax
jne 0x402694
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
push 0x14b
push dword [ebp - 0x80]
call esi
mov ecx, edi
call fcn.00402406
lea eax, [ebp - 0x7c]
push eax
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 0x80]
call esi
jmp 0x4026bc
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push 0x274c
call fcn.0046708d
push eax
push 0x274f
call fcn.0046708d
push eax
push edi
call fcn.00455173
add esp, 0x14
mov ecx, dword [ebp + 0x84]
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x88
leave
ret
Function at 0x4026d3
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
xor ebx, ebx
push 0x7f
mov esi, eax
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call sub.MSVCR80.dll_memset
push 0x7f
lea eax, [ebp + 9]
push ebx
push eax
mov byte [ebp + 8], bl
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0xaf
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x80
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esi + 4]
cmp dword [eax], ebx
mov edi, 0x274c
jne 0x40275f
cmp dword [esi + 8], ebx
jne 0x40275f
cmp dword [esi + 0xc], ebx
jne 0x40275f
cmp dword [esi + 0x10], ebx
je 0x402822
lea ecx, [ebp + 8]
push ecx
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_GetBookmarkNameA]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x402784
inc eax
jmp 0x40280a
cmp dword [esi + 0x1c], ebx
je 0x4027aa
push 0x34
push edi
call fcn.0046708d
push eax
push 0x2b1e
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x10
jmp 0x4027cd
lea eax, [ebp + 8]
push eax
push 0x34
push edi
call fcn.0046708d
push eax
push 0x2752
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x14
cmp eax, 6
jne 0x402808
lea eax, [ebp + 8]
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_RemoveBookmarkA]
test eax, eax
je 0x402822
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push edi
call fcn.0046708d
push eax
push 0x2750
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x8c
leave
ret
lea eax, [ebp - 0x78]
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_RemoveBookmarkA]
cmp eax, ebx
mov dword [ebp - 0x80], eax
jne 0x40284c
push dword [esi + 0x14]
lea eax, [ebp - 0x78]
push ebx
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_AddBookmarkA]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x402872
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push edi
call fcn.0046708d
push eax
push 0x2751
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x80], ebx
sete al
jmp 0x40280a
Function at 0x4028e3
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xaf
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x147
push eax
mov dword [ebp - 0x80], eax
call edi
cmp eax, 0xffffffff
je 0x40295a
lea ecx, [ebp + 8]
push ecx
push eax
push 0x148
push dword [ebp - 0x80]
call edi
push dword [esi + 0x18]
lea eax, [ebp + 8]
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_GetBookmarkIDA]
xor eax, eax
inc eax
jmp 0x4029ba
push 0x7f
lea eax, [ebp + 9]
push ebx
push eax
mov byte [ebp + 8], bl
call sub.MSVCR80.dll_memset
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax], ebx
jne 0x4029d2
cmp dword [esi + 8], ebx
jne 0x4029d2
cmp dword [esi + 0xc], ebx
jne 0x4029d2
cmp dword [esi + 0x10], ebx
jne 0x4029d2
push dword [ebp - 0x80]
call fcn.0040287c
test eax, eax
jne 0x402955
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push 0x274c
call fcn.0046708d
push eax
push 0x2753
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x8c
leave
ret
lea ecx, [ebp + 8]
push ecx
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_GetBookmarkNameA]
cmp dword [esi + 0x1c], ebx
mov edi, 0x274c
je 0x402a0a
push 0x34
push edi
call fcn.0046708d
push eax
push 0x2b1e
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x10
jmp 0x402a2d
lea eax, [ebp + 8]
push eax
push 0x34
push edi
call fcn.0046708d
push eax
push 0x2752
call fcn.0046708d
push eax
push dword [ebp - 0x7c]
call fcn.00455173
add esp, 0x14
cmp eax, 6
jne 0x4029b8
push 0x80
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi]
call dword [sym.imp.NfoMgr4.dll_Nfo_RenameBookmarkA]
test eax, eax
je 0x402955
call dword [sym.imp.NfoMgr4.dll_Nfo_GetErrorA]
push eax
push 0x30
push edi
call fcn.0046708d
push eax
push 0x274f
jmp 0x4029a7
Function at 0x405396
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x90
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
lea eax, [ebp - 0x1c]
push eax
mov ebx, ecx
mov eax, dword [ebx + 8]
push dword [eax + 4]
push esi
call fcn.0040f2c7
add esp, 0xc
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
jne 0x405423
push 0x80
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x405423
push 1
push dword [ebx + 4]
call fcn.00404471
pop ecx
push eax
mov ecx, ebx
call fcn.004049fe
test eax, eax
je 0x405412
call fcn.00405217
mov ecx, ebx
call fcn.00404f82
jmp 0x405423
mov eax, dword [ebx + 8]
push dword [eax + 4]
push 0
push esi
call fcn.0040f358
add esp, 0xc
mov eax, 0x5a0
cmp dword [ebp - 0x14], eax
jle 0x405440
mov ecx, dword [ebx + 8]
push dword [ecx + 4]
mov dword [ebp - 0x14], eax
push eax
push esi
call fcn.0040f358
add esp, 0xc
push 0xba
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
mov edi, 0x1a2
push edi
push eax
mov dword [ebp - 0x18], eax
call esi
cmp eax, 0xffffffff
jne 0x405488
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x18]
call esi
cmp eax, 0xffffffff
jne 0x405488
mov eax, dword [ebp - 0x14]
dec eax
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x18]
call esi
push 0
push eax
push 0x186
push dword [ebp - 0x18]
call esi
mov ecx, ebx
call fcn.00404dd4
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x74
leave
ret 4
Function at 0x405ebd
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x154]
sub esp, 0x1d4
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x150], eax
mov eax, dword [ebp + 0x15c]
or dword [ebp - 0x58], 0xffffffff
push ebx
mov dword [ebp - 0x4c], eax
push esi
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x80], 0xffff0000
mov dword [ebp - 0x7c], 0xffff0002
mov dword [ebp - 0x78], 0x67
lea esi, [ebp + 0x4c]
mov dword [ebp - 0x48], 0x94
call fcn.00460989
xor ebx, ebx
cmp dword [ebp - 0x38], ebx
pop ecx
mov eax, esi
jne 0x405f2b
push 0x69
push 0x46a248
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x405f37
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp + 0x4c], bl
je 0x405fa2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x38], ebx
jne 0x405f58
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, ebx
je 0x405f96
cmp eax, 1
je 0x405f96
push esi
mov dword [ebp - 0x68], esi
call fcn.00452b0a
pop ecx
push esi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
call edi
inc eax
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x54], eax
je 0x405f83
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x1100
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call edi
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x405f43
pop edi
mov ecx, dword [ebp + 0x150]
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x154
leave
ret 4

Function at 0x405fbb
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0
push 0x46a214
push eax
lea eax, [ebp - 0x108]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__makepath]
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x406054
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
test byte [ebp - 0x248], 0x10
je 0x40603b
lea eax, [ebp - 0x21c]
push eax
push 0x46a2b8
call edi
test eax, eax
je 0x40603b
lea eax, [ebp - 0x21c]
push eax
push 0x46a2b4
call edi
test eax, eax
jne 0x406066
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40600e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00456f61
leave
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x406056
Function at 0x406176
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2d8]
sub esp, 0x358
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp + 0x2d4], eax
mov eax, dword [ebp + 0x2e0]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
call fcn.00406072
xor esi, esi
push esi
push 0x46a214
push eax
lea eax, [ebp + 0x1d0]
push esi
push eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.MSVCR80.dll__makepath]
add esp, 0x14
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x406230
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x406298
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1d0]
push eax
call dword [sym.imp.MSVCR80.dll__splitpath]
add esp, 0x14
lea eax, [ebp - 0x7c]
push eax
push 0x15
push 0x30e2
call fcn.0046708d
push eax
push 0x30e1
call fcn.0046708d
push eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00455173
add esp, 0x14
cmp eax, 4
je 0x4061bf
jmp 0x406298
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
test byte [ebp - 0x74], 0x10
je 0x406282
lea eax, [ebp - 0x48]
push eax
push 0x46a2b8
call esi
test eax, eax
je 0x406282
lea eax, [ebp - 0x48]
push eax
push 0x46a2b4
call esi
test eax, eax
je 0x406282
lea eax, [ebp + 0xcc]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x78], 1
call fcn.00452ab7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push edi
lea edx, [ebp + 0xcc]
call fcn.0040609d
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406236
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x2d4]
mov eax, dword [ebp - 0x78]
pop esi
xor ecx, ebp
pop ebx
call fcn.00456f61
add ebp, 0x2d8
leave
ret 4

Function at 0x40855c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x47a4b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xaf
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
jne 0x4085a5
cmp dword [ebp + 0x10], 1
jne 0x4085a5
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
call fcn.00408477
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00456f61
leave
ret 0xc
Function at 0x40a0f5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x64
push ebx
mov edi, eax
call esi
push 0x65
push ebx
mov dword [ebp - 0x10], eax
call esi
push 0x84
push ebx
mov dword [ebp - 0x18], eax
call esi
push 0x9f
push ebx
mov dword [ebp - 0x14], eax
call esi
push 0xbb
push ebx
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 8]
mov dword [ebp - 0x1c], eax
push dword [0x47d724]
call fcn.00401900
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40a1c7
push dword [edi + 0xc]
call fcn.004015e5
test eax, eax
pop ecx
jle 0x40a179
mov dword [ebp - 4], eax
push 2
push 0
push dword [edi + 0xc]
call fcn.0040168d
add esp, 0xc
dec dword [ebp - 4]
jne 0x40a165
push esi
call fcn.004015e5
and dword [ebp - 4], 0
test eax, eax
pop ecx
mov dword [ebp - 8], eax
jle 0x40a1c0
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 4]
push esi
call fcn.00461000
add esp, 0x10
test eax, eax
je 0x40a1b5
push dword [ebp - 0x20]
push dword [ebp - 0x22]
push dword [ebp - 0x24]
push dword [edi + 0xc]
call fcn.00459016
add esp, 0x10
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jl 0x40a18b
push esi
call fcn.004018d3
pop ecx
mov ecx, ebx
call fcn.00409d26
xor esi, esi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
push esi
push 0x401
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
push 0
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
leave
ret

Function at 0x40a4cd
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [eax + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov ebx, ecx
push 8
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x9f
push ebx
call esi
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebp
push 0
push 0xa0
push ebx
call esi
push eax
call ebp
push ebx
call fcn.00409b6c
pop ecx
call fcn.00409c44
mov ecx, ebx
call fcn.00409d26
push 2
push 1
push 0x403
push 0x64
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x40a49a
push 0xfffffffffffffffc
push 0x64
push ebx
call esi
push eax
call edi
push 0
push 0x84
push ebx
mov dword [0x47a534], eax
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x65
push ebx
call esi
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret