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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4abe46
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, 0xf060
mov dword [esp + 0x14], eax
cmp cx, word [ebp + 0xc]
je 0x450308
push 2
pop ecx
cmp cx, word [ebp + 0xc]
je 0x450308
xor ecx, ecx
inc ecx
cmp cx, word [ebp + 0xc]
jne 0x450311
push str.A16FDA96_D9B8_4d7d_95B1_D4980F381025
push eax
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x450311
push dword [ebx + 0x20]
call fcn.0043ff87
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x14]
add ebx, 8
push 0x7c
cdq
pop ecx
idiv ecx
and dword [esp + 0x10], 0
test eax, eax
jle 0x450248
mov edi, 0x4e8d68
push 0x2000
push 0
push edi
call fcn.00492360
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x1000
push edi
lea eax, [esi + 0x321]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push esi
mov esi, ebx
call fcn.0043ee6a
cmp dword [eax + 0x58], 0
je 0x45017d
push dword [esp + 0x10]
call fcn.0043ee6a
mov eax, dword [eax + 0x58]
xor ecx, ecx
mov word [eax*2 + 0x4e8d68], cx
push dword [esp + 0x10]
mov esi, ebx
call fcn.0043ee6a
cmp byte [eax + 0x5c], 0
je 0x45019c
cmp word [0x4e8d68], 0
je 0x450253
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4501f5
push dword [eax + 0x28]
lea eax, [esp + 0x3c]
push edi
push dword [esp + 0x18]
push eax
call ecx
and dword [esp + 0x80], 0
push eax
lea esi, [esp + 0x58]
call fcn.00402723
or dword [esp + 0x80], 0xffffffff
push 0
push 1
lea esi, [esp + 0x40]
call fcn.00402bb8
cmp dword [esp + 0x68], 0
jne 0x45029f
push 0
push 1
lea esi, [esp + 0x5c]
call fcn.00402bb8
push edi
lea esi, [esp + 0x20]
call fcn.00402703
lea eax, [esp + 0x1c]
xor esi, esi
push eax
mov eax, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x84], esi
mov eax, dword [eax + 0x20]
call fcn.0040f9bc
or dword [esp + 0x80], 0xffffffff
push 0
push esi
lea esi, [esp + 0x24]
call fcn.00402bb8
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
push 0x7c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], eax
jl 0x45012e
push 1
push dword [esp + 0x18]
jmp 0x45030b
push dword [esp + 0x10]
mov esi, ebx
call fcn.0043ee6a
cmp dword [eax + 0x18], 8
jb 0x450269
mov eax, dword [eax + 4]
jmp 0x45026c
add eax, 4
mov esi, dword [esp + 0x14]
push eax
push 0x4c1f54
push 0x10
mov edi, 0x4b8140
call fcn.00425830
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x321
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x450311
cmp dword [esp + 0x6c], 8
mov edi, dword [esp + 0x58]
jae 0x4502ae
lea edi, [esp + 0x58]
push dword [esp + 0x10]
mov esi, ebx
call fcn.0043ee6a
cmp dword [eax + 0x18], 8
jb 0x4502c4
mov eax, dword [eax + 4]
jmp 0x4502c7
add eax, 4
mov esi, dword [esp + 0x14]
push edi
push eax
push 0x4c1f68
push 0x10
mov edi, 0x4b8140
call fcn.00425830
mov eax, dword [esp + 0x20]
add esp, 0x10
add eax, 0x321
push eax
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 1
lea esi, [esp + 0x5c]
call fcn.00402bb8
jmp 0x450311
push 2
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0048ff11
mov esp, ebp
pop ebp
ret