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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x547878
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x60
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x4cbc79
mov dword [eax], ebx
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x4cbc86
mov dword [eax], ebx
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
je 0x4cbc96
call fcn.005195a1
mov esi, dword [esp + 0x7c]
push esi
call fcn.004c9a90
add esp, 4
cmp eax, 1
jne 0x4cbccd
mov ecx, dword [esp + 0x80]
push 0x5885f8
call fcn.005199a6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14
mov eax, dword [0x59697c]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov bl, byte [esi]
cmp bl, 0x37
mov byte [esp + 0x84], bl
jne 0x4cbd1d
mov eax, dword [esp + 0x14]
dec eax
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4cc32f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4cbd2d
call fcn.005195a1
mov ecx, dword [esp + 0x84]
and ecx, 0xff
lea eax, [ecx - 0x21]
cmp eax, 0x1a
ja case.0x4cbd4a.38
xor edx, edx
mov dl, byte [eax + 0x4cc3a8]
jmp dword [edx*4 + 0x4cc390]
mov edx, dword [esp + 0x14]
xor ebx, ebx
inc edx
inc esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x14], edx
mov esi, dword [esi]
mov dword [esp + 0x2c], ebx
push esi
call fcn.004d21a0
add esp, 4
cmp eax, 0x2000000
jne 0x4cbe28
mov ecx, dword [edi + 0xcc]
lea eax, [esp + 0x30]
push ebx
push eax
push esi
add ecx, 0x244
call fcn.004d2a60
cmp eax, 1
jne 0x4cbdee
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
mov ecx, edi
push edx
push ebp
call fcn.004cb110
mov ecx, dword [esp + 0x90]
cmp ecx, ebx
je 0x4cbdc3
mov eax, dword [esp + 0x30]
add eax, 0x10
push eax
call fcn.00519703
cmp dword [esp + 0x14], 1
jne 0x4cc020
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], esi
add eax, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cf8b0
cmp dword [esp + 0x14], 1
jne 0x4cc020
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
push esi
call fcn.004c9f00
mov ebx, 1
add esp, 4
cmp eax, ebx
jne 0x4cbf16
push esi
call fcn.004d2180
add esp, 4
test eax, eax
jne 0x4cbe67
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], ebx
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
mov eax, dword [edi + 8]
test eax, eax
je 0x4cbfc7
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push eax
add ecx, 0x20c
call fcn.004d2a60
cmp eax, ebx
jne 0x4cbfc7
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x40]
test eax, eax
je 0x4cbfc7
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push ecx
push 0
push 0
push edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xcc]
push edx
push esi
push eax
call fcn.004511a0
cmp eax, ebx
jne 0x4cbfc7
cmp dword [esp + 0x14], ebx
jne 0x4cbef1
mov eax, dword [esp + 0x10]
push eax
call fcn.004c9830
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov ecx, edi
push edx
push ebp
call fcn.004cb110
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
cmp esi, 0x500fffe
je 0x4cbfe2
push esi
mov ecx, edi
call fcn.004cb130
test eax, eax
mov dword [esp + 0x10], eax
je 0x4cbfc7
mov ecx, dword [eax]
add eax, 6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esp + 0x10], eax
jne 0x4cbf64
push eax
call fcn.004c9830
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x28], edx
push eax
call fcn.004c9550
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esp + 0x10], ecx
push ecx
push ebp
mov ecx, edi
call fcn.004cb110
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4cc020
mov eax, dword [esp + 0x10]
push eax
call fcn.00474090
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x94]
add esp, 4
add eax, edx
push eax
call fcn.00519753
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cf8b0
cmp dword [esp + 0x14], ebx
jne 0x4cc020
jmp 0x4cc018
mov eax, dword [esp + 0x80]
cmp byte [eax + 4], 0x3a
jne 0x4cc012
cmp byte [eax + 5], 0x21
jne 0x4cc012
inc eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x80], eax
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
cmp dword [esp + 0x14], ebx
jne 0x4cc020
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x80]
add eax, 4
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4cc04c
push 0x599904
mov ecx, ebp
call fcn.005199a6
inc esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 0x80]
mov esi, dword [esi]
push esi
mov edx, dword [ecx + 4]
mov dword [esp + 0x1c], edx
call fcn.004d2170
add esp, 4
cmp eax, 0x15000000
jne 0x4cc1b0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
call fcn.004ddaa0
add esp, 4
cmp eax, 2
jne 0x4cc0c9
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push edx
add ecx, 0x244
call fcn.004d2a60
cmp eax, 1
jne 0x4cc181
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
jmp 0x4cc0cd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4cc181
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [edi + 0xcc]
push eax
add ecx, 0x20c
call fcn.004d2a60
cmp eax, 1
jne 0x4cc181
mov edx, dword [esp + 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004d2340
test eax, eax
mov dword [esp + 0x10], eax
je 0x4cc18d
mov ecx, dword [eax]
add eax, 6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 1
mov dword [esp + 0x10], eax
jne 0x4cc13f
push eax
call fcn.004c9830
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x28], edx
push eax
call fcn.004c9550
mov ecx, dword [esp + 0x14]
add esp, 4
add ecx, eax
mov dword [esp + 0x10], ecx
push ecx
push ebp
mov ecx, edi
call fcn.004cb110
mov ebx, dword [esp + 0x90]
test ebx, ebx
je 0x4cc181
mov eax, dword [esp + 0x10]
push eax
call fcn.00474090
mov edx, dword [esp + 0x14]
add esp, 4
add eax, edx
mov ecx, ebx
push eax
call fcn.00519753
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4cc247
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cf8b0
cmp dword [esp + 0x14], 1
jne 0x4cc247
jmp 0x4cc23f
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push ecx
push 0
push 0
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [edi + 0xcc]
push esi
push edx
call fcn.004511a0
test eax, eax
je 0x4cc225
cmp dword [esp + 0x14], 1
jne 0x4cc200
mov eax, dword [esp + 0x10]
push eax
call fcn.004c9830
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x24]
mov ecx, edi
push edx
push ebp
call fcn.004cb110
mov eax, dword [esp + 0x80]
add eax, 8
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
mov ecx, dword [edi + 0xcc]
push ebp
push esi
add ecx, 0x280
call fcn.004cf8b0
cmp dword [esp + 0x14], 1
jne 0x4cc247
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x80]
add eax, 8
mov dword [esp + 0x80], eax
mov esi, eax
jmp case.0x4cbd4a.38
cmp dword [esp + 0x14], 1
jne 0x4cc26e
mov dword [esp + 0x20], 0
push 0x5885f8
mov ecx, ebp
inc esi
call fcn.005199a6
push 0x5998f0
mov ecx, ebp
call fcn.005199a6
jmp case.0x4cbd4a.38
inc esi
cmp bl, 0x3b
jne 0x4cc2b1
mov ecx, dword [esi]
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.004de680
add esp, 8
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.005199a6
add esi, 4
push 0x5998f4
mov ecx, ebp
call fcn.005199a6
jmp case.0x4cbd4a.38
lea ecx, [esp + 0x24]
inc esi
call fcn.005195a1
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push esi
call fcn.004cf980
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.005199e2
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x4cc309
push 0x5998f4
mov ecx, ebp
call fcn.005199a6
mov ecx, esi
call fcn.004ca150
add esi, eax
jmp case.0x4cbd4a.38
mov ecx, dword [edi + 0xcc]
push esi
mov dword [esp + 0x3c], ebx
call fcn.004d1c30
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
call fcn.004ca150
add esi, eax
jmp case.0x4cbd4a.38
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x1c]
test eax, eax
pop ebp
je 0x4cc350
mov edx, ecx
mov esi, dword [esp + 0x24]
dec edx
neg edx
sbb edx, edx
not edx
and edx, esi
mov dword [eax], edx
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4cc36a
mov edx, dword [esp + 0x1c]
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0xffffffff
call fcn.00519616
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x14