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

Disassembly:
push 0xffffffffffffffff
push 0x571e7a
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.00551c5b
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x88], ebp
call fcn.004a2f10
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.004636e0
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 0x49c9d8
mov ecx, esi
call fcn.004a2f10
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.004389c0
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 0x49ca69
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.004a33a0
mov ecx, dword [esi + 0xa4]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0049b000
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 0x49ccde
mov ecx, dword [esi + 0xa4]
push ebp
push ebx
push 0xffffffffffffffff
push 0xa
call fcn.004996f0
cmp eax, ebp
je 0x49ca8a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x118]
jmp 0x49ca8c
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x188], eax
mov dword [esp + 0x28], ebp
je 0x49cab5
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 0x49cb07
mov ecx, esi
xor edi, edi
call fcn.004a1a50
test eax, eax
jle 0x49caf6
push edi
mov ecx, esi
call fcn.004a1a60
cmp eax, ebp
je 0x49caea
cmp dword [eax + 0xbc], esi
jne 0x49caea
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov ecx, esi
inc edi
call fcn.004a1a50
cmp edi, eax
jl 0x49cacb
mov ecx, esi
call fcn.0049dc50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov ecx, dword [esi + 0xa4]
push 0x23be
call fcn.004996d0
mov edi, eax
mov eax, dword [esi + 0x158]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x49cbdc
mov ecx, esi
call fcn.004a2f10
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 0x49cbcf
push 0x130
call fcn.00547b9a
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov byte [esp + 0x88], 2
je 0x49cbab
mov ecx, edi
call fcn.00498320
mov dword [edi], 0x58a310
mov dword [edi + 0x1c], 0x58a2b4
mov dword [edi + 0xb8], ebx
mov dword [edi + 0x90], 0x5a
jmp 0x49cbad
xor edi, edi
mov ecx, dword [esi + 0xa4]
push ebx
push 0xffffffffffffffff
push 0x5cf618
push 0x23be
push edi
mov byte [esp + 0x9c], bl
call fcn.00499330
mov edi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x49cbeb
cmp edi, ebp
je 0x49cbeb
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x90]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004a33a0
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.0049b580
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x49cc7a
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.00463740
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], 0xffffffff
call fcn.00551ccd
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