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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x699fe8]
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 [0x69cad5], 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 [0x6a9f7c], 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 [0x6a9f80], 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, 0x6a525c
call fcn.00403e20
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x6a5278
call fcn.00403e20
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 [0x6a958c]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x5a5a20
mov dword [esp + 0x5c], 0x6730b4
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 [0x6a958c]
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 0x40
push 0x40
push 0x82ca0000
push str.Fatal_Error_
push str.SEHWindow
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp dword [0x6a52e4], 8
mov ecx, dword [0x6a52d0]
mov dword [esp + 0x18], eax
jae 0x5a7324
mov ecx, 0x6a52d0
mov edx, dword [0x6a958c]
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
cmp byte [0x69cad5], bl
mov dword [esp + 0x14], eax
jne 0x5a738c
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 0x5a739b
mov eax, dword [eax + 4]
jmp 0x5a739e
add eax, 4
mov ecx, dword [0x6a958c]
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 0x672db4
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
cmp byte [0x69cad5], bl
mov dword [esp + 0x30], eax
jne 0x5a740d
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x6a9f78], ebx
mov dword [esp + 0x10], 0x50000001
jne 0x5a7425
mov dword [esp + 0x10], 0x58000001
cmp dword [0x6a52fc], ebx
mov eax, 0x31
setne cl
xor edx, edx
cmp cl, bl
setne dl
mov edi, dword [esp + 0x18]
add edx, 1
mov esi, edx
sub eax, esi
add eax, eax
add eax, eax
add eax, eax
cdq
idiv esi
cmp cl, bl
mov esi, eax
mov eax, 8
je 0x5a74a1
mov eax, dword [0x6a958c]
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]
cmp byte [0x69cad5], bl
mov dword [0x6a9f84], eax
jne 0x5a749e
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 [0x6a958c]
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]
cmp byte [0x69cad5], bl
mov dword [0x6a9f88], eax
jne 0x5a74e6
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 0x5a752f
cmp byte [0x6a9f67], bl
jne 0x5a752f
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 0x5a7503
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x6a9f7c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [0x6a9f80]
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.0061efd1
mov esp, ebp
pop ebp
ret