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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x5d5de8]
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 [0x5d9177], 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 [0x5dcd84], 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 [0x5dcd88], 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, 0x5da444
call fcn.0043b2f0
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
push edx
mov ecx, 0x5da460
call fcn.0043b2f0
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 [0x5dc428]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], 0x46b4c0
mov dword [esp + 0x5c], 0x5b5498
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 [0x5dc428]
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 [0x5da4cc], 8
mov ecx, dword [0x5da4b8]
mov dword [esp + 0x18], eax
jae 0x46ce54
mov ecx, 0x5da4b8
mov edx, dword [0x5dc428]
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 [0x5d9177], bl
mov dword [esp + 0x14], eax
jne 0x46cebc
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 0x46cecb
mov eax, dword [eax + 4]
jmp 0x46cece
add eax, 4
mov ecx, dword [0x5dc428]
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 0x5b518c
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 [0x5d9177], bl
mov dword [esp + 0x30], eax
jne 0x46cf3d
push ebx
push eax
mov eax, dword [esp + 0x24]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x5dcd80], ebx
mov dword [esp + 0x10], 0x50000001
jne 0x46cf55
mov dword [esp + 0x10], 0x58000001
cmp dword [0x5da4e4], 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 0x46cfd1
mov eax, dword [0x5dc428]
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 [0x5d9177], bl
mov dword [0x5dcd90], eax
jne 0x46cfce
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 [0x5dc428]
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 [0x5d9177], bl
mov dword [0x5dcd94], eax
jne 0x46d016
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 0x46d05f
cmp byte [0x5dcd8d], bl
jne 0x46d05f
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 0x46d033
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x5dcd84]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov edx, dword [0x5dcd88]
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.005697e2
mov esp, ebp
pop ebp
ret