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

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
cmp dword [eax + 0x78], 0
jne 0x4c5bf1
mov dword [esp + 4], ecx
jmp 0x4d337c
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x4c5bfe
mov dword [esp + 4], ecx
jmp eax
mov eax, 1
ret
mov eax, 0x28
call fcn.00551cac
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
push 0x100105e0
push 0x10010580
xor esi, esi
lea eax, [edi + 0x44]
push 0x10010560
xor ebx, ebx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
call fcn.004c517c
add esp, 0x10
call fcn.004d261c
mov ebp, eax
cmp ebp, esi
jne 0x4d33da
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
push edi
call fcn.004c4dcc
add esp, 4
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x4d33fc
push 0x311
push 0x100f495c
push 0x71
jmp 0x4d371f
cmp dword [esp + 0x40], esi
jne 0x4d3417
call fcn.004c3f7c
cmp eax, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
je 0x4d3756
mov ebx, dword [esp + 0x40]
push ebx
call fcn.004c400c
push ebx
call fcn.004c409c
mov esi, eax
add esp, 8
test esi, esi
je 0x4d372e
push ebx
push esi
push edi
call fcn.004c4ddc
add esp, 0xc
test eax, eax
je 0x4d372e
cmp dword [esi + 4], 0
jne 0x4d345e
push 0x323
push 0x100f495c
push 0x72
jmp 0x4d371f
push esi
call fcn.004c326c
add esp, 4
cmp eax, 0x7d0
mov edx, 4
mov dword [esp + 0x3c], edx
jae 0x4d34a7
cmp eax, 0x320
jae 0x4d349d
cmp eax, 0x12c
jae 0x4d34d9
cmp eax, 0x46
jae 0x4d34d9
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
cmp ecx, edx
jbe 0x4d34d9
cmp eax, 0x320
jb 0x4d34b1
mov dword [esp + 0x3c], 5
jmp 0x4d34d9
mov dword [esp + 0x3c], 6
jmp 0x4d34d9
cmp eax, 0x12c
jb 0x4d34be
mov dword [esp + 0x3c], edx
jmp 0x4d34d9
cmp eax, 0x46
jb 0x4d34cd
mov dword [esp + 0x3c], 3
jmp 0x4d34d9
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
add ecx, 0xffffffff
mov esi, 1
shl esi, cl
add eax, 7
shr eax, 3
push 0x33c
mov dword [esp + 0x2c], esi
imul esi, eax
mov dword [esp + 0x20], eax
lea eax, [esi*4 + 4]
push 0x100f495c
push eax
mov dword [esp + 0x30], esi
call fcn.004cd55c
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4d3528
push 0x33f
jmp 0x4d3718
mov dword [eax + esi*4], 0
xor esi, esi
cmp dword [esp + 0x24], esi
mov ebx, eax
jbe 0x4d355d
lea ecx, [ecx]
push edi
call fcn.004c52bc
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
mov dword [ecx + esi*4], eax
je 0x4d370c
add esi, 1
cmp esi, dword [esp + 0x24]
jb 0x4d353c
push edi
call fcn.004c52bc
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d3713
push edi
call fcn.004c52bc
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d3713
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.004c53dc
add esp, 8
test eax, eax
je 0x4d372e
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
jbe 0x4d3695
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push edi
call fcn.004c583c
add esp, 0x10
test eax, eax
je 0x4d372e
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx]
push ecx
push eax
call fcn.004c53dc
add esp, 8
add ebx, 4
test eax, eax
je 0x4d372e
mov esi, 1
cmp dword [esp + 0x28], esi
jbe 0x4d362a
lea ebx, [ebx]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx - 4]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
push edi
call fcn.004c57bc
add esp, 0x14
test eax, eax
je 0x4d372e
add esi, 1
add ebx, 4
cmp esi, dword [esp + 0x28]
jb 0x4d35fc
mov eax, dword [esp + 0x1c]
add eax, 0xffffffff
cmp dword [esp + 0x20], eax
jae 0x4d3680
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push edi
call fcn.004c583c
add esp, 0x10
test eax, eax
je 0x4d372e
mov esi, 2
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
push ecx
push eax
push eax
push edi
call fcn.004c583c
add esp, 0x10
test eax, eax
je 0x4d372e
add esi, 1
cmp esi, 8
jb 0x4d365c
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
jb 0x4d35b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push edx
push eax
push esi
push edi
call fcn.004c5aac
add esp, 0x10
test eax, eax
je 0x4d372e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0x100105e0
push 0x10010580
push 0x10010560
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x40]
push ebp
push ecx
mov dword [ebp], edi
mov dword [ebp + 4], 8
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov dword [esp + 0x24], 0
mov dword [ebp + 0x14], esi
call fcn.004c509c
add esp, 0x14
test eax, eax
je 0x4d372e
xor ebp, ebp
mov dword [esp + 0x30], 1
jmp 0x4d372e
push 0x349
jmp 0x4d3718
push 0x350
push 0x100f495c
push 0x41
push 0xbc
push 0x10
call fcn.004cc7cc
add esp, 0x14
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, esi
je 0x4d3741
push eax
call fcn.004c405c
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x4d3752
push eax
call fcn.004c3fdc
add esp, 4
mov ebx, dword [esp + 0x10]
cmp ebp, esi
je 0x4d3763
push ebp
call fcn.004d26ac
add esp, 4
cmp ebx, esi
je 0x4d378b
mov eax, dword [ebx]
test eax, eax
mov esi, ebx
je 0x4d3782
push eax
call fcn.004c536c
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x4d376f
push ebx
call fcn.004cd74c
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d379c
push eax
call fcn.004c536c
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d37ad
push eax
call fcn.004c536c
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret