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

Disassembly:
sub esp, 0x88
mov eax, dword [0x72cec4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
mov esi, dword [esp + 0xa8]
push edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x40], edi
push dword [edi + 0x58]
push 0
push dword [edi + 0x5c]
call fcn.00599af0
mov edx, dword [esp + 0xb4]
add esp, 0xc
cmp edx, 3
ja case.default.0x57deed
jmp dword [edx*4 + 0x57e994]
mov ecx, 1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], ecx
jmp 0x57df15
xor ecx, ecx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x78], 1
mov ebp, 0xb
mov dword [esp + 0x70], 3
mov dword [esp + 0x38], ebp
mov dword [esp + 0x7c], 3
jmp 0x57df5f
mov dword [esp + 0x6c], 1
xor ecx, ecx
mov dword [esp + 0x78], 1
mov ebp, 3
mov dword [esp + 0x38], 3
mov dword [esp + 0x7c], 5
mov dword [esp + 0x70], 2
mov eax, dword [edi]
shl esi, 2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], 4
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x84], 0
mov dword [esp + 0x50], eax
cmp edx, 2
je 0x57dfe6
cmp edx, 3
je 0x57dfe6
test ecx, ecx
jne 0x57dfd2
push dword [edi + 0x30]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.0057ef00
add esp, 0x14
cmp dword [esp + 0xa8], 4
jne 0x57dfe6
push esi
push ebp
push dword [edi + 0x30]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.0057ef00
add esp, 0x14
add esi, 4
cmp ebx, dword [esp + 0xa4]
jae 0x57e954
movzx ecx, word [ebx]
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edx
lea eax, [ecx - 3]
cmp eax, 0x9e
ja case.0x57e01c.4
movzx eax, byte [eax + 0x57e9e8]
jmp dword [eax*4 + 0x57e9a4]
test byte [esp + 0xb4], 1
je 0x57e7ec
mov eax, dword [edi + 0x24]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e7ec
or cl, ch
mov dword [esp + 0x30], 1
mov byte [eax], cl
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
jmp 0x57e7ec
test byte [esp + 0xb4], 1
je 0x57e0ed
cmp dword [edi + 0x74], edx
je 0x57e0b3
mov eax, dword [edi + 0x24]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e0b3
or cl, ch
mov dword [esp + 0x30], 1
mov byte [eax], cl
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x40]
test eax, eax
je 0x57e0ed
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e0ed
or cl, ch
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x40]
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 0x48]
test eax, eax
je 0x57e129
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e129
or cl, ch
mov dword [esp + 0x24], 1
mov byte [eax], cl
mov eax, dword [edi + 0x48]
mov dword [esp + 0x88], eax
add ebx, 4
jmp 0x57e7ef
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0xc]
sar eax, 1
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e19d
sar eax, 2
mov dl, 1
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
je 0x57e173
mov ecx, dword [esp + 0x28]
xor edx, edx
jmp 0x57e186
or cl, dl
mov edx, 1
mov byte [eax], cl
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x18], edx
sub eax, ecx
mov ecx, dword [esp + 0x14]
add eax, 2
sar eax, 1
mov eax, dword [ecx + eax*4]
lea ebx, [ebx + eax*2]
add ebx, 4
jmp 0x57e7ef
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
mov dl, 1
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
je 0x57e1dc
xor edx, edx
add ebx, 4
mov dword [esp + 0x18], edx
jmp 0x57e7ef
or cl, dl
mov edx, 1
mov byte [eax], cl
add ebx, 4
mov dword [esp + 0x18], edx
jmp 0x57e7ef
movzx ecx, word [ebx + 4]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x13], 1
lea eax, [eax + ecx*8]
mov dword [esp + 0x88], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e242
or cl, ch
mov dword [esp + 0x24], 2
mov byte [eax], cl
mov eax, dword [esp + 0x88]
add eax, 4
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x57e27f
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e27f
or cl, ch
mov byte [eax], cl
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
mov dword [esp + ecx*4 + 0x88], eax
inc ecx
mov dword [esp + 0x24], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x28]
cmp byte [ecx + eax], dl
jne 0x57e2c1
mov eax, dword [edi + 0x20]
mov byte [esp + 0x13], 1
lea eax, [eax + ecx*4]
mov dword [esp + 0x1c], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e2c1
or cl, ch
mov edx, 1
mov byte [eax], cl
mov dword [esp + 0x18], edx
add ebx, 6
jmp 0x57e7ef
movzx ecx, word [ebx + 4]
mov dl, 1
mov eax, dword [edi + 0x24]
mov dword [esp + 0x2c], ecx
lea eax, [eax + ecx*8]
mov dword [esp + 0x88], eax
sar eax, 2
mov ecx, eax
sar eax, 3
and ecx, 7
shl dl, cl
mov byte [esp + 0x13], dl
mov edx, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
mov dword [esp + 0x14], edx
mov cl, byte [eax + edx]
test ch, cl
jne 0x57e328
or cl, ch
mov dword [esp + 0x24], 2
mov byte [eax + edx], cl
mov eax, dword [esp + 0x88]
mov edx, dword [edi + 0x5c]
add eax, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x48]
test eax, eax
je 0x57e36b
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax + edx]
test ch, cl
jne 0x57e367
or cl, ch
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x48]
mov edx, dword [edi + 0x5c]
mov dword [esp + ecx*4 + 0x88], eax
inc ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov byte [esp + 0x13], 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
sar eax, 2
mov ecx, eax
sar eax, 3
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax + edx]
test ch, cl
je 0x57e3a9
xor edx, edx
mov dword [esp + 0x28], 1
lea eax, [esp + 0x1c]
jmp 0x57e3c6
or cl, ch
mov dword [esp + 0x28], 2
mov byte [eax + edx], cl
mov edx, 1
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x20]
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edx
lea edi, [eax + ecx*4]
mov eax, edi
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [esp + 0x14]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e40c
mov edx, dword [esp + 0x28]
or cl, ch
mov byte [eax], cl
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edx
mov dword [eax], edi
add ebx, 6
jmp 0x57e7ef
movzx eax, word [ebx + 2]
movzx eax, word [ebx + eax*2]
cmp eax, 0x7a
je 0x57e426
cmp eax, 0x7b
jne 0x57e463
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov byte [esp + 0x13], 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e463
or cl, ch
mov edx, 1
mov byte [eax], cl
mov dword [esp + 0x18], edx
add ebx, 4
jmp 0x57e7ef
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e4ac
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e4ac
or cl, ch
mov edx, 1
mov byte [eax], cl
mov dword [esp + 0x18], edx
add ebx, 4
cmp dword [edi + 0x124], 0
mov dword [esp + 0x14], ebx
je 0x57e7f3
mov ax, word [ebx - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
jne 0x57e7f3
jmp 0x57e7ec
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e4ac
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e4ac
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x57e4a8
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e580
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e580
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
add ebx, 6
jmp 0x57e4af
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e7ec
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e7ec
or cl, ch
mov byte [eax], cl
jmp 0x57e7e3
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e7ec
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e7ec
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x57e7e8
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
test eax, eax
je 0x57e676
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e676
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
add ebx, 4
jmp 0x57e7ef
cmp ecx, 0x70
jne 0x57e68d
movzx eax, word [ebx + 2]
mov dword [esp + 0x14], eax
jmp 0x57e695
mov dword [esp + 0x14], 0x11
mov eax, dword [edi + 0xc]
mov ecx, ebx
sub ecx, dword [edi + 8]
sar ecx, 1
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x28], eax
test eax, eax
je 0x57e725
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
lea eax, [ebx + eax*2]
push eax
call fcn.00586d10
add esp, 4
sub eax, 1
je 0x57e720
sub eax, 1
jne 0x57e710
mov eax, dword [esp + 0x28]
mov dl, 1
sar eax, 2
mov ecx, eax
sar eax, 3
add eax, dword [edi + 0x5c]
and ecx, 7
shl dl, cl
mov cl, byte [eax]
test dl, cl
jne 0x57e710
or cl, dl
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax*2]
jmp 0x57e7ef
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [ebx + eax*2]
jmp 0x57e7ef
mov edx, 1
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax*2]
jmp 0x57e7ef
test byte [esp + 0xb4], 1
je 0x57e770
mov eax, dword [edi + 0x40]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e770
or cl, ch
mov dword [esp + 0x30], 1
mov byte [eax], cl
mov eax, dword [edi + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x44]
test eax, eax
je 0x57e7aa
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e7aa
or cl, ch
mov edx, 1
mov byte [eax], cl
mov eax, dword [edi + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
movzx eax, word [ebx + 2]
lea ebx, [ebx + eax*2]
add ebx, 6
jmp 0x57e7ef
mov eax, dword [edi + 0x44]
sar eax, 2
mov ecx, eax
mov byte [esp + 0x13], 1
and ecx, 7
sar eax, 3
add eax, dword [edi + 0x5c]
mov ch, byte [esp + 0x13]
shl ch, cl
mov cl, byte [eax]
test ch, cl
jne 0x57e7ec
or cl, ch
mov byte [eax], cl
mov eax, dword [edi + 0x44]
mov dword [esp + 0x1c], eax
mov edx, 1
mov dword [esp + 0x18], edx
add ebx, 2
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xa8]
cmp eax, 2
je 0x57e861
cmp eax, 3
je 0x57e861
xor edi, edi
test edx, edx
jle 0x57e864
mov ebx, dword [esp + 0x34]
nop
test ebx, ebx
jne 0x57e835
push dword [esp + edi*4 + 0x1c]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.0057ef00
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp eax, 4
jne 0x57e851
push esi
push ebp
push dword [esp + edi*4 + 0x24]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.0057ef00
mov eax, dword [esp + 0xbc]
add esp, 0x14
inc edi
add esi, 4
cmp edi, dword [esp + 0x18]
jl 0x57e810
mov ebx, dword [esp + 0x14]
jmp 0x57e864
lea esi, [esi + edx*4]
cmp eax, 1
je 0x57e8d7
cmp eax, 3
je 0x57e8d7
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x57e8e7
mov ebx, dword [esp + 0x34]
nop word [eax + eax]
test ebx, ebx
jne 0x57e8a8
push dword [esp + edi*4 + 0x88]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.0057ef00
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp eax, 4
jne 0x57e8c7
push esi
push ebp
push dword [esp + edi*4 + 0x90]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.0057ef00
mov eax, dword [esp + 0xbc]
add esp, 0x14
inc edi
add esi, 4
cmp edi, dword [esp + 0x24]
jl 0x57e880
mov ebx, dword [esp + 0x14]
jmp 0x57e8e7
mov ecx, dword [esp + 0x24]
lea esi, [esi + ecx*4]
cmp eax, 1
je 0x57e97a
cmp eax, 4
je 0x57e97a
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x57e943
mov ebx, dword [esp + 0x34]
nop dword [eax]
mov eax, dword [esp + edi*4 + 0x48]
test ebx, ebx
jne 0x57e913
mov ecx, dword [esp + 0x38]
lea ebp, [ebx + 0xd]
mov edx, esi
jmp 0x57e920
mov ebp, dword [esp + 0x38]
mov edx, eax
mov ecx, 0xd
mov eax, esi
push eax
push ebp
push edx
push ecx
lea eax, [esp + 0x60]
push eax
call fcn.0057ef00
inc edi
add esp, 0x14
add esi, 4
cmp edi, dword [esp + 0x30]
jl 0x57e900
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp ebx, dword [esp + 0xa4]
jb 0x57dff6
lea eax, [esp + 0x50]
push eax
call fcn.0057eaf0
mov ecx, dword [esp + 0x98]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00596709
add esp, 0x88
ret
mov eax, dword [esp + 0x30]
lea esi, [esi + eax*4]
jmp 0x57e943
push ebx
push edi
call fcn.0058abd0
add esp, 8
mov ebx, eax
jmp 0x57e947