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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d9731
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [0x87f4fc]
cmp ecx, ebx
je case.default.0x4c0769
mov eax, dword [ecx]
call dword [eax + 0xc0]
mov ecx, eax
call fcn.005c891c
cmp eax, ebx
mov dword [esp + 0x10], eax
je case.default.0x4c0769
mov ebp, dword [eax + 0x3c]
mov eax, dword [esp + 0xcc]
add ebp, 0x58
push eax
mov ecx, ebp
mov dword [edi + 0x2d1], eax
call fcn.0054ade0
mov esi, eax
mov eax, dword [esp + 0xc8]
cmp eax, 4
ja case.default.0x4c0769
jmp dword [eax*4 + 0x4c0b18]
mov ecx, dword [edi + 0x2d1]
mov dword [edi + 0x29d], ecx
mov ecx, edi
call fcn.004be9e0
jmp case.default.0x4c0769
mov ecx, dword [esi]
push edi
push 2
call fcn.0054a830
push eax
lea ecx, [esp + 0x44]
call fcn.005ad7a2
lea ecx, [esp + 0x38]
mov dword [esp + 0xc0], ebx
call fcn.005ad84e
cmp eax, 1
jne 0x4c086c
mov eax, dword [esp + 0xa0]
xor edx, edx
mov ecx, eax
mov dl, ah
shr eax, 0x10
and eax, 0xff
xor ebx, ebx
and edx, 0xff
mov bh, al
and ecx, 0xff
mov bl, dl
shl ebx, 8
and ecx, 0xff
or ebx, ecx
mov ecx, dword [esi]
push ebx
call fcn.0054a820
mov ecx, dword [esi]
call fcn.0054a830
mov esi, dword [esp + 0xcc]
xor ebx, ebx
push eax
push ebx
push 1
push esi
lea ecx, [edi + 0x5c]
call fcn.004c4990
mov edx, dword [edi + 0x1c]
push ebx
push ebx
push 0x480
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x78]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov ecx, ebp
call fcn.0055ed80
mov ecx, ebp
call fcn.0054a8e0
cmp eax, ebx
je 0x4c086c
push esi
mov ecx, eax
call fcn.00548e80
cmp eax, ebx
je 0x4c086c
cmp dword [eax], ebx
je 0x4c086c
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
mov ecx, dword [esp + 0x14]
push 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0045cd10
lea ecx, [esp + 0x38]
mov dword [esp + 0xc0], 0xffffffff
call fcn.005afeed
jmp case.default.0x4c0769
mov edx, dword [edi + 0x2d1]
lea esi, [edi + 0x5c]
push edx
mov ecx, esi
call fcn.004c4cf0
push 1
mov ecx, esi
call fcn.004c4c40
jmp case.default.0x4c0769
mov eax, dword [0x87a768]
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov dword [esp + 0xc0], 1
call fcn.0054a920
mov ecx, dword [esi]
neg eax
sbb eax, eax
inc eax
push eax
call fcn.0054a910
mov ecx, dword [esi]
call fcn.0054a920
test eax, eax
je 0x4c08f2
call fcn.00596b38
lea ecx, [esp + 0x14]
mov esi, eax
push ecx
push 9
mov ecx, esi
call fcn.004c6180
cmp eax, ebx
je 0x4c0924
jmp 0x4c090b
call fcn.00596b38
lea edx, [esp + 0x14]
mov esi, eax
push edx
push 0xa
mov ecx, esi
call fcn.004c6180
cmp eax, ebx
je 0x4c0924
add esi, 0x1c
add eax, 0xc
push eax
mov ecx, esi
call fcn.005b48a8
push 1
mov ecx, esi
call fcn.005b4ba6
jmp 0x4c0926
xor eax, eax
push eax
lea eax, [esp + 0x14]
push 0x62353c
push eax
call fcn.005ad17a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xd8]
add esp, 0xc
push ecx
push 3
push edx
lea ecx, [edi + 0x5c]
call fcn.004c41c0
mov eax, dword [edi + 0x78]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x4c0af7
mov ecx, dword [0x87a768]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
mov dword [esp + 0xc0], 2
call fcn.0054a940
mov ecx, dword [esi]
neg eax
sbb eax, eax
inc eax
push eax
call fcn.0054a930
mov ecx, dword [esi]
call fcn.0054a940
test eax, eax
je 0x4c0a3d
call fcn.00596b38
mov ecx, eax
xor eax, eax
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x4c09d4
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x4c09d4
mov edx, 9
cmp dword [eax + 8], edx
je 0x4c0a37
mov eax, dword [eax]
cmp eax, ebx
jne 0x4c09c9
xor eax, eax
push eax
lea edx, [esp + 0x18]
push 0x62353c
push edx
call fcn.005ad17a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xd8]
add esp, 0xc
push eax
push 4
push ecx
lea ecx, [edi + 0x5c]
call fcn.004c41c0
mov ecx, ebp
call fcn.0054a8e0
cmp eax, ebx
je 0x4c0ac8
mov ecx, eax
call fcn.00548df0
mov ebp, eax
cmp ebp, ebx
je 0x4c0ac8
mov esi, dword [ebp + 4]
cmp esi, ebx
je 0x4c0ac8
mov edi, dword [esi + 8]
cmp esi, ebx
jne 0x4c0a96
mov esi, dword [ebp + 4]
jmp 0x4c0a99
cmp eax, ebx
je 0x4c09d4
jmp 0x4c0a7a
call fcn.00596b38
mov ecx, eax
xor eax, eax
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x4c09d4
mov eax, dword [eax + edx*4]
cmp eax, ebx
je 0x4c09d4
mov edx, 0xa
cmp dword [eax + 8], edx
je 0x4c0a72
mov eax, dword [eax]
cmp eax, ebx
jne 0x4c0a62
jmp 0x4c09d4
cmp eax, ebx
je 0x4c09d4
lea esi, [ecx + 0x1c]
add eax, 0xc
push eax
mov ecx, esi
call fcn.005b48a8
push 1
mov ecx, esi
call fcn.005b4ba6
jmp 0x4c09d6
mov esi, dword [esi + 4]
cmp edi, ebx
je 0x4c0ac0
mov ecx, edi
call fcn.00549ff0
test eax, eax
je 0x4c0ac0
mov ecx, edi
call fcn.00549f70
cmp eax, dword [esp + 0xcc]
jne 0x4c0ac0
push ebx
mov ecx, edi
call fcn.0054a000
cmp esi, ebx
jne 0x4c0a2b
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
push 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0045cd10
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.005b4761
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb4
ret 0xc