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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
xor eax, eax
push 0xc6
mov esi, ecx
push eax
lea ecx, [esp + 0xf2]
push ecx
mov word [esp + 0xf4], ax
call fcn.0046a470
add esp, 0xc
push 0x13c1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0xc], eax
mov eax, dword [0x4b1198]
sub eax, 0
je 0x4318e8
sub eax, 1
jne 0x43194a
mov ecx, dword [0x4dc3f8]
dec ecx
mov dword [esp + 0x18], ecx
jmp 0x431877
mov ecx, dword [esp + 0x18]
xor ebx, ebx
test ecx, ecx
jle 0x43194a
mov eax, 0x4d9040
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
mov edx, dword [eax + 0x7c]
cmp edx, dword [eax + 0xfc]
ja 0x4318d8
jb 0x4318a8
mov ecx, dword [eax + 0x78]
cmp ecx, dword [eax + 0xf8]
jae 0x4318d8
mov ecx, 0x20
mov esi, eax
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 0x80]
mov ecx, 0x20
mov esi, edx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x68]
mov edi, edx
mov ebx, 1
rep movsd dword es:[edi], dword [esi]
sub eax, 0xffffff80
sub dword [esp + 0x10], 1
jne 0x431890
test ebx, ebx
jne 0x431873
jmp 0x43194a
mov ecx, dword [0x4dc3f8]
dec ecx
mov dword [esp + 0x18], ecx
jmp 0x4318f9
mov ecx, dword [esp + 0x18]
xor ebx, ebx
test ecx, ecx
jle 0x43194a
mov eax, 0x4d90c0
mov dword [esp + 0x10], ecx
mov ecx, dword [eax - 0x80]
cmp ecx, dword [eax]
lea edx, [eax - 0x80]
jle 0x43193c
mov ecx, 0x20
mov esi, edx
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
mov esi, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x68]
mov edi, eax
mov ebx, 1
rep movsd dword es:[edi], dword [esi]
sub eax, 0xffffff80
sub dword [esp + 0x10], 1
jne 0x431908
test ebx, ebx
jne 0x4318f5
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x34]
push edx
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp dword [0x4dc3f8], ebx
jle 0x431b0c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x4d90a8
lea ebx, [ebx]
push 0x34
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.0046a470
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0
push 0x1007
lea edx, [esi - 0x64]
push ecx
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], edx
call edi
fild dword [0x4b1194]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x18], ecx
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x1c], eax
fild qword [esp + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
fild qword [esp + 0x10]
lea edx, [esp + 0xe8]
push edx
fchs
faddp st(1)
fild qword [0x4d8f20]
fdivp st(1)
fdivp st(1)
call fcn.0046ce26
push edx
push eax
call fcn.00431520
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0
push 0x104c
lea edx, [esp + 0xf4]
push ecx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x58], edx
call edi
fild dword [0x4b1194]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x24], eax
fild qword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0
fild qword [esp + 0x28]
lea edx, [esp + 0xe8]
push edx
fchs
faddp st(1)
fild qword [0x4d8f20]
fdivp st(1)
fdivp st(1)
call fcn.0046ce26
push edx
push eax
call fcn.00431520
add esp, 0xc
lea edx, [esp + 0xe8]
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x48], edx
push eax
mov ecx, dword [esp + 0x10]
push 0
push 0x104c
push ecx
call edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0xe8]
push edx
push eax
push ecx
call fcn.00431520
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
push 0
push 0x104c
lea edx, [esp + 0xf4]
push ecx
mov dword [esp + 0x4c], 3
mov dword [esp + 0x58], edx
call edi
inc ebx
sub esi, 0xffffff80
cmp ebx, dword [0x4dc3f8]
jl 0x431980
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469f7b
mov esp, ebp
pop ebp
ret