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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c825e
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.005a59e0
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 0x5c7ee6
cmp ebx, 1
jne 0x5c7b6f
mov eax, dword [0x981cf8]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
lea ebx, [0x981cf8]
cmp dword [ebx + 4], edx
jne 0x5c783f
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c788e
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0x729b25]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6e2c60]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x6e0a40]
mov dword [esp], ecx
call fcn.0040b7f0
mov edi, dword [esp + 4]
mov dword [esp + 0x2c], edi
mov eax, dword [0x9b1930]
test eax, eax
jne 0x5c78cc
mov eax, dword [esp + 0x40]
mov dword [edi], eax
jmp 0x5c78d5
mov eax, dword [esp + 0x40]
call fcn.00463350
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.005b1e70
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c7b20
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
mov dword [esp], edx
lea ebx, [0x7140e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c7ad1
lea eax, [esp + 0x5c]
mov dword [esp], eax
lea eax, [0x6ba520]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 4]
mov dword [esp + 8], ecx
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c7a82
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c7963
xor ecx, ecx
jmp 0x5c7976
movzx ecx, byte [ecx]
test cl, cl
je 0x5c7971
mov ecx, 0xffffffff
jmp 0x5c7976
mov ecx, 1
test ecx, ecx
jle 0x5c7a33
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5c79e4
lea eax, [0x6e0980]
mov dword [esp], eax
call fcn.0040b7f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x9b1930]
mov eax, dword [eax]
test ecx, ecx
jne 0x5c79b1
mov dword [edi], eax
jmp 0x5c79b6
call fcn.00463350
lea eax, [0x6dd280]
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, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x72dbe2]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0x72b59d]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x7281b5]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x19
lea ecx, [0x7238a5]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x725553]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
cmp ebx, 2
jne 0x5c7fec
lea eax, [0x6e2c60]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
lea ecx, [0x7140e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c7e97
lea eax, [0x6e2c60]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
lea ecx, [0x6e2c60]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
lea ecx, [0x6e2c60]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x6e07a0]
mov dword [esp], ecx
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x5c7c34
mov ecx, dword [esp + 0x1c]
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 0x5c7c67
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x1c]
call fcn.00463350
mov edi, ecx
mov eax, dword [esp + 0x40]
call fcn.00463350
lea edx, [ecx + 4]
mov eax, dword [esp + 0x3c]
mov edi, edx
call fcn.00463350
lea edi, [ecx + 8]
mov eax, dword [esp + 0x38]
call fcn.00463350
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.005b1e70
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c7ca5
mov eax, 1
jmp 0x5c7cfe
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea ebx, [0x7140e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c7cd5
mov eax, 1
jmp 0x5c7cfe
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea ebx, [0x7140e0]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x5c7e48
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x44]
mov dword [esp], edx
lea edx, [0x7140e0]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.005b08c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5c7e48
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c7d46
xor ecx, ecx
jmp 0x5c7d59
movzx ecx, byte [ecx]
test cl, cl
je 0x5c7d54
mov ecx, 0xffffffff
jmp 0x5c7d59
mov ecx, 1
test ecx, ecx
jle 0x5c7dcb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c7d6a
xor ecx, ecx
jmp 0x5c7d7d
movzx ecx, byte [ecx]
test cl, cl
je 0x5c7d78
mov ecx, 0xffffffff
jmp 0x5c7d7d
mov ecx, 1
test ecx, ecx
jle 0x5c7dcb
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c7d8f
xor ecx, ecx
jmp 0x5c7da2
movzx ecx, byte [ecx]
test cl, cl
je 0x5c7d9d
mov ecx, 0xffffffff
jmp 0x5c7da2
mov ecx, 1
test ecx, ecx
jle 0x5c7dcb
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5c7db4
xor ecx, ecx
jmp 0x5c7dc7
movzx ecx, byte [ecx]
test cl, cl
je 0x5c7dc2
mov ecx, 0xffffffff
jmp 0x5c7dc7
mov ecx, 1
test ecx, ecx
jg 0x5c7e1a
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0x7294ef]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea ecx, [0x6b5220]
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, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x72551b]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
lea ecx, [0x725537]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
cmp ebx, 3
je 0x5c801c
cmp ebx, 4
jne 0x5c7fec
mov ebx, dword [esp + 0x7c]
mov ebx, dword [ebx + 0x34]
test ebx, ebx
jne 0x5c7f9d
cmp ecx, 0x20
je 0x5c7f5b
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0x728ec0]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
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.00409250
mov eax, dword [esp + 0xc]
lea ecx, [0x6d7f80]
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, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x72d7cb]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
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.005b1680
movzx eax, byte [esp + 8]
test al, al
je 0x5c820f
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.005d56d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x5c81c0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.0059dfa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5c8171
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
lea eax, [0x703ca0]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x9b1930]
test ecx, ecx
jne 0x5c811b
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
jmp 0x5c8143
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x30]
call fcn.00463350
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.00463350
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x20]
call fcn.00463350
mov eax, ecx
lea ecx, [0x6ffe60]
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, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x72c9c6]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0x7278b0]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0x6dab40]
mov dword [esp], eax
call fcn.0040b7f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1e
lea ecx, [0x7267d6]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x79d538]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
call fcn.00461f40
jmp fcn.005c77a0