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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2cd5a1a
sub esp, 0x60
movzx eax, byte [esp + 0x7c]
test al, al
je 0x2cd570c
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
jmp 0x2cd5742
mov dword [esp], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], eax
lea eax, [0x2d3f57d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.02b2a990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x242
mov dword [esp + 0xc], 0x1b6
call fcn.02b97b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x2cd5a02
mov dword [esp + 0x5c], ecx
mov eax, dword [0x30f1958]
mov dword [esp + 0x44], eax
mov ecx, dword [0x30f195c]
mov dword [esp + 0x34], ecx
mov edx, dword [0x30f1960]
mov dword [esp + 0x38], edx
lea ebx, [0x2d224e0]
mov dword [esp], ebx
call fcn.02aeb620
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0x311e9a0]
test eax, eax
jne 0x2cd57ca
mov eax, dword [esp + 0x44]
mov dword [edi], eax
jmp 0x2cd57d3
mov eax, dword [esp + 0x44]
call fcn.02b3e880
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x2da4608]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [0x2da4284]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.02b67fd0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x2cd5a02
nop
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x2cd5843
mov eax, dword [eax]
mov dword [esp], eax
call fcn.02b98a60
mov dword [esp + 4], 0
mov dword [esp], 0xf4240
call fcn.02b3cb80
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.02b65780
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
call fcn.02b65780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x2cd5a02
test ecx, ecx
jne 0x2cd5a02
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
lea eax, [0x2d0a2a0]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov ecx, dword [0x30f6504]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.02b495b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x2cd5a02
mov dword [esp + 0x30], eax
mov eax, 0xa
xor ecx, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
lea eax, [0x2d0aa60]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0x409
mov edx, dword [esp + 0x50]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x78]
shl edx, 1
mov dword [eax + 0x14], edx
mov edx, dword [0x30f65a4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
mov dword [esp + 0xc], 6
call fcn.02b495b0
cmp dword [esp + 0x10], 1
jne 0x2cd5a02
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10], ecx
call fcn.02cd5380
movzx eax, byte [esp + 0x14]
test al, al
je 0x2cd5a02
lea eax, [0x2d0a2a0]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov dword [eax + 4], 0
mov ecx, dword [0x30f6528]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.02b495b0
cmp dword [esp + 0x10], 1
je 0x2cd5a0e
mov byte [esp + 0x80], 0
add esp, 0x60
ret
mov byte [esp + 0x80], 1
add esp, 0x60
ret
call fcn.02b3d440
jmp fcn.02cd56e0