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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c2986
sub esp, 0x68
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x4c2555
nop
cmp ecx, 1
jne 0x4c2366
mov edx, dword [esp + 0x6c]
cmp byte [edx], 0x2e
je 0x4c239a
jmp 0x4c236a
mov edx, dword [esp + 0x6c]
cmp ecx, 2
jl 0x4c2409
lea ebx, [ecx + edx - 1]
cmp byte [ebx], 0x2e
jne 0x4c2409
lea eax, [ecx - 2]
cmp ecx, eax
jbe 0x4c2980
movzx eax, byte [ecx + edx - 2]
cmp al, 0x5c
je 0x4c239a
cmp al, 0x2f
jne 0x4c2409
lea eax, [0x6440a0]
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x6623c3]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x84c7c0]
test ecx, ecx
jne 0x4c23d5
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
jmp 0x4c23e5
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0045e710
mov eax, ecx
lea ecx, [0x6c3af0]
mov dword [eax + 0x10], ecx
lea ecx, [0x6c0e68]
mov dword [eax + 0x14], ecx
lea ecx, [0x6c3410]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004c1620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4c2456
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ecx
mov eax, dword [0x825418]
mov ebx, dword [0x82541c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4c246a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c2a20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x4c2530
lea eax, [0x6c3410]
cmp edx, eax
je 0x4c24ad
mov ecx, 0
jne 0x4c2524
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x3c], ebx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [0x825418]
mov ebp, dword [0x82541c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c2508
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test ecx, ecx
je 0x4c251c
lea edx, [0x647fe0]
cmp dword [ecx + 4], edx
jne 0x4c251c
cmp dword [eax], 3
jne 0x4c251c
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
add esp, 0x68
ret
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x4c2569
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
nop
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004c0500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x4c269d
mov dword [esp + 0x5c], ecx
jmp 0x4c2702
nop
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4c25d6
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004c1470
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [0x8250e4]
cmp dword [0x8250e0], edx
jne 0x4c260d
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00403610
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4c2844
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c261b
mov ebp, eax
mov esi, dword [esp + 0x4c]
test ecx, ecx
je 0x4c2844
cmp ecx, 0x400
jge 0x4c2569
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c1620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4c2830
mov eax, dword [0x825418]
mov ebx, dword [0x82541c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c2830
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c2569
jmp 0x4c2820
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ebx
mov eax, dword [0x825418]
mov ecx, dword [0x82541c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4c26e2
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edx
mov dword [esp], ecx
mov dword [esp + 4], 0x400
call fcn.004bdc60
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
xor edi, edi
jmp 0x4c2791
mov eax, dword [esp + 0x24]
cmp eax, 0x400
je 0x4c26f6
jmp 0x4c25af
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 1]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
cmp edi, ecx
jge 0x4c2756
mov dword [esp + 0x34], edi
lea ecx, [eax + edi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], 0
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
lea esi, [0x660e9f]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
call fcn.0044aae0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c2330
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4c2807
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
jmp 0x4c2809
mov edx, eax
test edx, edx
je 0x4c2817
mov edx, dword [esp + 0x24]
inc edx
jmp 0x4c2766
mov edx, dword [esp + 0x24]
jmp 0x4c2766
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c1620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test eax, eax
je 0x4c289d
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x825418]
mov ebx, dword [0x82541c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4c28b1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [0x825420]
mov ecx, dword [0x825424]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004be7d0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4c28ef
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
jmp 0x4c2974
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.004c2990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x4c291d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
jmp 0x4c2974
mov eax, dword [ecx + 0x18]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
or eax, 0x80
mov dword [esp + 8], eax
call fcn.004c07a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c2958
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
jmp 0x4c2974
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004c1620
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.0045e790
nop
call fcn.0045d2d0
jmp fcn.004c2330