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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xdc]
cmp eax, dword [ecx + 8]
jbe 0x2c40c20
sub esp, 0x15c
mov eax, 0
lea edi, [esp + 0x148]
call fcn.02b3eb1b
mov byte [esp + 0x2f], 0
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov ecx, dword [esp + 0x160]
mov edx, dword [ecx + 0x28]
test edx, edx
jne 0x2c40440
mov edx, dword [0x311e9a0]
test edx, edx
jne 0x2c40432
lea eax, [0x30f7f20]
mov dword [ecx + 0x28], eax
jmp 0x2c40440
lea edi, [ecx + 0x28]
lea eax, [0x30f7f20]
call fcn.02b3e880
mov byte [ecx + 0x30], 0
mov dword [esp], ecx
call fcn.02c3f6e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
test ebx, ebx
jne 0x2c40c02
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], ebp
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
mov ebx, dword [esp + 0x160]
mov dword [ebx + 0x68], edx
mov edx, dword [0x311e9a0]
test edx, edx
jne 0x2c404a1
mov dword [ebx + 0x64], ecx
jmp 0x2c404af
lea edi, [ebx + 0x64]
mov edx, eax
mov eax, ecx
call fcn.02b3e880
mov eax, edx
mov dword [esp + 0x60], eax
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.02c40c90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x40], edi
test edx, edx
je 0x2c4055a
test eax, eax
je 0x2c4055a
lea edi, [0x2d59e40]
mov dword [esp + 0x150], edi
lea edi, [esp + 0x16c]
mov dword [esp + 0x14c], edi
mov edi, dword [esp + 0x160]
mov dword [esp + 0x148], edi
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], edx
mov byte [esp + 0x2f], 1
mov dword [esp + 0x4c], eax
mov eax, 1
mov byte [esp + 0x2e], al
jmp 0x2c40564
mov dword [esp + 0x44], eax
xor eax, eax
mov byte [esp + 0x2e], al
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.02c49190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x160]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.02c3ce40
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x2c40602
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c405fb
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.02c3cf20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
test edx, edx
je 0x2c40683
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c4067c
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
lea eax, [0x2d194a0]
cmp ebp, eax
je 0x2c40692
mov ebx, 0
mov dword [esp + 0x58], ebx
jne 0x2c40b0c
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.02c41ae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x2c40715
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c4070e
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
mov eax, dword [esp + 0x160]
mov ecx, dword [eax + 0x28]
mov dword [esp], ecx
call fcn.02c36b90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x2c40737
xor edx, edx
jmp 0x2c4073a
movzx edx, word [ecx]
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
cmp ecx, 0x18
jb 0x2c40c09
add esi, 0xffffffe8
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 0x18
mov eax, ebx
lea ebx, [ebp + esi]
cmp ecx, 0x20
jne 0x2c40789
cmp dword [ebx], 0x4e574f44
jne 0x2c40786
mov edi, edx
lea edx, [ebp + esi + 4]
cmp dword [edx], 0x1445247
sete dl
cmp ecx, 0x20
jmp 0x2c40790
cmp ecx, 0x20
mov edi, edx
mov edx, 0
jne 0x2c407a9
cmp dword [ebx], 0x4e574f44
jne 0x2c407a9
lea ecx, [ebp + esi + 4]
cmp dword [ecx], 0x445247
sete cl
jmp 0x2c407ab
xor ecx, ecx
cmp di, 0x304
jne 0x2c407cb
mov ebx, dword [esp + 0x160]
cmp word [ebx + 0x24], 0x303
ja 0x2c407d2
test dl, dl
jne 0x2c407f1
test cl, cl
jne 0x2c407f1
jmp 0x2c407d2
mov ebx, dword [esp + 0x160]
cmp di, 0x303
jne 0x2c4087b
cmp word [ebx + 0x24], 0x302
ja 0x2c4087b
test cl, cl
je 0x2c4087b
mov dword [esp], ebx
mov byte [esp + 4], 0x2f
call fcn.02c3c3c0
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x54
lea ecx, [0x2d539bb]
mov dword [eax], ecx
lea ecx, [0x2da439c]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], eax
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c40874
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
cmp word [ebx + 0x24], 0x304
jne 0x2c4099e
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.02b3eb07
mov dword [esp + 0xe4], ebx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x118], ecx
lea ecx, [esp + 0xe4]
mov dword [esp], ecx
call fcn.02c45840
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x16c], ecx
mov dword [esp + 0x170], edx
movzx ecx, byte [esp + 0x2e]
test cl, 1
je 0x2c40997
and ecx, 0xfffffffe
mov byte [esp + 0x2f], cl
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
lea edi, [esp + 0x88]
xor eax, eax
call fcn.02b3eb09
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xe0], ecx
lea edx, [esp + 0x88]
mov dword [esp], edx
call fcn.02c41c10
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x2c40a65
mov dword [esp + 0x16c], edx
mov dword [esp + 0x170], ebx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c40a5e
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x2c40aae
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x2c40aae
mov edx, dword [esp + 0x54]
cmp ecx, edx
je 0x2c40aae
mov edx, dword [esp + 0x160]
mov edx, dword [edx + 0x28]
mov ebx, dword [edx + 0x84]
mov edx, dword [edx + 0x88]
mov ebx, dword [ebx + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebx
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c40b05
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
mov dword [esp + 0x5c], esi
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x160]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.02c3c3c0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
lea eax, [0x2d194a0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
lea eax, [0x2d5321d]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.02b9a950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], ecx
movzx eax, byte [esp + 0x2e]
test al, 1
je 0x2c40bfb
and eax, 0xfffffffe
mov byte [esp + 0x2f], al
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov ebx, dword [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.02c40c30
add esp, 0x15c
ret
add esp, 0x15c
ret
mov eax, 0x18
call fcn.02b3e960
nop
call fcn.02b123e0
add esp, 0x15c
ret
call fcn.02b3d440
jmp fcn.02c403c0