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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x2c1fade
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.02bda0d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 2
jg 0x2c1f766
cmp ebx, 1
jne 0x2c1f3ef
mov eax, dword [0x30f1cb8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
lea ebx, [0x30f1cb8]
cmp dword [ebx + 4], edx
jne 0x2c1f0bf
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.02ae2800
movzx eax, byte [esp + 0xc]
test al, al
jne 0x2c1f10e
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x2d4cd01]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d1c900]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x2d1c1e0]
mov dword [esp], ecx
call fcn.02aeb620
mov edi, dword [esp + 4]
mov dword [esp + 0x2c], edi
mov eax, dword [0x311e9a0]
test eax, eax
jne 0x2c1f14c
mov eax, dword [esp + 0x40]
mov dword [edi], eax
jmp 0x2c1f155
mov eax, dword [esp + 0x40]
call fcn.02b3e880
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.02be62a0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c1f3a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
mov dword [esp], edx
lea ebx, [0x2d3e3e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c1f351
lea eax, [esp + 0x5c]
mov dword [esp], eax
lea eax, [0x2d01ac0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 4]
mov dword [esp + 8], ecx
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c1f302
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x2c1f1e3
xor ecx, ecx
jmp 0x2c1f1f6
movzx ecx, byte [ecx]
test cl, cl
je 0x2c1f1f1
mov ecx, 0xffffffff
jmp 0x2c1f1f6
mov ecx, 1
test ecx, ecx
jle 0x2c1f2b3
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x2c1f264
lea eax, [0x2d1bb20]
mov dword [esp], eax
call fcn.02aeb620
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x311e9a0]
mov eax, dword [eax]
test ecx, ecx
jne 0x2c1f231
mov dword [edi], eax
jmp 0x2c1f236
call fcn.02b3e880
lea eax, [0x2d18d80]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x2d50d41]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x2d4ea0f]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x2d4b3db]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x2d478cd]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x2d48e89]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
cmp ebx, 2
jne 0x2c1f86c
lea eax, [0x2d1c900]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
lea ecx, [0x2d3e3e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c1f717
lea eax, [0x2d1c900]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x2d1c900]
mov dword [esp], ecx
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea ecx, [0x2d1c900]
mov dword [esp], ecx
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x2d1ba60]
mov dword [esp], ecx
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [0x311e9a0]
test ecx, ecx
jne 0x2c1f4b4
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
jmp 0x2c1f4e7
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x20]
call fcn.02b3e880
mov edi, ecx
mov eax, dword [esp + 0x40]
call fcn.02b3e880
lea edx, [ecx + 4]
mov eax, dword [esp + 0x3c]
mov edi, edx
call fcn.02b3e880
lea edi, [ecx + 8]
mov eax, dword [esp + 0x38]
call fcn.02b3e880
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.02be62a0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x2c1f525
mov eax, 1
jmp 0x2c1f57e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea ebx, [0x2d3e3e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x2c1f555
mov eax, 1
jmp 0x2c1f57e
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea ebx, [0x2d3e3e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x2c1f6c8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea edx, [0x2d3e3e0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.02be4fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x2c1f6c8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x2c1f5c6
xor ecx, ecx
jmp 0x2c1f5d9
movzx ecx, byte [ecx]
test cl, cl
je 0x2c1f5d4
mov ecx, 0xffffffff
jmp 0x2c1f5d9
mov ecx, 1
test ecx, ecx
jle 0x2c1f64b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x2c1f5ea
xor ecx, ecx
jmp 0x2c1f5fd
movzx ecx, byte [ecx]
test cl, cl
je 0x2c1f5f8
mov ecx, 0xffffffff
jmp 0x2c1f5fd
mov ecx, 1
test ecx, ecx
jle 0x2c1f64b
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x2c1f60f
xor ecx, ecx
jmp 0x2c1f622
movzx ecx, byte [ecx]
test cl, cl
je 0x2c1f61d
mov ecx, 0xffffffff
jmp 0x2c1f622
mov ecx, 1
test ecx, ecx
jle 0x2c1f64b
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x2c1f634
xor ecx, ecx
jmp 0x2c1f647
movzx ecx, byte [ecx]
test cl, cl
je 0x2c1f642
mov ecx, 0xffffffff
jmp 0x2c1f647
mov ecx, 1
test ecx, ecx
jg 0x2c1f69a
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x2d4c784]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea ecx, [0x2d008c0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x2d48e51]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x2d48e6d]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
cmp ebx, 3
je 0x2c1f89c
cmp ebx, 4
jne 0x2c1f86c
mov ebx, dword [esp + 0x7c]
mov ebx, dword [ebx + 0x34]
test ebx, ebx
jne 0x2c1f81d
cmp ecx, 0x20
je 0x2c1f7db
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x2d4c07d]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.02ae8f60
mov eax, dword [esp + 0xc]
lea ecx, [0x2d14e80]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x2d5095b]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x50]
mov dword [esp], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
call fcn.02be5d90
movzx eax, byte [esp + 8]
test al, al
je 0x2c1fa8f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.02c2b960
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x2c1fa40
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.02bccc00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x2c1f9f1
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x2d31b20]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x311e9a0]
test ecx, ecx
jne 0x2c1f99b
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
jmp 0x2c1f9c3
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.02b3e880
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.02b3e880
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x1c]
call fcn.02b3e880
mov eax, ecx
lea ecx, [0x2d2ec60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x2d4fcce]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x2d4ac20]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x2d17160]
mov dword [esp], eax
call fcn.02aeb620
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1e
lea ecx, [0x2d49d5b]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x2da439c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
call fcn.02b3d440
jmp fcn.02c1f020