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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6a9fa4]
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 [0x6aca8d], 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 [0x6ba09c], 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 [0x6ba0a0], 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, 0x6b52e4
call fcn.00405660
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x6b5300
call fcn.00405660
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 [0x6b96b0]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x5abe30
mov dword [esp + 0x5c], 0x681cd0
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 [0x6b96b0]
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 [0x6b536c], 8
mov ecx, dword [0x6b5358]
mov dword [esp + 0x18], eax
jae 0x5ad744
mov ecx, 0x6b5358
mov edx, dword [0x6b96b0]
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 [0x6aca8d], bl
mov dword [esp + 0x14], eax
jne 0x5ad7ac
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 0x5ad7bb
mov eax, dword [eax + 4]
jmp 0x5ad7be
add eax, 4
mov ecx, dword [0x6b96b0]
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 0x6819c4
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 [0x6aca8d], bl
mov dword [esp + 0x30], eax
jne 0x5ad82d
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.user32.dll_SendMessageA]
cmp dword [0x6ba098], ebx
mov dword [esp + 0x10], 0x50000001
jne 0x5ad845
mov dword [esp + 0x10], 0x58000001
cmp dword [0x6b5384], 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 0x5ad8c1
mov eax, dword [0x6b96b0]
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 [0x6aca8d], bl
mov dword [0x6ba0a4], eax
jne 0x5ad8be
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 [0x6b96b0]
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 [0x6aca8d], bl
mov dword [0x6ba0a8], eax
jne 0x5ad906
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 0x5ad94f
cmp byte [0x6ba087], bl
jne 0x5ad94f
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 0x5ad923
push edi
call dword [sym.imp.user32.dll_DestroyWindow]
mov ecx, dword [0x6ba09c]
mov esi, dword [sym.imp.gdi32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [0x6ba0a0]
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.00626d59
mov esp, ebp
pop ebp
ret