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

Disassembly:
push 0xffffffffffffffff
push 0x5709da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebx, 1
push esi
lea ecx, [esp + 0x70]
mov dword [esi + 0x154], ebx
call fcn.00550803
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x88], ebp
call fcn.004a0110
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0xec]
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x54]
call fcn.00460880
lea ecx, [esp + 0x5c]
push ebp
push ecx
push ebp
push 0x30
mov byte [esp + 0x98], bl
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call dword [edx + 0x12c]
mov ecx, dword [eax]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x164]
cmp eax, ebp
mov dword [esp + 0x48], edx
je 0x499c08
mov ecx, esi
call fcn.004a0110
push ebp
push ebp
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [esp + 0x30], esp
mov ebx, dword [edi]
push ebp
call fcn.00435c30
lea eax, [esp + 0x84]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call dword [ebx + 0xc0]
mov edx, dword [eax]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov ebx, 1
mov eax, dword [eax + 4]
add ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], ecx
cmp dword [esi + 0xa0], ebx
jne 0x499c99
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
lea ecx, [esp + 0x3c]
push ebp
push ecx
push 0x142
mov ecx, esi
call fcn.004a05a0
mov ecx, dword [esi + 0xa4]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00498230
mov edi, dword [eax]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov ebx, dword [eax + 4]
mov eax, edi
sub eax, ecx
mov ecx, edx
sub ecx, ebp
push edx
push eax
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esi + 0x168]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetRect]
lea eax, [esi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x154], 0
mov esi, dword [esp + 0x90]
mov dword [esi], edi
jmp 0x499f0e
mov ecx, dword [esi + 0xa4]
push ebp
push ebx
push 0xffffffffffffffff
push 0xa
call fcn.00496930
cmp eax, ebp
je 0x499cba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x118]
jmp 0x499cbc
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x188], eax
mov dword [esp + 0x28], ebp
je 0x499ce5
sub eax, 2
mov ecx, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, 3
add eax, 8
add ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x94], ebp
jne 0x499d37
mov ecx, esi
xor edi, edi
call fcn.0049ec50
test eax, eax
jle 0x499d26
push edi
mov ecx, esi
call fcn.0049ec60
cmp eax, ebp
je 0x499d1a
cmp dword [eax + 0xbc], esi
jne 0x499d1a
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov ecx, esi
inc edi
call fcn.0049ec50
cmp edi, eax
jl 0x499cfb
mov ecx, esi
call fcn.0049ae70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov ecx, dword [esi + 0xa4]
push 0x23be
call fcn.00496910
mov edi, eax
mov eax, dword [esi + 0x158]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x499e0c
mov ecx, esi
call fcn.004a0110
mov edx, dword [eax]
push ebp
push ebp
push esi
push ebp
lea ecx, [esp + 0x7c]
push ebx
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [edx + 0xb8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 4]
add ecx, eax
cmp edi, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], ecx
jne 0x499dff
push 0x130
call fcn.00545379
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov byte [esp + 0x88], 2
je 0x499ddb
mov ecx, edi
call fcn.00495550
mov dword [edi], 0x589ce0
mov dword [edi + 0x1c], 0x589c84
mov dword [edi + 0xb8], ebx
mov dword [edi + 0x90], 0x5a
jmp 0x499ddd
xor edi, edi
mov ecx, dword [esi + 0xa4]
push ebx
push 0xffffffffffffffff
push 0x5ce648
push 0x23be
push edi
mov byte [esp + 0x9c], bl
call fcn.00496570
mov edi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x499e1b
cmp edi, ebp
je 0x499e1b
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x90]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004a05a0
mov ecx, dword [esp + 0x98]
push eax
lea edx, [esp + 0x74]
push ecx
mov ecx, dword [esi + 0xa4]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.004987b0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x499eaa
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x90]
mov ecx, dword [esp + 0x14]
mov eax, ebx
mov ebx, dword [esp + 0x48]
sub esp, 0x10
sub eax, ebx
mov ebx, esp
lea edx, [eax + ecx]
mov ecx, ebp
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x54]
sub ecx, edx
mov edx, dword [edi]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov ecx, edi
call dword [edx + 0x78]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
mov eax, ebp
sub eax, ecx
mov ecx, edx
sub ecx, edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
lea eax, [esi + 0x168]
push edx
push eax
call edi
mov ecx, dword [esp + 0x48]
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx]
mov ecx, ebp
sub ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
lea eax, [esi + 0x178]
push edx
push eax
call edi
mov dword [esi + 0x154], 0
mov esi, dword [esp + 0x90]
mov dword [esi], ebp
lea ecx, [esp + 0x4c]
mov dword [esi + 4], ebx
mov byte [esp + 0x88], 0
call fcn.004608e0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], 0xffffffff
call fcn.00550875
mov ecx, dword [esp + 0x80]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret 0xc