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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6af168]
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 [0x6b1b45], 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 [0x6b9d00], 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 [0x6b9d04], 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, 0x6b3664
call fcn.00401d10
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x6b3680
call fcn.00401d10
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 [0x6b8b40]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x4dd5c0
mov dword [esp + 0x5c], 0x67d4e4
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 [0x6b8b40]
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 [0x6b36ec], 8
mov ecx, dword [0x6b36d8]
mov dword [esp + 0x18], eax
jae 0x4def54
mov ecx, 0x6b36d8
mov edx, dword [0x6b8b40]
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 [0x6b1b45], bl
mov dword [esp + 0x14], eax
jne 0x4defbc
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 0x4defcb
mov eax, dword [eax + 4]
jmp 0x4defce
add eax, 4
mov ecx, dword [0x6b8b40]
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 0x67d1d8
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 [0x6b1b45], bl
mov dword [esp + 0x30], eax
jne 0x4df03d
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x6b9cfc], ebx
mov dword [esp + 0x10], 0x50000001
jne 0x4df055
mov dword [esp + 0x10], 0x58000001
cmp dword [0x6b3704], 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 0x4df0d1
mov eax, dword [0x6b8b40]
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 [0x6b1b45], bl
mov dword [0x6b9d08], eax
jne 0x4df0ce
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 [0x6b8b40]
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 [0x6b1b45], bl
mov dword [0x6b9d0c], eax
jne 0x4df116
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 0x4df15f
cmp byte [0x6b9cef], bl
jne 0x4df15f
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 0x4df133
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x6b9d00]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [0x6b9d04]
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.00624940
mov esp, ebp
pop ebp
ret