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

Disassembly:
push 0xffffffffffffffff
push 0x536788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x58]
push 0
push eax
push 0
mov edi, ecx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [edi + 0x1c]
call fcn.0047ee30
mov ecx, dword [edi + 0x1c]
mov edx, dword [eax]
push 0
push 0
push ecx
lea ecx, [esp + 0x4c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x84]
mov esi, dword [esp + 0x94]
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x14], 0
mov ebx, dword [esi + 4]
mov ebp, dword [esi]
mov dword [edx + 0x154], ecx
mov eax, dword [edi + 0x28]
cmp eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ecx
jle 0x47b1f6
test ecx, ecx
jl 0x47afe7
cmp ecx, dword [edi + 0x28]
jge 0x47afe7
mov eax, dword [edi + 0x24]
mov esi, dword [eax + ecx*4]
jmp 0x47afe9
xor esi, esi
test esi, esi
je 0x47b1de
mov eax, dword [esi + 0xf8]
mov edx, dword [edi + 0x1c]
cmp eax, edx
jne 0x47b1de
mov eax, dword [esi + 0xcc]
mov edx, dword [esi]
and al, 0xf7
mov ecx, esi
push eax
call dword [edx + 0x8c]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x47b1da
mov ecx, dword [edi + 0x1c]
call fcn.0047ee30
mov ebp, dword [eax]
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004ef460
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edi + 0x1c]
push eax
call dword [ebp + 0xd0]
mov ebp, dword [esp + 0x8c]
push eax
push ebp
lea ecx, [esp + 0x50]
call fcn.004be9f0
mov edx, dword [esi]
lea eax, [esp + 0x30]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x88], 0
call dword [edx + 0x94]
mov ecx, esi
mov dword [esi + 0x90], 0
call fcn.00477340
test al, 0x80
je 0x47b094
mov eax, dword [esp + 0x20]
test eax, eax
je 0x47b0b9
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x47b12b
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0xc]
sub eax, edx
mov edx, dword [esp + 0x34]
add edx, ebx
cmp edx, eax
jle 0x47b12b
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.0047ae90
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub ebx, eax
cmp ebx, ecx
jle 0x47b0e7
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x40]
mov ebx, eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x18]
add eax, ebp
mov ebp, dword [esp + 0x1c]
add ebp, eax
mov eax, 1
mov dword [esi + 0x90], eax
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ecx
mov dword [edx + 0x154], eax
jmp 0x47b145
mov eax, dword [esi + 0x94]
test eax, eax
je 0x47b141
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x47b141
add ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x1c]
fld qword [0x59dbb0]
fcomp qword [0x5446d8]
mov dword [esp + 0x20], 0
fnstsw ax
test ah, 0x41
jne 0x47b184
fild dword [esp + 0x60]
fmul qword [0x59dbb0]
fild dword [esp + 0x30]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47b182
call fcn.00462bd4
mov dword [esp + 0x30], eax
jmp 0x47b184
fstp st(0)
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
add eax, ebx
sub esp, 0x10
mov dword [esp + 0x3c], eax
lea eax, [ecx + ebp]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebp
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]
mov ecx, dword [esp + 0x14]
add ebx, edx
cmp ecx, eax
jge 0x47b1c6
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.004bea50
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x47afd6
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x28]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0047ae90
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
sub ebp, eax
mov eax, dword [esp + 0x10]
sub ebx, ecx
add ebp, edx
cmp ebx, eax
mov dword [esp + 0x94], ebp
jle 0x47b22d
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x28]
xor ecx, ecx
test eax, eax
jle 0x47b2bf
test ecx, ecx
jl 0x47b24c
cmp ecx, dword [edi + 0x28]
jge 0x47b24c
mov edx, dword [edi + 0x24]
mov edx, dword [edx + ecx*4]
jmp 0x47b24e
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 + 0x74], ebp
mov ebp, dword [esp + 0x30]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jl 0x47b23b
mov ebp, dword [esp + 0x94]
cmp ebp, 0x18
jge 0x47b2c9
mov ebp, 0x18
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47b2d9
mov dword [esp + 0x10], 0x16
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [esi]
add ecx, eax
mov eax, dword [esp + 0x88]
add ecx, ebx
add edx, edi
pop edi
add edx, ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [eax], edx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x10