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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510638
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004c6121
mov esi, 0x5afd90
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
call fcn.0040253b
and dword [esp + 0x118], 0
push esi
lea ecx, [esp + 0x1c]
call fcn.0040253b
push esi
push ecx
mov byte [esp + 0x120], 1
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [esp + 0x124], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDC_BTN_FINISH_REGOPT
call fcn.0040253b
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x128], 1
call fcn.00406ef3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 3
call fcn.004025da
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040285b
push dword [esp + 0x18]
mov ecx, ebx
push 0xeb
call fcn.004bf278
mov ecx, eax
call fcn.004bf38e
push esi
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00402305
push ecx
mov byte [esp + 0x124], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c8d50
call fcn.0040253b
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x128], 1
call fcn.00406ef3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 5
call fcn.004025da
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285b
push dword [esp + 0x18]
mov ecx, ebx
push 0xdb
call fcn.004bf278
mov ecx, eax
call fcn.004bf38e
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
or dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040285b
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040253b
push ecx
mov dword [esp + 0x124], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SCANDLG5
call fcn.0040253b
or dword [esp + 0x124], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406ef3
mov dword [esp + 0x118], 7
push dword [eax]
mov ecx, ebx
call fcn.004bf38e
or dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edi
mov dword [esp + 0x24], eax
call fcn.0040253b
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.IDC_BTN_FINISH_REGOPT
mov dword [esp + 0x12c], 8
call fcn.0040253b
mov eax, dword [esp + 0x24]
or dword [esp + 0x128], 0xffffffff
push eax
call fcn.00406ef3
push 0
lea ecx, [ebx + 0xac]
mov edi, 0x8d
push edi
mov dword [esp + 0x20], ecx
call fcn.00408f67
lea esi, [ebx + 0x194]
push edi
mov byte [ebx + 0x186], 1
call fcn.00407de0
xor edi, edi
push edi
mov ecx, esi
call fcn.004bf430
push edi
mov ecx, esi
call fcn.004bf472
push 0x1b3
call fcn.00437107
push 0x1b5
mov dword [ebx + 0xa0], eax
call fcn.00437107
mov dword [ebx + 0xa8], eax
mov al, byte [0x60a8f1]
test al, al
je 0x4935b7
lea edi, [esp + 0x94]
call fcn.0048cd41
mov ecx, edi
mov dword [esp + 0x118], 0xa
call fcn.0048c5ec
test eax, eax
jne 0x4935a0
lea eax, [esp + 0x34]
push eax
call fcn.00495898
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 0xb
call fcn.004978de
test al, al
je 0x49358f
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0xe8]
cmp ecx, eax
jbe 0x4934de
mov eax, ecx
mov dword [ebx + 0x80], eax
test ecx, ecx
jbe 0x493532
mov eax, dword [esp + 0x8c]
add eax, 0xc
mov dword [esp + 0x10], ecx
cmp dword [eax - 0xc], 0
je 0x493529
mov ecx, dword [eax]
test ecx, ecx
je 0x493529
mov edi, dword [eax - 4]
test edi, edi
je 0x493529
cmp ecx, edi
mov edx, ecx
jg 0x493515
mov edx, edi
jge 0x493515
mov edi, ecx
sub edx, edi
je 0x493529
cmp edx, ecx
ja 0x493529
add dword [ebx + 0x74], ecx
add dword [ebx + 0x7c], edx
mov ecx, dword [eax - 4]
add dword [ebx + 0x78], ecx
add eax, 0x28
dec dword [esp + 0x10]
jne 0x4934f6
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
je 0x493576
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x493576
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
test ecx, ecx
jge 0x493552
fadd qword [0x5d12a8]
fld qword [0x5d1258]
mov dword [esp + 0x28], eax
fmul st(1), st(0)
fild dword [esp + 0x28]
test eax, eax
jge 0x49356c
fadd qword [0x5d12a8]
fdivp st(2)
fsubrp st(1)
fstp qword [ebx + 0x88]
fld qword [0x5d12a0]
lea ecx, [ebx + 0x88]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x49358f
fldz
fstp qword [ecx]
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 0xa
call fcn.0049592c
or dword [esp + 0x118], 0xffffffff
lea eax, [esp + 0x94]
push eax
call fcn.00492519
xor edi, edi
lea ecx, [ebx + 0x27c]
mov eax, dword [ecx]
push ebx
push 0x191
call dword [eax + 0x13c]
push 5
lea ecx, [ebx + 0x27c]
call fcn.004bf430
push 1
push 0x18f
push 0x24c
push edi
push edi
lea ecx, [ebx + 0x27c]
call fcn.004bf3f0
push edi
push 0x80
push 0x63
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x14]
push edi
call fcn.004bf472
mov ecx, dword [esp + 0x14]
push edi
call fcn.004bf430
push edi
mov ecx, esi
call fcn.004bf472
push edi
mov ecx, esi
call fcn.004bf430
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret