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

Disassembly:
push 0xffffffffffffffff
push 0x59db58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
xor ebp, ebp
push edi
lea eax, [esp + 0x58]
push ebp
push eax
push ebp
mov edi, ecx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [edi + 0x1c]
call fcn.004a1210
mov esi, eax
mov eax, dword [edi + 0x1c]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0xec]
mov ecx, dword [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.0046bd40
mov eax, dword [edi + 0x1c]
mov edx, dword [esi]
push ebp
push ebp
push eax
lea ecx, [esp + 0x4c]
push ebp
push ecx
mov ecx, esi
mov dword [esp + 0x94], ebp
call dword [edx + 0x84]
mov esi, dword [esp + 0x98]
mov eax, dword [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x1c], 1
mov ebx, dword [esi + 4]
mov edx, dword [esi]
mov dword [eax + 0x154], ecx
mov eax, dword [edi + 0x28]
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ecx
jle 0x499ab9
test ecx, ecx
jl 0x4998f5
cmp ecx, dword [edi + 0x28]
jge 0x4998f5
mov edx, dword [edi + 0x24]
mov esi, dword [edx + ecx*4]
jmp 0x4998f7
xor esi, esi
test esi, esi
je 0x499aa1
mov eax, dword [esi + 0xfc]
mov edx, dword [edi + 0x1c]
cmp eax, edx
jne 0x499aa1
mov ecx, dword [esi + 0xcc]
mov eax, dword [esi]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call dword [eax + 0x8c]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x499a9d
mov ecx, dword [esp + 0x8c]
mov eax, dword [esi]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x94]
mov ecx, esi
mov dword [esi + 0x90], 0
call fcn.00493eb0
test al, 0x80
je 0x499969
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49998a
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x4999f2
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0xc]
sub eax, edx
mov edx, dword [esp + 0x34]
add edx, ebx
cmp edx, eax
jle 0x4999f2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.00499780
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub ebx, eax
cmp ebx, ecx
jle 0x4999b4
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esi + 0x94]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ebp
add ecx, eax
mov eax, 1
mov dword [esi + 0x90], eax
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
xor ebp, ebp
mov dword [edx + 0x154], eax
jmp 0x499a08
mov eax, dword [esi + 0x94]
test eax, eax
je 0x499a08
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x499a08
add ebx, dword [esp + 0x44]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x1c], 0
mov eax, dword [ecx]
call dword [eax + 0x134]
test eax, eax
jne 0x499a56
fld qword [0x5f8478]
fcomp qword [0x5b0140]
fnstsw ax
test ah, 0x41
jne 0x499a56
fild dword [esp + 0x60]
fmul qword [0x5f8478]
fild dword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x499a54
call fcn.00424c6c
mov dword [esp + 0x30], eax
jmp 0x499a56
fstp st(0)
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
add ecx, ebx
sub esp, 0x10
mov dword [esp + 0x3c], ecx
mov ecx, esp
add edx, eax
mov dword [esp + 0x38], edx
mov edx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x74]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add ebx, edx
cmp ebp, eax
jge 0x499a9d
mov ebp, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4998e4
mov esi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
test eax, eax
jle 0x499ad6
cmp eax, 0x7530
jge 0x499ad6
mov edx, dword [esi + 8]
mov ecx, dword [esi]
sub eax, edx
sub eax, ecx
mov ebp, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x20]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.00499780
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
sub eax, edx
mov edx, dword [esi + 4]
add eax, ebp
sub ebx, edx
mov dword [esp + 0x8c], eax
cmp ebx, ecx
jle 0x499b09
mov dword [esp + 0x10], ebx
mov edx, dword [esp + 0x24]
xor ecx, ecx
test edx, edx
jle 0x499ba5
test ecx, ecx
jl 0x499b28
cmp ecx, dword [edi + 0x28]
jge 0x499b28
mov edx, dword [edi + 0x24]
mov edx, dword [edx + ecx*4]
jmp 0x499b2a
xor edx, edx
lea eax, [edx + 0xbc]
add edx, 0xac
mov ebp, eax
mov ebx, dword [ebp]
mov dword [esp + 0x48], ebx
mov ebx, dword [ebp + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x54], ebp
mov ebp, dword [eax]
mov dword [esp + 0x30], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x34], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
add ebp, eax
inc ecx
mov dword [esp + 0x98], ebp
mov ebp, dword [esp + 0x30]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x98]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x499b17
mov eax, dword [esp + 0x8c]
cmp eax, 0x18
jge 0x499baf
mov eax, 0x18
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x499bbf
mov dword [esp + 0x10], 0x16
mov ecx, dword [esi + 0xc]
mov ebp, dword [esi + 4]
mov ebx, dword [esp + 0x10]
mov edx, dword [esi + 8]
mov edi, dword [esi]
mov esi, dword [esp + 0x88]
add ecx, ebp
add edx, edi
add ecx, ebx
add edx, eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0x68]
mov dword [esi], edx
mov dword [esp + 0x80], 0xffffffff
call fcn.0046bde0
mov ecx, dword [esp + 0x78]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x14