Function at 0x404f30
Capabilities:
Get file version info
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x431008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x38
mov dword [0x431920], eax
lea eax, [ebp - 0x15c]
push 0
push eax
mov dword [0x431c5c], 0xffffffff
call fcn.0040eec0
add esp, 8
lea ecx, [ebp - 0x15c]
nop
nop
nop
nop
nop
mov esi, 0x5d6da8a8
nop
mov eax, esi
mov edi, 0
nop
or eax, edi
je 0x4051d8
mov ecx, 0x5f7dc2c3
nop
mov eax, ecx
mov edx, 0
nop
or eax, edx
je 0x4051d8
cmp edx, edi
jl 0x4051d8
jg 0x404fb3
cmp ecx, esi
jbe 0x4051d8
mov eax, dword [0x431920]
xorps xmm0, xmm0
push 0x75
push eax
mov dword [0x431c50], ecx
mov dword [0x431c54], edx
movlpd qword [ebp - 0x188], xmm0
movlpd qword [ebp - 0x180], xmm0
movlpd qword [ebp - 0x174], xmm0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0x42d120
mov dword [ebp - 0x16c], 5
mov dword [ebp - 0x178], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x188]
push eax
mov dword [ebp - 0x184], 0x4055a0
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x4051d8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push 0
call esi
sub eax, 0x400
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [ebp - 0x18c], eax
call esi
sub eax, 0x2c1
cdq
push 0x104
sub eax, edx
push 0x4341c8
mov ebx, eax
push 0
sar ebx, 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x4341c8
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
push esi
call fcn.0040d8dd
add esp, 4
mov edi, eax
push edi
push esi
push 0
push 0x4341c8
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
push 0
lea eax, [ebp - 0x160]
push eax
push 0x42dc14
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov ecx, dword [ebp - 0x160]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._04d._04d
push 0x104
push 0x4341c8
call fcn.00401b10
push edi
call fcn.0040d5dd
push 0x4341c8
push 0x42d120
push str._s____s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00401b10
add esp, 0x34
push 0x42cc64
push 0x20
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontA]
push 0x431920
push dword [ebp - 0x178]
mov dword [0x431924], eax
push 0
push 0
push 0x2c1
push 0x400
push ebx
push dword [ebp - 0x18c]
lea eax, [ebp - 0x108]
push 0x100a0000
push eax
push dword [ebp - 0x164]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x431c58], eax
test eax, eax
je 0x4051c5
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
lea eax, [ebp - 0x124]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x4051c5
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop dword [eax]
lea eax, [ebp - 0x124]
push eax
call edi
lea eax, [ebp - 0x124]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x124]
push eax
call esi
test eax, eax
jne 0x4051a0
push dword [ebp - 0x178]
push dword [ebp - 0x164]
call dword [sym.imp.USER32.dll_UnregisterClassA]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040d5cc
mov esp, ebp
pop ebp
ret 4