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

Disassembly:
push 0xffffffffffffffff
push 0x59da3a
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.0057c3e3
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x88], ebp
call fcn.0047ee20
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.00490030
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 0x4c4e18
mov ecx, esi
call fcn.0047ee20
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.00485b00
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 0x4c4ea9
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.0047f2b0
mov ecx, dword [esi + 0xa4]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.004c3440
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 0x4c511e
mov ecx, dword [esi + 0xa4]
push ebp
push ebx
push 0xffffffffffffffff
push 0xa
call fcn.004c1b40
cmp eax, ebp
je 0x4c4eca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x118]
jmp 0x4c4ecc
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x188], eax
mov dword [esp + 0x28], ebp
je 0x4c4ef5
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 0x4c4f47
mov ecx, esi
xor edi, edi
call fcn.0047d960
test eax, eax
jle 0x4c4f36
push edi
mov ecx, esi
call fcn.0047d970
cmp eax, ebp
je 0x4c4f2a
cmp dword [eax + 0xbc], esi
jne 0x4c4f2a
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov ecx, esi
inc edi
call fcn.0047d960
cmp edi, eax
jl 0x4c4f0b
mov ecx, esi
call fcn.004c6080
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov ecx, dword [esi + 0xa4]
push 0x23be
call fcn.004c1b20
mov edi, eax
mov eax, dword [esi + 0x158]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x4c501c
mov ecx, esi
call fcn.0047ee20
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 0x4c500f
push 0x130
call fcn.0057284c
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov byte [esp + 0x88], 2
je 0x4c4feb
mov ecx, edi
call fcn.004c0780
mov dword [edi], 0x5bc428
mov dword [edi + 0x1c], 0x5bc3cc
mov dword [edi + 0xb8], ebx
mov dword [edi + 0x90], 0x5a
jmp 0x4c4fed
xor edi, edi
mov ecx, dword [esi + 0xa4]
push ebx
push 0xffffffffffffffff
push 0x5a7b30
push 0x23be
push edi
mov byte [esp + 0x9c], bl
call fcn.004c1780
mov edi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x4c502b
cmp edi, ebp
je 0x4c502b
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x90]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.0047f2b0
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.004c39c0
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x4c50ba
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.00490090
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0057c455
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