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

Disassembly:
push 0xffffffffffffffff
push 0x59fe3a
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.0057ef5b
xor ebp, ebp
mov ecx, esi
mov dword [esp + 0x88], ebp
call fcn.004cc520
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.0048cc40
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 0x4c1008
mov ecx, esi
call fcn.004cc520
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.004c0250
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 0x4c1099
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.004cc980
mov ecx, dword [esi + 0xa4]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.004cfda0
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 0x4c130e
mov ecx, dword [esi + 0xa4]
push ebp
push ebx
push 0xffffffffffffffff
push 0xa
call fcn.004ce490
cmp eax, ebp
je 0x4c10ba
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x118]
jmp 0x4c10bc
xor eax, eax
cmp eax, ebp
mov dword [esi + 0x188], eax
mov dword [esp + 0x28], ebp
je 0x4c10e5
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 0x4c1137
mov ecx, esi
xor edi, edi
call fcn.004cb060
test eax, eax
jle 0x4c1126
push edi
mov ecx, esi
call fcn.004cb070
cmp eax, ebp
je 0x4c111a
cmp dword [eax + 0xbc], esi
jne 0x4c111a
mov edx, dword [eax]
push ebp
mov ecx, eax
call dword [edx + 0xa0]
mov ecx, esi
inc edi
call fcn.004cb060
cmp edi, eax
jl 0x4c10fb
mov ecx, esi
call fcn.004c2300
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
mov ecx, dword [esi + 0xa4]
push 0x23be
call fcn.004ce470
mov edi, eax
mov eax, dword [esi + 0x158]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x4c120c
mov ecx, esi
call fcn.004cc520
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 0x4c11ff
push 0x130
call fcn.00576f33
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebp
mov byte [esp + 0x88], 2
je 0x4c11db
mov ecx, edi
call fcn.00501eb0
mov dword [edi], 0x426cb8
mov dword [edi + 0x1c], 0x426c5c
mov dword [edi + 0xb8], ebx
mov dword [edi + 0x90], 0x5a
jmp 0x4c11dd
xor edi, edi
mov ecx, dword [esi + 0xa4]
push ebx
push 0xffffffffffffffff
push 0x5bf6ec
push 0x23be
push edi
mov byte [esp + 0x9c], bl
call fcn.004ce0d0
mov edi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x4c121b
cmp edi, ebp
je 0x4c121b
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x90]
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004cc980
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.004d0320
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x4c12aa
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.0048cca0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0057efcd
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