Function at 0x54e9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x7c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [esp + 0x88], 2
mov esi, dword [sym.imp.kernel32.dll_MulDiv]
push 0x48
push 0x60
setne al
push 8
mov byte [0x86b2a6], al
call esi
push str.Tahoma
xor ebx, ebx
push ebx
push ebx
mov edi, dword [sym.imp.gdi32.dll_CreateFontA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call edi
push 0x48
push 0x60
push 0xa
mov dword [0x88b560], eax
call esi
push str.Tahoma
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call edi
push 0x7f00
push ebx
mov dword [0x88b564], eax
call dword [sym.imp.user32.dll_LoadCursorA]
push eax
call dword [sym.imp.user32.dll_SetCursor]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, 0x87c340
call fcn.00401530
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x87c35c
call fcn.00401530
push 0xf
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.user32.dll_GetSysColorBrush]
mov dword [esp + 0x50], eax
push 0x7f00
push ebx
call dword [sym.imp.user32.dll_LoadCursorA]
push 0x7f01
push ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [esp + 0x48], eax
mov eax, dword [0x8859cc]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x54d250
mov dword [esp + 0x5c], 0x821f20
mov dword [esp + 0x58], ebx
call dword [sym.imp.user32.dll_RegisterClassA]
push ebx
push 0x82ca0000
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x190
mov dword [esp + 0x38], 0x12c
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [0x8859cc]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
push ebx
push eax
push ebx
push ebx
push ecx
push edx
push pe_nt_image_headers32
push pe_nt_image_headers32
push 0x82ca0000
push str.Fatal_Error_
push str.SEHWindow
push ebx
call dword [sym.imp.user32.dll_CreateWindowExW]
cmp dword [0x87c3c8], 8
mov ecx, dword [0x87c3b4]
mov dword [esp + 0x18], eax
jae 0x54eb64
mov ecx, 0x87c3b4
mov edx, dword [0x8859cc]
push ebx
push edx
push ebx
push eax
push 0x54
push 0x180
push 8
push 8
push 0x50000804
push ecx
push str.EDIT
push ebx
call dword [sym.imp.user32.dll_CreateWindowExW]
push 0x48
push 0x60
push 9
mov dword [esp + 0x28], eax
call esi
push str.Arial
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
neg eax
push ebx
push eax
call edi
mov dword [esp + 0x14], eax
cmp byte [0x86b2a6], bl
jne 0x54ebcc
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x54ebdb
mov eax, dword [eax + 4]
jmp 0x54ebde
add eax, 4
mov ecx, dword [0x8859cc]
mov edx, dword [esp + 0x18]
push ebx
push ecx
push ebx
push edx
push 0xa8
push 0x180
push 0x5c
push 8
push 0x50a00804
push eax
push 0x821c0c
push ebx
call dword [sym.imp.user32.dll_CreateWindowExA]
push 0x48
push 0x60
push 8
mov dword [esp + 0x28], eax
call esi
push str.Courier_New
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
neg eax
push ebx
push eax
call edi
mov dword [esp + 0x30], eax
cmp byte [0x86b2a6], bl
jne 0x54ec4d
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov dword [esp + 0x10], 0x50000001
cmp dword [0x88b55c], ebx
jne 0x54ec65
mov dword [esp + 0x10], 0x58000001
cmp dword [0x87c3e0], ebx
mov eax, 0x31
setne cl
xor edx, edx
cmp cl, bl
setne dl
mov edi, dword [esp + 0x18]
inc edx
mov esi, edx
sub eax, esi
add eax, eax
add eax, eax
add eax, eax
cdq
idiv esi
mov esi, eax
mov eax, 8
cmp cl, bl
je 0x54ecdf
mov eax, dword [0x8859cc]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ebx
push edi
push 0x18
push esi
push 0x10c
push 8
push ecx
push str.Send_Report
push str.BUTTON
push ebx
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x88b568], eax
cmp byte [0x86b2a6], bl
jne 0x54ecdc
mov edx, dword [esp + 0x14]
push ebx
push edx
push 0x30
push eax
call dword [sym.imp.user32.dll_SendMessageA]
lea eax, [esi + 0x10]
mov ecx, dword [0x8859cc]
push ebx
push ecx
push ebx
push edi
push 0x18
push esi
push 0x10c
push eax
push 0x50000001
push str.Close_Now
push str.BUTTON
push ebx
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x88b56c], eax
cmp byte [0x86b2a6], bl
jne 0x54ed24
mov edx, dword [esp + 0x14]
push ebx
push edx
push 0x30
push eax
call dword [sym.imp.user32.dll_SendMessageA]
push 1
push edi
call dword [sym.imp.user32.dll_ShowWindow]
mov esi, dword [sym.imp.user32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
jle 0x54ed6d
cmp byte [0x88b5ac], bl
jne 0x54ed6d
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.user32.dll_TranslateMessage]
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.user32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
jg 0x54ed41
push edi
call dword [sym.imp.user32.dll_DestroyWindow]
mov ecx, dword [0x88b560]
mov esi, dword [sym.imp.gdi32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [0x88b564]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00643db8
mov esp, ebp
pop ebp
ret