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

Disassembly:
sub esp, 0x88
mov eax, dword [0x71c56c]
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.00591af0
mov edx, dword [esp + 0xb4]
add esp, 0xc
cmp edx, 3
ja case.default.0x575eed
jmp dword [edx*4 + 0x576994]
mov ecx, 1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], ecx
jmp 0x575f15
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 0x575f5f
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 0x575fe6
cmp edx, 3
je 0x575fe6
test ecx, ecx
jne 0x575fd2
push dword [edi + 0x30]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.00576f00
add esp, 0x14
cmp dword [esp + 0xa8], 4
jne 0x575fe6
push esi
push ebp
push dword [edi + 0x30]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.00576f00
add esp, 0x14
add esi, 4
cmp ebx, dword [esp + 0xa4]
jae 0x576954
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.0x57601c.4
movzx eax, byte [eax + 0x5769e8]
jmp dword [eax*4 + 0x5769a4]
test byte [esp + 0xb4], 1
je 0x5767ec
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 0x5767ec
or cl, ch
mov dword [esp + 0x30], 1
mov byte [eax], cl
mov eax, dword [edi + 0x24]
mov dword [esp + 0x48], eax
jmp 0x5767ec
test byte [esp + 0xb4], 1
je 0x5760ed
cmp dword [edi + 0x74], edx
je 0x5760b3
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 0x5760b3
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 0x5760ed
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 0x5760ed
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 0x576129
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 0x576129
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 0x5767ef
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 0x57619d
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 0x576173
mov ecx, dword [esp + 0x28]
xor edx, edx
jmp 0x576186
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 0x5767ef
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 0x5761dc
xor edx, edx
add ebx, 4
mov dword [esp + 0x18], edx
jmp 0x5767ef
or cl, dl
mov edx, 1
mov byte [eax], cl
add ebx, 4
mov dword [esp + 0x18], edx
jmp 0x5767ef
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 0x576242
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 0x57627f
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 0x57627f
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 0x5762c1
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 0x5762c1
or cl, ch
mov edx, 1
mov byte [eax], cl
mov dword [esp + 0x18], edx
add ebx, 6
jmp 0x5767ef
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 0x576328
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 0x57636b
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 0x576367
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 0x5763a9
xor edx, edx
mov dword [esp + 0x28], 1
lea eax, [esp + 0x1c]
jmp 0x5763c6
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 0x57640c
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 0x5767ef
movzx eax, word [ebx + 2]
movzx eax, word [ebx + eax*2]
cmp eax, 0x7a
je 0x576426
cmp eax, 0x7b
jne 0x576463
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 0x576463
or cl, ch
mov edx, 1
mov byte [eax], cl
mov dword [esp + 0x18], edx
add ebx, 4
jmp 0x5767ef
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 0x5764ac
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 0x5764ac
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 0x5767f3
mov ax, word [ebx - 2]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xd800
cmp ax, cx
jne 0x5767f3
jmp 0x5767ec
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 0x5764ac
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 0x5764ac
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x5764a8
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 0x576580
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 0x576580
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 0x5764af
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 0x5767ec
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 0x5767ec
or cl, ch
mov byte [eax], cl
jmp 0x5767e3
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 0x5767ec
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 0x5767ec
or cl, ch
mov edx, 2
mov byte [eax], cl
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x20], eax
jmp 0x5767e8
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 0x576676
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 0x576676
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 0x5767ef
cmp ecx, 0x70
jne 0x57668d
movzx eax, word [ebx + 2]
mov dword [esp + 0x14], eax
jmp 0x576695
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 0x576725
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 1
lea eax, [ebx + eax*2]
push eax
call fcn.0057ed10
add esp, 4
sub eax, 1
je 0x576720
sub eax, 1
jne 0x576710
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 0x576710
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 0x5767ef
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ebx, [ebx + eax*2]
jmp 0x5767ef
mov edx, 1
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax*2]
jmp 0x5767ef
test byte [esp + 0xb4], 1
je 0x576770
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 0x576770
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 0x5767aa
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 0x5767aa
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 0x5767ef
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 0x5767ec
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 0x576861
cmp eax, 3
je 0x576861
xor edi, edi
test edx, edx
jle 0x576864
mov ebx, dword [esp + 0x34]
nop
test ebx, ebx
jne 0x576835
push dword [esp + edi*4 + 0x1c]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.00576f00
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp eax, 4
jne 0x576851
push esi
push ebp
push dword [esp + edi*4 + 0x24]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.00576f00
mov eax, dword [esp + 0xbc]
add esp, 0x14
inc edi
add esi, 4
cmp edi, dword [esp + 0x18]
jl 0x576810
mov ebx, dword [esp + 0x14]
jmp 0x576864
lea esi, [esi + edx*4]
cmp eax, 1
je 0x5768d7
cmp eax, 3
je 0x5768d7
xor edi, edi
cmp dword [esp + 0x24], edi
jbe 0x5768e7
mov ebx, dword [esp + 0x34]
nop word [eax + eax]
test ebx, ebx
jne 0x5768a8
push dword [esp + edi*4 + 0x88]
lea eax, [esp + 0x54]
push 0xd
push esi
push ebp
push eax
call fcn.00576f00
mov eax, dword [esp + 0xbc]
add esp, 0x14
cmp eax, 4
jne 0x5768c7
push esi
push ebp
push dword [esp + edi*4 + 0x90]
lea eax, [esp + 0x5c]
push 0xd
push eax
call fcn.00576f00
mov eax, dword [esp + 0xbc]
add esp, 0x14
inc edi
add esi, 4
cmp edi, dword [esp + 0x24]
jl 0x576880
mov ebx, dword [esp + 0x14]
jmp 0x5768e7
mov ecx, dword [esp + 0x24]
lea esi, [esi + ecx*4]
cmp eax, 1
je 0x57697a
cmp eax, 4
je 0x57697a
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x576943
mov ebx, dword [esp + 0x34]
nop dword [eax]
mov eax, dword [esp + edi*4 + 0x48]
test ebx, ebx
jne 0x576913
mov ecx, dword [esp + 0x38]
lea ebp, [ebx + 0xd]
mov edx, esi
jmp 0x576920
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.00576f00
inc edi
add esp, 0x14
add esi, 4
cmp edi, dword [esp + 0x30]
jl 0x576900
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
cmp ebx, dword [esp + 0xa4]
jb 0x575ff6
lea eax, [esp + 0x50]
push eax
call fcn.00576af0
mov ecx, dword [esp + 0x98]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058e709
add esp, 0x88
ret
mov eax, dword [esp + 0x30]
lea esi, [esi + eax*4]
jmp 0x576943
push ebx
push edi
call fcn.00582bd0
add esp, 8
mov ebx, eax
jmp 0x576947