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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2800
sub esp, 0x70
call fcn.004c22b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp]
mov ebp, dword [esp + 4]
test eax, eax
jne 0x4c259b
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x74]
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x4c25d1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x70
ret
inc ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x4c27d7
mov ebx, dword [ebx + ecx*4]
mov ebp, dword [ebx + 4]
test ebp, ebp
jne 0x4c25e6
mov ebp, dword [ebx + 0x48]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebp
test eax, eax
je 0x4c2602
cmp eax, ebp
jne 0x4c25c8
mov dword [esp + 0x48], ebx
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call fcn.00498470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.00461968
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x44], 1
jne 0x4c2658
mov dword [esp + 0x6c], 1
mov dword [esp + 0x6c], 0x21
mov ecx, dword [eax + 0x40]
cmp ecx, 0x18
ja 0x4c2682
cmp ecx, 9
ja 0x4c2671
cmp ecx, 6
je 0x4c26b1
cmp ecx, 9
je 0x4c26b1
jmp 0x4c26b6
cmp ecx, 0x17
je 0x4c26a2
cmp ecx, 0x18
jne 0x4c26b6
or dword [esp + 0x6c], 0x14
jmp 0x4c26b6
cmp ecx, 0x47
ja 0x4c269a
cmp ecx, 0x25
jne 0x4c2693
or dword [esp + 0x6c], 0x1a
jmp 0x4c26b6
cmp ecx, 0x47
je 0x4c26b1
jmp 0x4c26b6
cmp ecx, 0x83
jne 0x4c26a9
or dword [esp + 0x6c], 0x18
jmp 0x4c26b6
cmp ecx, 0x90
jne 0x4c26b6
or dword [esp + 0x6c], 0x12
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xffffffff
jne 0x4c26c8
mov dword [esp + 0x54], 0xffffffff
jmp 0x4c26cc
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jbe 0x4c2721
lea eax, [0x4f6540]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.004493f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
cmp edx, 8
jle 0x4c270a
mov edx, 8
add ecx, 0x2c
cmp eax, ecx
je 0x4c2721
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00462060
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jb 0x4c2736
mov esi, dword [esp + 0x40]
mov edx, ecx
jmp 0x4c2768
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x501ea0]
mov dword [esp + 0x10], eax
call fcn.004494b0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], esi
mov ecx, dword [0x63b5a0]
lea ebx, [eax - 1]
shl ebx, 5
lea edi, [esi + ebx]
test ecx, ecx
jne 0x4c278a
lea esi, [esp + 0x50]
call fcn.00461e30
jmp 0x4c27b4
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
lea eax, [0x501ea0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
call fcn.0040ff90
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
cmp dword [esp + 0x50], ecx
je 0x4c27d1
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
jmp 0x4c25c8
mov edi, eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
call fcn.00460380
jmp fcn.004c2550