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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dd38c
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [0x56f710]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00499be1
mov esi, 0x52dc10
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
call fcn.0040254f
and dword [esp + 0x118], 0
push esi
lea ecx, [esp + 0x1c]
call fcn.0040254f
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.004022fa
push ecx
mov byte [esp + 0x124], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push str.IDC_BTN_FINISH_REGOPT
call fcn.0040254f
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x128], 1
call fcn.00406eff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 3
call fcn.004025ee
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.00402845
push dword [esp + 0x18]
mov ecx, ebx
push 0xeb
call fcn.00492d20
mov ecx, eax
call fcn.00492e36
push esi
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.004022fa
push ecx
mov byte [esp + 0x124], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x544c10
call fcn.0040254f
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x128], 1
call fcn.00406eff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 5
call fcn.004025ee
mov byte [esp + 0x118], 1
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00402845
push dword [esp + 0x18]
mov ecx, ebx
push 0xdb
call fcn.00492d20
mov ecx, eax
call fcn.00492e36
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
or dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402845
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov edi, str.RESOURCESTRING
push edi
call fcn.0040254f
push ecx
mov dword [esp + 0x124], 6
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.SCANDLG5
call fcn.0040254f
or dword [esp + 0x124], 0xffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00406eff
mov dword [esp + 0x118], 7
push dword [eax]
mov ecx, ebx
call fcn.00492e36
or dword [esp + 0x118], 0xffffffff
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
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.0040254f
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.IDC_BTN_FINISH_REGOPT
mov dword [esp + 0x12c], 8
call fcn.0040254f
mov eax, dword [esp + 0x24]
or dword [esp + 0x128], 0xffffffff
push eax
call fcn.00406eff
push 0
lea ecx, [ebx + 0xac]
mov edi, 0x8d
push edi
mov dword [esp + 0x20], ecx
call fcn.00408f73
lea esi, [ebx + 0x194]
push edi
mov byte [ebx + 0x186], 1
call fcn.00407dec
xor edi, edi
push edi
mov ecx, esi
call fcn.00492ed8
push edi
mov ecx, esi
call fcn.00492f1a
push 0x1b3
call fcn.00435076
push 0x1b5
mov dword [ebx + 0xa0], eax
call fcn.00435076
mov dword [ebx + 0xa8], eax
mov al, byte [0x57a001]
test al, al
je 0x46b205
lea edi, [esp + 0x94]
call fcn.00465317
mov ecx, edi
mov dword [esp + 0x118], 0xa
call fcn.00464bb1
test eax, eax
jne 0x46b1ee
lea eax, [esp + 0x34]
push eax
call fcn.0046d4e6
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 0xb
call fcn.0046f52c
test al, al
je 0x46b1dd
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0xe8]
cmp ecx, eax
jbe 0x46b12c
mov eax, ecx
mov dword [ebx + 0x80], eax
test ecx, ecx
jbe 0x46b180
mov eax, dword [esp + 0x8c]
add eax, 0xc
mov dword [esp + 0x10], ecx
cmp dword [eax - 0xc], 0
je 0x46b177
mov ecx, dword [eax]
test ecx, ecx
je 0x46b177
mov edi, dword [eax - 4]
test edi, edi
je 0x46b177
cmp ecx, edi
mov edx, ecx
jg 0x46b163
mov edx, edi
jge 0x46b163
mov edi, ecx
sub edx, edi
je 0x46b177
cmp edx, ecx
ja 0x46b177
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 0x46b144
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
je 0x46b1c4
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x46b1c4
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
test ecx, ecx
jge 0x46b1a0
fadd qword [0x54cca8]
fld qword [0x54cc58]
mov dword [esp + 0x28], eax
fmul st(1), st(0)
fild dword [esp + 0x28]
test eax, eax
jge 0x46b1ba
fadd qword [0x54cca8]
fdivp st(2)
fsubrp st(1)
fstp qword [ebx + 0x88]
fld qword [0x54cca0]
lea ecx, [ebx + 0x88]
fcomp qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x46b1dd
fldz
fstp qword [ecx]
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 0xa
call fcn.0046d57a
or dword [esp + 0x118], 0xffffffff
lea eax, [esp + 0x94]
push eax
call fcn.0046a5ce
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.00492ed8
push 1
push 0x18f
push 0x24c
push edi
push edi
lea ecx, [ebx + 0x27c]
call fcn.00492e98
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.00492f1a
mov ecx, dword [esp + 0x14]
push edi
call fcn.00492ed8
push edi
mov ecx, esi
call fcn.00492f1a
push edi
mov ecx, esi
call fcn.00492ed8
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