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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57d1ad
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x57cb16
movzx eax, byte [eax]
test al, al
jne 0x57d14f
call fcn.00580a10
lea eax, [0x90d1c8]
mov dword [esp + 0x78], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x90]
cmp eax, 4
je 0x57d0d2
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0045a038
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
call fcn.004a37e0
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0xc], ecx
call fcn.004a9310
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x57ce94
lea eax, [0x90d5cc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x38]
test eax, eax
je 0x57cd8b
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x57cd3d
cmp eax, 0x17
je 0x57ccef
mov dword [esp], 0x20000027
call fcn.004a3850
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x810f00]
mov dword [esp], edx
call fcn.0040ac80
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x57cce1
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x83f3a1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00446f90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x57ccd5
mov dword [edx + 8], ecx
mov dword [esp + 0x9c], 0
lea eax, [0x98a930]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004a93e0
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
lea edi, [edx + 8]
mov eax, ecx
call fcn.00459d90
jmp 0x57cc97
mov eax, dword [esp + 0x4c]
call fcn.00459d90
jmp 0x57cc31
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.004a8eb0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004a93e0
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.004a8eb0
movzx eax, word [esp + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004a93e0
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
mov dword [esp], 0x20000027
call fcn.004a3850
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x810f00]
mov dword [esp], edx
call fcn.0040ac80
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x57ce86
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x83f3a1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00446f90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x57ce7c
mov dword [edx + 8], eax
mov dword [esp + 0x9c], 0
lea eax, [0x98a930]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004a93e0
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
lea edi, [edx + 8]
call fcn.00459d90
jmp 0x57ce3e
mov eax, dword [esp + 0x4c]
call fcn.00459d90
jmp 0x57cdd8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
call fcn.0057aaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x57d0a7
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x57d050
lea ecx, [0x807300]
cmp dword [eax + 4], ecx
jne 0x57d050
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 0x2af9
jne 0x57d050
mov eax, dword [0xc70f2c]
mov ecx, dword [0xc70f28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x810f00]
mov dword [esp], edx
call fcn.0040ac80
mov edi, dword [esp + 4]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x57d042
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
lea eax, [0x83f3a1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.00446f90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x57d036
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x30]
cmp dword [0xc70f28], eax
je 0x57d003
mov dword [esp + 0x9c], 0
lea eax, [0x98a930]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [0xc70f2c]
mov dword [esp + 8], eax
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x57d030
mov edx, dword [esp + 0x44]
mov byte [edx + 0x1a], 1
jmp 0x57cfd6
mov edx, dword [esp + 0x44]
jmp 0x57cfd6
lea edi, [edx + 8]
mov eax, ecx
call fcn.00459d90
jmp 0x57cfca
mov eax, dword [esp + 0x4c]
call fcn.00459d90
jmp 0x57cf64
nop
lea eax, [0x7f2bc0]
mov dword [esp], eax
call fcn.0040ac80
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x842528]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0xc83da0]
test ecx, ecx
jne 0x57d095
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
lea ecx, [0x98adf0]
jmp 0x57cf13
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x3c]
call fcn.00459d90
mov eax, ecx
jmp 0x57d08a
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x27], 0
call fcn.00580a60
add esp, 0x7c
ret
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x83fad0]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402300
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x57d12c
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706374
jne 0x57d118
mov ecx, 1
jmp 0x57cb3c
cmp dword [ecx], 0x36706374
je 0x57d10e
mov eax, dword [esp + 0x90]
jmp 0x57cb3a
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], 0x34706475
jne 0x57d145
mov ecx, 2
jmp 0x57cb3c
cmp dword [ecx], 0x36706475
je 0x57d13b
jmp 0x57d120
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
call fcn.0057aaf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
add esp, 0x7c
ret
call fcn.00458550
jmp fcn.0057cab0