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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa48
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5b4], ebx
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x57eb89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax - 0x7ab0], edx
cmp byte [ebp + 0xc], 0
jbe 0x57de7a
mov al, byte [ebp + 0xc]
dec eax
test al, al
jb 0x57de7a
inc eax
mov edx, dword [ebp + 0x10]
lea ebx, [edx - 0x7b14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx]
add dword [edx - 0x7ab0], ecx
add ebx, 4
dec al
jne 0x57de68
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7ab0]
cmp eax, dword [ebp - 8]
jle 0x57deab
mov cl, byte [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7ab0]
sub eax, dword [ebp - 8]
shl eax, cl
sub dword [ebp - 0x10], eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7ab0]
mov dword [ebp - 8], eax
mov cl, byte [ebp + 8]
mov esi, dword [ebp - 0x10]
shr esi, cl
add esi, dword [ebp - 8]
mov dl, byte [ebp + 0xc]
dec edx
sub dl, 2
jb 0x57dec8
sub dl, 1
je 0x57dec8
xor edx, edx
jmp 0x57deca
mov dl, 1
and edx, 0x7f
xor eax, eax
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4 - 0x7b14]
mov ecx, eax
sub ecx, edx
mov edx, dword [ebp + 0x10]
add ecx, dword [edx - 0x7ab0]
cmp esi, ecx
jle 0x57df21
mov dl, byte [ebp + 0xc]
dec edx
sub dl, 2
jb 0x57deff
sub dl, 1
je 0x57deff
xor edx, edx
jmp 0x57df01
mov dl, 1
and edx, 0x7f
xor ecx, ecx
mov cl, byte [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
sub eax, edx
mov edx, dword [ebp + 0x10]
add eax, dword [edx - 0x7ab0]
sub esi, eax
mov cl, byte [ebp + 8]
shl esi, cl
sub dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0
jle 0x57df5a
cmp byte [ebp + 0xc], 2
jne 0x57df5a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7ab0]
cmp eax, dword [ebp - 8]
jne 0x57df5a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x21c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
add dword [ebp - 8], eax
mov cl, byte [ebp + 8]
shl eax, cl
sub dword [ebp - 0x10], eax
add dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
jle 0x57eb65
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0057a7ec
pop ecx
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0057a864
pop ecx
push ebp
mov eax, dword [0x671cfc]
mov al, byte [eax]
call fcn.0057ae34
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7b18]
mov edx, dword [ebp - 0x10]
call fcn.006518f4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7b18]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0xc4]
mov edx, dword [ebp - 0x14]
call fcn.00574bac
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7b18]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push ebp
call fcn.0057b368
pop ecx
push ebp
call fcn.0057b30c
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp dword [eax - 0x2dc], 0xffffffff
jne 0x57e003
push ebp
push ebp
call fcn.0057b3e8
pop ecx
call fcn.0057d430
pop ecx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jge 0x57ea9f
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
call fcn.0057a864
pop ecx
test al, al
je 0x57e036
push ebp
mov al, byte [0x57eb9c]
call fcn.0057ae34
pop ecx
push ebp
call fcn.0057b30c
pop ecx
push ebp
call fcn.0057d84c
pop ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x79c0], 0
je 0x57e062
mov eax, dword [ebp + 0x10]
push eax
push ebp
call fcn.0057b3e8
pop ecx
call fcn.0057aa80
pop ecx
test al, al
je 0x57ea8a
mov eax, dword [ebp + 0x10]
cmp byte [eax - 0x79e0], 0
je 0x57e09f
cmp byte [ebp + 8], 0
jne 0x57e08a
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
movzx eax, byte [eax + edx]
call fcn.0057c880
pop ecx
jmp 0x57ea8a
push ebp
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov ax, word [eax]
call fcn.0057c880
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
push eax
call fcn.0057ad74
pop ecx
test al, al
je 0x57e184
cmp byte [ebp + 8], 0
jne 0x57e12b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov bl, byte [eax + edx]
cmp bl, 0x1f
jbe 0x57ea8a
lea eax, [ebp - 0x5b8]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov edx, ebx
call fcn.00403418
mov eax, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x5b4]
mov edx, dword [ebp - 4]
call fcn.00658188
mov edx, dword [ebp - 0x5b4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x280]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*4 - 0x2d4]
call fcn.00403ac4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x280]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 8]
jmp 0x57ea8a
mov ebx, dword [ebp - 0x18]
add ebx, dword [ebp - 0xc]
cmp word [ebx], 0x1f
jbe 0x57ea8a
lea eax, [ebp - 0x5b4]
mov dx, word [ebx]
call fcn.00403990
mov edx, dword [ebp - 0x5b4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x280]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
lea eax, [ecx + eax*4 - 0x2d4]
call fcn.00403ac4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x280]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 8]
jmp 0x57ea8a
cmp byte [ebp + 8], 0
jne 0x57e1c4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
cmp al, 0x80
jae 0x57e1a8
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
and eax, 0xff
mov word [ebp - 0x22], ax
jmp 0x57e1d1
push 1
lea eax, [ebp - 0x22]
push eax
push 1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
jmp 0x57e1d1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov ax, word [eax]
mov word [ebp - 0x22], ax
movzx eax, word [ebp - 0x22]
cmp eax, 0x13
jg 0x57e213
je 0x57e995
add eax, 0xfffffff9
cmp eax, 7
ja case.0x57e1ec.8
jmp dword [eax*4 + 0x57e1f3]
cmp eax, 0x96
jg 0x57e241
je 0x57ea0e
add eax, 0xffffffec
sub eax, 2
jb 0x57ea8a
sub eax, 8
je 0x57e9e3
dec eax
je 0x57e9fa
jmp case.0x57e1ec.8
sub eax, 0x97
je 0x57ea25
sub eax, 9
je 0x57ea3c
jmp case.0x57e1ec.8
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x430], 0
je 0x57e290
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7988], 1
je 0x57e284
push ebp
mov al, 1
call fcn.0057b404
pop ecx
push ebp
call fcn.0057b660
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
movsx eax, byte [eax - 0x7990]
cmp ax, 1
jne 0x57ea8a
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7988], 1
jne 0x57e2e7
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x796c], 0x80000000
jne 0x57e2e7
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
mov byte [eax + 0x3c], 0
push ebp
mov al, 1
call fcn.0057b404
pop ecx
push ebp
call fcn.0057b660
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7988], 1
jne 0x57e6a4
mov dl, 1
mov eax, dword [0x545338]
call fcn.00402898
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x796c]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xd8], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7984], 0x80000000
je 0x57e33e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7984]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7980], 0x80000000
jne 0x57e358
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax - 0x7980], edx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7980]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7980]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7968]
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x797c], 0x80000000
je 0x57e3a3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x797c]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7978], 0x80000000
je 0x57e3c8
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7978], 0
setne al
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x2750], al
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7974], 0x80000000
je 0x57e3ed
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7974], 0
setne al
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x2751], al
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x40]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa894
call fcn.0057ddd8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x24]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa8b0
call fcn.0057ddd8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x78]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa8cc
call fcn.0057ddd8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x5c]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa8e8
call fcn.0057ddd8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x94]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa904
call fcn.0057ddd8
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0xb0]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa920
call fcn.0057ddd8
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x7970], 0x80000000
jne 0x57e483
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xcc], 0xff000000
jmp 0x57e495
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x7970]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xcc], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x52b4], 0x80000000
je 0x57e4b3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x52b4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xd8]
dec eax
test eax, eax
jl 0x57e5f7
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x10]
lea ebx, [eax - 0x7964]
mov eax, dword [ebp + 0x10]
lea esi, [eax - 0x77ec]
mov eax, dword [ebp + 0x10]
add eax, 0xffffa93c
mov dword [ebp - 0x34], eax
imul eax, dword [ebp - 0x20], 0x27
mov edx, dword [ebp - 0x28]
lea edi, [edx + eax*4 + 0xdc]
lea eax, [edi + 4]
mov edx, 4
call fcn.00623a58
mov eax, dword [ebx]
mov dword [edi], eax
mov al, byte [esi]
mov byte [edi + 0x14], al
mov eax, dword [esi - 0x78]
cmp eax, 0x80000000
jne 0x57e521
mov byte [edi + 0x16], 0
jmp 0x57e529
test eax, eax
setne al
mov byte [edi + 0x16], al
mov eax, dword [esi - 0x7c]
cmp eax, 0x80000000
jne 0x57e539
mov byte [edi + 0x17], 0
jmp 0x57e541
test eax, eax
setne al
mov byte [edi + 0x17], al
cmp dword [esi - 0x74], 0x80000000
jne 0x57e550
mov byte [edi + 0x15], 0
jmp 0x57e556
mov al, byte [esi - 0x74]
mov byte [edi + 0x15], al
lea edx, [edi + 0x18]
lea eax, [esi - 0x54]
call fcn.0057ddd8
lea edx, [edi + 0x34]
lea eax, [esi - 0x70]
call fcn.0057ddd8
lea edx, [edi + 0x50]
lea eax, [esi - 0x1c]
call fcn.0057ddd8
lea edx, [edi + 0x6c]
lea eax, [esi - 0x38]
call fcn.0057ddd8
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x80000000
je 0x57e592
mov edx, dword [eax]
mov dword [edi + 4], edx
cmp dword [eax + 4], 0x80000000
je 0x57e5a1
mov edx, dword [eax + 4]
mov dword [edi + 8], edx
cmp dword [eax + 8], 0x80000000
je 0x57e5b0
mov edx, dword [eax + 8]
mov dword [edi + 0xc], edx
cmp dword [eax + 0xc], 0x80000000
je 0x57e5bf
mov eax, dword [eax + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x20fc]
cmp eax, 0x80000000
jne 0x57e5d8
mov dword [edi + 0x88], 0xff000000
jmp 0x57e5de
mov dword [edi + 0x88], eax
inc dword [ebp - 0x20]
add dword [ebp - 0x34], 0x10
add esi, 0x80
add ebx, 4
dec dword [ebp - 0x2c]
jne 0x57e4ed
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x52c4], 0x80000000
je 0x57e615
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x52c4]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x52bc], 0x80000000
je 0x57e633
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x52bc]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x52c0], 0x80000000
je 0x57e651
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x52c0]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0x52b8], 0x80000000
je 0x57e66f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 0x52b8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
mov ecx, dword [ebp - 0x1c]
mov dl, 0x1a
call fcn.005545d4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xc8]
mov edx, dword [ebp - 0x1c]
call fcn.00652038
jmp 0x57e6bc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
xor ecx, ecx
mov dl, 0x19
call fcn.005545d4
push ebp
xor eax, eax
call fcn.0057b404
pop ecx
push ebp
call fcn.0057b660
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 9
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 7
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
push eax
push ebp
call fcn.0057b3e8
pop ecx
call fcn.0057aa80
pop ecx
test al, al
je 0x57e89d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42c], 0
jne 0x57e757
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42f], 0
jne 0x57e757
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
cmp byte [eax + 0x3c], 0
je 0x57e765
push ebp
mov al, 1
call fcn.0057b404
pop ecx
jmp 0x57e891
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x4d4]
call fcn.00652098
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
mov dl, 0x18
call fcn.005545d4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax - 0x10]
mov dl, 1
mov eax, dword [0x546590]
call fcn.005644e0
mov edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x4d4]
call fcn.00652038
mov eax, dword [ebp + 0x10]
push eax
push ebp
call fcn.0057b3e8
pop ecx
mov edx, eax
inc edx
lea eax, [ebp - 0x5b0]
call fcn.0057a93c
pop ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
mov edx, dword [edx - 0x10]
mov edx, dword [edx + 0x4d4]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4 - 8]
add eax, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x580]
sub eax, 1
jb 0x57e829
dec eax
je 0x57e831
dec eax
je 0x57e839
dec eax
je 0x57e841
jmp 0x57e847
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
jmp 0x57e847
mov eax, dword [ebp - 0x30]
mov byte [eax], 1
jmp 0x57e847
mov eax, dword [ebp - 0x30]
mov byte [eax], 2
jmp 0x57e847
mov eax, dword [ebp - 0x30]
mov byte [eax], 3
mov eax, dword [ebp + 0x10]
push eax
push ebp
call fcn.0057b3e8
pop ecx
mov edx, eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x4d4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx - 0x10]
mov ecx, dword [ecx + 0x4d4]
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx + eax*4 - 8]
call fcn.0057aad4
pop ecx
push ebp
xor eax, eax
call fcn.0057b404
pop ecx
push ebp
call fcn.0057b660
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42c], 0
jne 0x57e8dc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42f], 0
jne 0x57e8dc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
cmp byte [eax + 0x3c], 0
je 0x57e8f3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 7
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 8
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42c], 0
jne 0x57e949
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x42f], 0
jne 0x57e949
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x6d0]
cmp byte [eax + 0x3c], 0
je 0x57e960
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 7
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 6
call fcn.0056a928
pop ecx
jmp 0x57ea8a
push ebp
mov al, 1
call fcn.0057b404
pop ecx
push ebp
call fcn.0057b660
pop ecx
jmp 0x57ea8a
xor eax, eax
mov al, byte [ebp + 8]
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
inc eax
xor edx, edx
mov dl, byte [ebp + 8]
add eax, edx
cmp eax, dword [ebp - 0x10]
jge 0x57ea8a
cmp byte [ebp + 8], 0
jne 0x57e9bf
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx + 1]
add al, 0xec
sub al, 2
jae 0x57e98c
cmp byte [ebp + 8], 0
je 0x57ea8a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
add eax, 2
mov ax, word [eax]
add eax, 0xffffffec
sub ax, 2
jae 0x57e98c
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 0xc
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 0xf
call fcn.0056a928
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov eax, 0x2013
call fcn.0056a904
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov eax, 0x2014
call fcn.0056a904
pop ecx
jmp 0x57ea8a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
mov al, 0xb
call fcn.0056a928
pop ecx
jmp 0x57ea8a
cmp word [ebp - 0x22], 0x20
jb 0x57ea8a
mov ax, word [ebp - 0x22]
call fcn.006334e4
test al, al
jne 0x57ea7a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
push eax
movzx eax, word [ebp - 0x22]
call fcn.0056a904
pop ecx
jmp 0x57ea8a
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 8]
mov edx, dword [edx + 8]
push edx
call fcn.0056a928
pop ecx
xor eax, eax
mov al, byte [ebp + 8]
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jl 0x57e00f
push ebp
call fcn.0057d84c
pop ecx
mov al, byte [ebp + 0xc]
sub al, 1
je 0x57eab5
sub al, 3
jne 0x57eb65
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
call fcn.00652098
cmp dword [eax + 8], 0
jne 0x57eb65
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edx*4 - 8]
mov edx, dword [eax + 0x48]
mov ecx, dword [edx + 8]
cmp ecx, 9
jle 0x57eb38
mov ebx, dword [edx + 4]
add ebx, ecx
sub ebx, 2
cmp word [ebx], 1
jne 0x57eb38
mov ebx, dword [edx + 4]
add ebx, ecx
sub ebx, 9
add ebx, 2
cmp byte [ebx], 0x1d
jne 0x57eb38
mov edx, dword [edx + 4]
add edx, ecx
sub edx, 9
add edx, 2
mov edx, dword [edx + 1]
cmp byte [edx + 4], 2
je 0x57eb65
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0xb0]
mov edx, dword [eax + 0x18]
sub edx, 2
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + 8]
call fcn.006520e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57eb90
lea eax, [ebp - 0x5b8]
call fcn.00403274
lea eax, [ebp - 0x5b4]
call fcn.00403880
ret