Function at 0x579f40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e1e87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5e4
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edi
call fcn.005589e0
xor ebx, ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x5f8], ebx
call fcn.00559c60
lea ecx, [esp + 0x28]
mov byte [esp + 0x5f8], 1
call fcn.00558060
mov eax, dword [ebp + 8]
mov byte [esp + 0x5f8], 2
mov byte [esp + 0x5c], bl
mov dword [esp + 0x58], 2
mov ecx, dword [eax + 0x18c]
mov byte [esp + 0x13], bl
cmp ecx, ebx
jne 0x57a093
cmp dword [ebp + 0x1c], ebx
jle 0x57b953
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x70]
call fcn.0055a260
sub esp, 0x24
lea ecx, [esp + 0x58]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push ecx
push eax
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
mov edx, dword [esp + 0x5c]
push esi
push edx
lea eax, [esp + 0x3c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005525e0
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
call fcn.0057d470
and eax, 0xffff
jne 0x57a037
mov eax, dword [ebp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x579fcb
jmp 0x57b953
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x57a041
mov word [ecx], ax
lea ecx, [esp + 0x28]
mov byte [esp + 0x5f8], 1
call fcn.005581a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x5f8], 0
call fcn.00559d60
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], 0xffffffff
call fcn.00558a00
mov eax, 1
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea edx, [esp + 0x58]
lea ecx, [esp + 0x5c]
push edx
lea edx, [esp + 0x38]
push ecx
push edx
push eax
mov ecx, edi
call fcn.005778b0
mov esi, eax
call fcn.00557e00
test al, al
je 0x57a85b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x57a041
push 0x610d20
push str.debug.txt
call fcn.005bd794
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x50], esi
je 0x57a6b0
push esi
lea eax, [esp + 0xec]
push 0xff
push eax
call fcn.005be2c6
add esp, 0xc
test eax, eax
je 0x57a6a5
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00401850
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.004018c0
test al, al
je 0x57a15d
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xe8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004018a0
mov esi, dword [esp + 0x50]
mov edi, str.RETURNFRAME
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x5f8], 3
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
push str.RETURNFRAME
lea ecx, [esp + 0x24]
call fcn.00556aa0
cmp eax, dword [0x5e5150]
je 0x57a674
mov al, byte [esp + 0x13]
mov byte [esp + 0x94], al
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
push eax
push eax
push eax
mov byte [esp + 0x604], 4
call fcn.00412590
mov ecx, dword [esp + 0xa8]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.00402cf0
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xe8]
push edx
push 0xff
push eax
mov dword [esp + 0xa8], esi
call fcn.005be2c6
add esp, 0xc
test eax, eax
je 0x57a4fd
lea edi, [esp + 0xe8]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.004018c0
test al, al
je 0x57a24d
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0xe8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004018a0
lea ecx, [esp + 0x4c]
call fcn.00558060
push 1
lea eax, [esp + 0x17]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x604], 5
mov byte [esp + 0x1f], 0x20
call fcn.00556aa0
mov esi, eax
mov eax, dword [0x5e5150]
cmp esi, eax
je 0x57a349
mov eax, dword [esp + 0x20]
mov ebx, 1
cmp eax, esi
jae 0x57a29a
call fcn.005bc820
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x57a2de
mov cl, byte [edi - 1]
test cl, cl
je 0x57a2de
cmp cl, 0xff
je 0x57a2de
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
call fcn.00401850
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004017b0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, eax
sub ecx, esi
cmp ecx, 1
jae 0x57a2ed
mov ebx, ecx
test ebx, ebx
jbe 0x57a323
sub eax, ebx
lea ecx, [ebx + esi]
sub eax, esi
add ecx, edi
add esi, edi
push eax
push ecx
push esi
call fcn.005bcf90
mov esi, dword [esp + 0x2c]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x18]
push 0
push esi
call fcn.004018c0
test al, al
je 0x57a323
push esi
lea ecx, [esp + 0x1c]
call fcn.004018a0
push 1
lea edx, [esp + 0x17]
push 0
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f], 0x20
call fcn.00556aa0
mov esi, eax
mov eax, dword [0x5e5150]
cmp esi, eax
jne 0x57a284
push 1
lea eax, [esp + 0x17]
push 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f], 0xa
call fcn.00556aa0
mov esi, eax
mov eax, dword [0x5e5150]
cmp esi, eax
je 0x57a40e
mov eax, dword [esp + 0x20]
mov ebx, 1
cmp eax, esi
jae 0x57a385
call fcn.005bc820
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x57a3c5
mov cl, byte [edi - 1]
test cl, cl
je 0x57a3c5
cmp cl, 0xff
je 0x57a3c5
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
call fcn.00401850
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004017b0
mov eax, dword [esp + 0x20]
mov ecx, eax
sub ecx, esi
cmp ecx, 1
jae 0x57a3d4
mov ebx, ecx
test ebx, ebx
jbe 0x57a412
mov edx, dword [esp + 0x1c]
sub eax, ebx
lea ecx, [ebx + esi]
sub eax, esi
add ecx, edx
add esi, edx
push eax
push ecx
push esi
call fcn.005bcf90
mov esi, dword [esp + 0x2c]
add esp, 0xc
sub esi, ebx
lea ecx, [esp + 0x18]
push 0
push esi
call fcn.004018c0
test al, al
je 0x57a40e
push esi
lea ecx, [esp + 0x1c]
call fcn.004018a0
mov eax, dword [esp + 0x20]
xor ebx, ebx
test eax, 0xfffffffe
mov dword [esp + 0x14], ebx
jbe 0x57a4af
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xa4], edx
mov esi, edx
cmp eax, ebx
mov edi, 2
jae 0x57a441
call fcn.005bc820
mov eax, dword [esp + 0x20]
sub eax, ebx
cmp eax, 2
jae 0x57a44e
mov edi, eax
test edi, edi
jbe 0x57a470
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, ecx
lea edi, [esp + 0x2c]
lea esi, [ebx + eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa4]
push esi
lea eax, [esp + 0x30]
push str._02x
push eax
add ebx, 2
call fcn.005be292
mov cl, byte [esi]
add esp, 0xc
push ecx
lea ecx, [esp + 0x50]
call fcn.00558360
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, eax
inc ecx
shr edx, 1
inc esi
cmp ecx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xa4], esi
jb 0x57a42f
mov ecx, dword [esp + 0x9c]
lea eax, [esp + 0x4c]
push eax
push 1
push ecx
lea ecx, [esp + 0xa0]
call fcn.00402a90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5f8], 4
call fcn.005581a0
mov edx, dword [esp + 0x50]
lea eax, [esp + 0xe8]
push edx
push 0xff
push eax
call fcn.005be2c6
add esp, 0xc
test eax, eax
jne 0x57a205
mov ebx, dword [ebp + 0x20]
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebx
call fcn.00559fd0
mov edi, dword [esp + 0x30]
mov dl, byte [esp + 0x5c]
mov al, byte [esp + 0x34]
sub esp, 0x10
mov esi, esp
mov byte [edi + 0x1c], dl
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], esp
mov byte [esi], al
call fcn.00592bf0
test eax, eax
jge 0x57a538
xor eax, eax
lea ecx, [eax*8]
push ecx
call fcn.005bcf2f
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esp + 0x4c]
mov ecx, esi
push eax
mov eax, dword [esp + 0x4c]
push edx
push eax
call fcn.00413410
lea ecx, [edi + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00558a40
lea ecx, [esp + 0xbc]
call fcn.005589e0
mov cl, byte [esp + 0x34]
sub esp, 0x10
mov esi, esp
mov byte [esp + 0x608], 6
mov dword [esp + 0x24], esp
mov byte [esi], cl
lea ecx, [esp + 0x44]
call fcn.00592bf0
test eax, eax
jge 0x57a59d
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.005bcf2f
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
mov ecx, esi
call fcn.00413410
lea ecx, [esp + 0xcc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00558a40
mov dl, byte [esp + 0x5c]
sub esp, 0x10
lea eax, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0xe0], dl
lea esi, [ebx + 0x10]
call fcn.005525e0
mov ecx, esi
call fcn.00558a40
mov cl, byte [esp + 0xcc]
mov byte [esp + 0x5f8], 4
mov byte [esi + 0x10], cl
lea ecx, [esp + 0xbc]
call fcn.00558a00
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
cmp esi, eax
mov byte [esp + 0x5f8], 3
mov edi, eax
je 0x57a650
push 0
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x57a639
mov esi, dword [esp + 0x98]
push esi
call fcn.005bc500
mov esi, dword [esp + 0x54]
add esp, 4
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5fc], 2
call fcn.00401850
push esi
lea edx, [esp + 0xec]
push 0xff
push edx
call fcn.005be2c6
add esp, 0xc
test eax, eax
jne 0x57a0fe
push esi
call fcn.005bd71e
add esp, 4
jmp 0x57a71b
mov edx, dword [0x626ed8]
mov eax, 0x24
and edx, 0xff
sub eax, edx
mov ecx, eax
lea esi, [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZOffset:]
mov edx, dword [ebp + 0xc]
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x626ed8]
lea edi, [eax + edx]
and ecx, 0xff
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZOffset:
mov eax, ecx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x626ed8]
mov ecx, 0x24
inc al
and eax, 0xff
div ecx
mov byte [0x626ed8], dl
lea ecx, [esp + 0x44]
call fcn.00558060
mov edx, dword [ebp + 0xc]
mov bl, 7
push 0x24
push edx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x600], bl
call fcn.00558600
mov al, byte [esp + 0x13]
xor esi, esi
mov byte [esp + 0x60], al
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x5f8], 8
push ecx
push 1
push esi
lea ecx, [esp + 0x6c]
call fcn.00402a90
lea edx, [esp + 0x60]
lea ecx, [esp + 0x70]
push edx
call fcn.00559fd0
cmp dword [ebp + 0x20], esi
je 0x57a7f8
mov al, byte [esp + 0x70]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x94]
mov dword [esp + 0x38], esi
mov byte [esi], al
call fcn.0055f330
test eax, eax
jge 0x57a7a3
xor eax, eax
shl eax, 4
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00555460
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esp + 0xa4]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x620], 9
call fcn.0054b240
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x61c], 8
call fcn.00559e10
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x57a804
mov word [eax], 0x24
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
cmp esi, edi
mov byte [esp + 0x5f8], bl
je 0x57a82e
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x57a819
mov esi, dword [esp + 0x64]
jmp 0x57a830
xor ebx, ebx
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5f8], 2
call fcn.005581a0
jmp 0x57a041
cmp esi, 1
jne 0x57b953
mov dword [esp + 0x58], 0
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x57a9b3
lea ecx, [esp + 0x70]
call fcn.0055a260
lea ecx, [esp + 0x34]
call fcn.005594d0
mov ecx, dword [edi + 0x60]
mov esi, eax
call fcn.005af6f0
cmp eax, 3
je 0x57a8b4
mov ecx, dword [edi + 0x60]
call fcn.005af6f0
cmp eax, 9
je 0x57a8b4
mov ecx, dword [edi + 0x60]
call fcn.005af6f0
cmp eax, 8
jne 0x57a8d2
cmp si, 1
jle 0x57a8d2
sub esp, 0x24
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
push ecx
mov ecx, edi
call fcn.0057efe0
jmp 0x57a8ed
sub esp, 0x24
lea ecx, [esp + 0x58]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push ecx
push eax
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
mov ecx, dword [ebp + 8]
call fcn.005af6f0
test eax, eax
je 0x57a041
cmp dword [ebp + 0x10], 1
je 0x57a041
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
jne 0x57a932
mov eax, dword [ebp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x57a879
jmp 0x57a9b3
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x57a9b3
mov dl, byte [esp + 0x70]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x94]
mov dword [esp + 0x38], esi
mov byte [esi], dl
call fcn.0055f330
test eax, eax
jge 0x57a95e
xor eax, eax
shl eax, 4
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
push eax
push ecx
mov ecx, esi
call fcn.00555460
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0xa4]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x620], 0xa
call fcn.0054b240
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x61c], 2
call fcn.00559e10
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
je 0x57b953
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005525e0
lea eax, [esp + 0x88]
mov ecx, edi
push eax
call fcn.0057d470
and eax, 0xffff
mov ebx, eax
mov eax, dword [ebp + 0x20]
test eax, eax
mov dword [esp + 0x4c], ebx
je 0x57aa2e
mov ecx, eax
sub esp, 0x10
lea edx, [esp + 0x90]
mov dword [esp + 0x24], esp
lea esi, [ecx + 0x10]
mov ecx, esp
push edx
call fcn.005525e0
mov ecx, esi
call fcn.00558a40
mov al, byte [esp + 0x90]
mov byte [esi + 0x10], al
test ebx, ebx
jl 0x57b953
mov cl, byte [esp + 0x5c]
mov dl, byte [esp + 0x34]
sub esp, 0x10
mov byte [edi + 0x1c], cl
mov esi, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], esp
mov byte [esi], dl
call fcn.00592bf0
test eax, eax
jge 0x57aa5b
xor eax, eax
shl eax, 3
push eax
call fcn.005bcf2f
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00413410
lea ecx, [edi + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00558a40
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x57aa94
mov word [eax], bx
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x57a041
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00581360
cmp eax, 0xffffffff
jne 0x57aabe
mov ecx, esi
call fcn.00581370
cmp eax, 0xffffffff
je 0x57a041
test ebx, ebx
je 0x57b953
push 0
lea ecx, [esp + 0x74]
call fcn.0055a180
mov esi, eax
mov cl, byte [esi]
mov byte [esp + 0x18], cl
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x57aae4
xor eax, eax
jmp 0x57aaec
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
test eax, eax
jge 0x57aaf2
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.005bcf2f
mov dword [esp + 0x20], eax
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
add esp, 4
cmp edi, ebx
mov esi, eax
je 0x57ab2a
push edi
push esi
call fcn.00402e10
add edi, 4
add esp, 8
add esi, 4
cmp edi, ebx
jne 0x57ab12
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
xor ebx, ebx
xor edi, edi
mov byte [esp + 0x5f8], 0xb
mov dword [esp + 0x44], edi
cmp eax, ebx
je 0x57b8f5
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x57b8f5
cmp ecx, 1
jbe 0x57ab7d
lea ecx, [eax + edi*4]
call fcn.00558540
mov esi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edi*4]
call fcn.00558530
movsx ecx, ax
mov dword [esp + 0x4c], ecx
jmp 0x57ab80
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0xe8]
call fcn.005b17d0
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xc
mov eax, dword [edx + 0x5c]
push eax
call fcn.00592d40
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd0], ebx
push ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
call fcn.00581370
mov ecx, dword [ebp + 8]
push eax
call fcn.00581360
mov edx, dword [esp + 0x54]
push eax
push edx
push esi
lea ecx, [esp + 0xfc]
call fcn.005b1840
cmp eax, ebx
jne 0x57ac6e
mov edx, dword [esp + 0xd8]
cmp edx, 5
je 0x57ac40
cmp dword [ebp + 0xc], ebx
je 0x57ac18
mov edi, dword [ebp + 0xc]
mov ecx, 0x3f
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x57ac2d
mov edi, dword [ebp + 0x20]
mov ecx, 9
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x44]
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x57ac37
mov word [eax], bx
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x57ac40
mov dword [eax], edx
lea eax, [edx - 1]
cmp eax, 4
ja case.default.0x57ac4c
jmp dword [eax*4 + 0x57b9a4]
cmp dword [esp + 0x58], 4
jl 0x57b240
jmp 0x57ac6e
cmp dword [esp + 0x58], 0x7d0
jl 0x57b2af
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x44], edi
jmp 0x57ab44
push ebx
lea ecx, [esp + 0x30]
call fcn.00558090
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.005589e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x5f8], 0x10
call fcn.00558060
mov eax, dword [esp + 0x30]
mov byte [esp + 0x5f8], 0x11
mov ecx, dword [eax + 0x60]
call fcn.005af6f0
cmp eax, 3
je 0x57b026
mov al, byte [esp + 0x13]
test al, al
jne 0x57af5d
lea ecx, [esp + 0x60]
call fcn.00559480
push 0xfe
lea ecx, [esp + 0x64]
call fcn.005590a0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00558070
lea ecx, [esp + 0x64]
call fcn.00558c30
lea ecx, [esp + 0x70]
call fcn.0055a260
sub esp, 0x24
lea ecx, [esp + 0x84]
mov eax, esp
mov dword [esp + 0x38], esp
push ebx
push ecx
push eax
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
je 0x57adf0
lea ecx, [esp + 0x50]
mov byte [esp + 0x13], 1
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57add2
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57adc0
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x57a9c5
lea edx, [esp + 0xe0]
push ebx
push edx
lea ecx, [esp + 0x3c]
call fcn.00559060
mov esi, eax
push ecx
mov byte [esp + 0x5fc], 0x13
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00558070
lea ecx, [esp + 0x54]
call fcn.00558390
mov ax, word [esi + 4]
lea ecx, [esp + 0xe0]
mov word [esp + 0x54], ax
mov byte [esp + 0x5f8], 0x11
call fcn.005581a0
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00558070
lea ecx, [esp + 0x30]
call fcn.00558390
lea ecx, [esp + 0x34]
call fcn.00559480
push 0xfe
lea ecx, [esp + 0x38]
call fcn.005590a0
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x38]
call fcn.00558c30
lea ecx, [esp + 0x70]
call fcn.0055a260
sub esp, 0x24
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x38], esp
push ebx
push edx
push ecx
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
je 0x57b5e2
lea ecx, [esp + 0x50]
mov byte [esp + 0x13], 2
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57af3f
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57af2d
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x57a9c5
lea ecx, [esp + 0x70]
call fcn.0055a260
sub esp, 0x24
mov ecx, 0x619a20
mov eax, esp
mov dword [esp + 0x38], esp
push ebx
push eax
call fcn.00553d20
lea ecx, [esp + 0x94]
call fcn.00559e10
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
jle 0x57b5e2
lea ecx, [esp + 0x50]
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b008
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57aff6
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x57a9c5
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 0x60]
call fcn.005af0e0
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x14], eax
call fcn.005af150
mov ecx, dword [esi + 0x60]
mov edi, eax
call fcn.005af170
mov ebx, eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], ebx
sub esp, 8
fild qword [esp + 0xac]
mov ecx, 0x619a20
fstp qword [esp]
push edi
push 0x3e8
call fcn.0054e260
lea ecx, [esp + 0x60]
call fcn.00559480
push 0xff
lea ecx, [esp + 0x64]
call fcn.005590a0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00558070
lea ecx, [esp + 0x64]
call fcn.00558c30
lea ecx, [esp + 0x70]
call fcn.0055a260
sub esp, 0x24
lea ecx, [esp + 0x84]
mov eax, esp
mov dword [esp + 0x68], esp
push 0
push ecx
push eax
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
lea edx, [esp + 0x94]
push 0
push edx
lea ecx, [esp + 0x3c]
call fcn.00559060
mov esi, eax
push ecx
mov byte [esp + 0x5fc], 0x12
mov ecx, esp
mov dword [esp + 0x48], esp
push esi
call fcn.00558070
lea ecx, [esp + 0x54]
call fcn.00558390
mov ax, word [esi + 4]
lea ecx, [esp + 0x94]
mov word [esp + 0x54], ax
mov byte [esp + 0x5f8], 0x11
call fcn.005581a0
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00558070
lea ecx, [esp + 0x30]
call fcn.00558390
lea ecx, [esp + 0x34]
call fcn.00559480
push 0xff
lea ecx, [esp + 0x38]
call fcn.005590a0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0x30]
push eax
call fcn.00558070
lea ecx, [esp + 0x38]
call fcn.00558c30
sub esp, 0x24
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x68], esp
push 0
push edx
push ecx
mov ecx, 0x619a20
call fcn.00553230
lea ecx, [esp + 0x94]
call fcn.00559e10
lea ecx, [esp + 0x70]
call fcn.0055a240
test ax, ax
je 0x57b6b6
lea ecx, [esp + 0x50]
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b220
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b20e
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x57a9c5
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
inc edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], edx
call fcn.005afd10
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b291
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b27f
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x57a86c
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x5f8], 0xb
inc ecx
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xe8]
call fcn.005b1830
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x5f8], 2
je 0x57b2f3
push ebx
mov ecx, esi
call fcn.00406c10
add esi, 4
cmp esi, edi
jne 0x57b2e0
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x57a86c
mov ecx, dword [esp + 0xd4]
xor eax, eax
mov dword [esp + 0xa4], ecx
mov ecx, 0xff
lea edi, [esp + 0x1f1]
mov byte [esp + 0x1f0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x44], ebx
cmp eax, 0xffffffff
je 0x57b5a1
lea edx, [esp + 0x1f0]
lea ecx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
mov ecx, dword [edx + 0x5c]
call fcn.005709b0
push ebx
lea ecx, [esp + 0x74]
call fcn.0055a180
mov edi, eax
mov ecx, dword [edi + 4]
mov al, byte [edi]
cmp ecx, ebx
mov byte [esp + 0xbc], al
jne 0x57b388
xor eax, eax
jmp 0x57b390
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp eax, ebx
jge 0x57b396
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.005bcf2f
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
add esp, 4
cmp edi, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x14], ecx
mov esi, eax
je 0x57b3d5
push edi
push esi
call fcn.00402e10
mov eax, dword [esp + 0x1c]
add edi, 4
add esp, 8
add esi, 4
cmp edi, eax
jne 0x57b3bd
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dl, byte [esp + 0x13]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xac], dl
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x604], 0xe
call fcn.00412590
mov ecx, dword [esp + 0xc0]
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x14], ecx
mov edi, eax
je 0x57b43e
push ebx
mov ecx, edi
call fcn.00406c10
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, eax
jne 0x57b42b
mov ebx, dword [esp + 0xc0]
mov eax, dword [esp + 0x4c]
cmp ebx, esi
mov dword [esp + 0xb4], eax
je 0x57b4b4
mov eax, dword [esp + 0x44]
xor edi, edi
test eax, eax
jbe 0x57b48f
mov ecx, dword [esp + 0x30]
mov dx, word [ecx + 0x2014]
mov ecx, ebx
add dx, word [esp + 0xa4]
add edx, edi
push edx
call fcn.00558380
cmp al, byte [esp + edi + 0x1f0]
jne 0x57b48f
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jb 0x57b45e
jmp 0x57b4a6
mov eax, dword [esp + 0xb4]
push ebx
push 1
push eax
lea ecx, [esp + 0xb8]
call fcn.00402a90
add ebx, 4
cmp ebx, esi
jne 0x57b454
mov ebx, dword [esp + 0xc0]
mov edi, dword [ebp + 0x20]
mov ecx, edi
call fcn.0055a260
lea ecx, [esp + 0xac]
push ecx
mov ecx, edi
call fcn.00559fd0
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
cmp edi, eax
mov byte [esp + 0x5f8], 0xd
mov dword [esp + 0x14], eax
je 0x57b504
mov ecx, edi
call fcn.005581a0
mov eax, dword [esp + 0x14]
add edi, 4
cmp edi, eax
jne 0x57b4eb
mov edi, dword [esp + 0xb0]
push edi
call fcn.005bc500
add esp, 4
xor eax, eax
cmp ebx, esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov byte [esp + 0x5f8], 0xc
mov edi, ebx
je 0x57b540
mov ecx, edi
call fcn.005581a0
add edi, 4
cmp edi, esi
jne 0x57b532
push ebx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b585
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b573
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x57a041
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b890
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b5cf
jmp 0x57b88c
lea ecx, [esp + 0x50]
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b651
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b63f
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x5f8], 1
call fcn.005581a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x5f8], 0
call fcn.00559d60
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], 0xffffffff
call fcn.00558a00
or eax, 0xffffffff
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x14]
xor ebx, ebx
sub esp, 8
mov dword [esp + 0x50], ebx
mov ecx, 0x619a20
fild qword [esp + 0x4c]
fstp qword [esp]
push edi
push edx
call fcn.0054e260
lea ecx, [esp + 0x50]
mov byte [esp + 0x5f8], 0x10
call fcn.005581a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x5f8], 0xf
call fcn.00558a00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5f8], 0xc
call fcn.005581a0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov byte [esp + 0x5f8], 2
mov edi, ecx
mov esi, eax
je 0x57b74b
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b739
mov eax, dword [esp + 0x1c]
push eax
jmp 0x57b891
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b78d
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b77b
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov esi, dword [esp + 0x34]
or edi, 0xffffffff
add esp, 4
mov dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x2020]
mov dword [esp + 0x20], ebx
cmp eax, edi
mov dword [esp + 0x24], ebx
je 0x57b809
cmp dword [esi + 0x2018], ebx
jne 0x57b809
push ebx
push 1
sub esp, 0x10
mov ecx, 0x626e68
mov eax, esp
mov dword [esp + 0x2c], esp
push 1
push eax
call fcn.0056aec0
mov edx, dword [esi + 0x2020]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
push ecx
mov ecx, 0x626e68
mov byte [esp + 0x628], 0x14
call fcn.0056aec0
mov ecx, 0x619a58
mov byte [esp + 0x620], 2
call fcn.00543a40
lea ecx, [esp + 0x28]
mov byte [esp + 0x5f8], 1
call fcn.005581a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x5f8], 0
call fcn.00559d60
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], edi
call fcn.00558a00
mov eax, edi
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5f8], 0xb
call fcn.005b1830
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0x5f8], 2
mov edi, eax
je 0x57b890
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b87e
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x5f8], 1
call fcn.005581a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x5f8], 0
call fcn.00559d60
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], 0xffffffff
call fcn.00558a00
or eax, 0xffffffff
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x70]
call fcn.0055a260
lea eax, [esp + 0x18]
lea ecx, [esp + 0x70]
push eax
call fcn.00559fd0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov byte [esp + 0x5f8], 2
je 0x57b932
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x57b920
mov esi, dword [esp + 0x1c]
push esi
call fcn.005bc500
mov eax, dword [esp + 0x50]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jne 0x57a041
lea ecx, [esp + 0x28]
mov byte [esp + 0x5f8], 1
call fcn.005581a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x5f8], 0
call fcn.00559d60
lea ecx, [esp + 0x34]
mov dword [esp + 0x5f8], 0xffffffff
call fcn.00558a00
mov ecx, dword [esp + 0x5f0]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20