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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2c5971a
sub esp, 0x6c
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c592a8
jmp 0x2c592b1
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x58]
test eax, eax
je 0x2c593e8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
nop
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 3
lea ecx, [esp + 0x60]
mov dword [esp + 8], ecx
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c593df
lea eax, [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c593df
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
mov esi, dword [edx + 8]
mov eax, edx
lea edx, [ebx + 1]
cmp esi, edx
jae 0x2c5939f
lea eax, [0x2d07180]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.02b27650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x74]
mov dword [edi + 8], edx
mov edx, dword [0x311e9a0]
test edx, edx
jne 0x2c59394
mov dword [edi], eax
jmp 0x2c59399
call fcn.02b3e880
mov ebp, eax
mov ebx, ecx
mov eax, edi
lea edx, [ebx + 1]
mov dword [eax + 4], edx
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov ecx, ebx
mov ebx, dword [esp + 0x68]
mov dword [ebp + edx*4 + 4], esi
mov dword [ebp + edx*4 + 8], ebx
mov ebx, dword [0x311e9a0]
lea edi, [ebp + edx*4]
test ebx, ebx
jne 0x2c593d2
mov dword [ebp + edx*4], ecx
jmp 0x2c593f3
mov edx, eax
mov eax, ecx
call fcn.02b3e880
mov eax, edx
jmp 0x2c593f3
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 1
add esp, 0x6c
ret
mov eax, edx
mov edx, dword [esp + 0x40]
test edx, edx
je 0x2c592b1
mov word [esp + 0x22], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
cmp ebx, 2
jge 0x2c59435
xor ecx, ecx
xor edx, edx
jmp 0x2c59456
add ebx, 0xfffffffe
mov dword [esp + 0x40], ebx
lea ebx, [ebp - 2]
mov dword [esp + 0x44], ebx
neg ebx
sar ebx, 0x1f
and ebx, 2
add ebx, edx
mov dword [esp + 0x3c], ebx
mov ecx, 2
test edx, edx
je 0x2c5947e
test ecx, ecx
jbe 0x2c59712
movzx ebx, byte [edx]
cmp ecx, 1
jbe 0x2c59708
shl ebx, 8
movzx ecx, byte [edx + 1]
or ebx, ecx
mov word [esp + 0x22], bx
test edx, edx
je 0x2c595e4
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c595e4
mov edx, dword [esp + 0x74]
cmp dword [edx + 4], 1
jg 0x2c593f1
movzx ebx, word [esp + 0x22]
cmp bx, 5
jne 0x2c5956c
mov byte [esp + 0x21], 0
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
cmp ebp, 1
jge 0x2c594e6
xor eax, eax
xor ebx, ebx
jmp 0x2c59509
dec ebp
mov dword [esp + 0x4c], ebp
lea ebp, [esi - 1]
mov dword [esp + 0x50], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, ebx
mov dword [esp + 0x48], ebp
mov eax, 1
test ebx, ebx
je 0x2c59520
test eax, eax
jbe 0x2c596ff
movzx ebp, byte [ebx]
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
test ebx, ebx
je 0x2c5955a
cmp byte [esp + 0x21], 1
je 0x2c59530
mov eax, 1
jmp 0x2c5955f
nop
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [edx + 0x20]
mov dword [esp + 8], eax
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
xor eax, 1
mov edx, dword [esp + 0x74]
jmp 0x2c5955f
mov eax, 1
test al, al
jne 0x2c595d2
mov ebx, dword [edx + 0x24]
test ebx, ebx
jne 0x2c595c1
jmp 0x2c595d2
cmp bx, 0x12
jne 0x2c593f1
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c595db
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x2c595ed
jmp 0x2c595db
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x2c593f1
jmp 0x2c596f6
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov edx, dword [esp + 0x28]
test edx, edx
je 0x2c595bd
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 2
lea ecx, [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.02be78c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c596ed
mov edx, dword [esp + 0x34]
test edx, edx
je 0x2c596ed
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x30]
lea ebp, [ebx + 1]
mov esi, dword [edx + 0x2c]
mov eax, edx
mov edx, dword [edx + 0x34]
cmp edx, ebp
jae 0x2c596a9
lea eax, [0x2d07180]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.02b27650
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x34], edx
mov edx, dword [0x311e9a0]
test edx, edx
jne 0x2c59699
mov dword [ebx + 0x2c], eax
jmp 0x2c596a1
lea edi, [ebx + 0x2c]
call fcn.02b3e880
mov esi, eax
mov ebx, ecx
mov eax, dword [esp + 0x74]
lea edx, [ebx + 1]
mov dword [eax + 0x30], edx
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov ecx, ebx
mov ebx, dword [esp + 0x38]
mov dword [esi + edx*4 + 4], ebp
mov dword [esi + edx*4 + 8], ebx
mov ebx, dword [0x311e9a0]
lea edi, [esi + edx*4]
test ebx, ebx
jne 0x2c596dd
mov dword [esi + edx*4], ecx
jmp 0x2c595ed
mov edx, eax
mov eax, ecx
call fcn.02b3e880
mov eax, edx
jmp 0x2c595ed
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov byte [esp + 0x78], 0
add esp, 0x6c
ret
mov ecx, eax
xor eax, eax
call fcn.02b3e900
mov eax, 1
call fcn.02b3e900
xor eax, eax
call fcn.02b3e900
nop
call fcn.02b3d440
jmp fcn.02c59250