Function at 0x5f0090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63447f
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x7f325c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x7f50ec
lea ecx, [ebp - 0xa8]
call fcn.005f5eb0
mov dword [ebp - 4], 0
cmp dword [0x7f5290], 0
jne 0x5f00f4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0x1d
ja case.0x5f0119.6
mov edx, dword [ebp - 0x108]
movzx eax, byte [edx + 0x5f1080]
jmp dword [eax*4 + 0x5f1034]
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [0x7f5248]
push ecx
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x5f0174
mov edx, dword [ebp - 0x10c]
sub edx, 8
mov dword [ebp - 0x80], edx
mov esi, dword [ebp + 8]
add esi, 0x10
mov edi, dword [ebp - 0x80]
add edi, 0x5c
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x5f01ae
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.005ef5e0
add esp, 0xc
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x5f01ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 0xa5], 1
push 0x1c
mov edx, dword [ebp - 0x80]
add edx, 0x67
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
call fcn.005ef430
add esp, 0x10
push 0x7f50ec
lea ecx, [ebp - 0x12c]
call fcn.005f5ee0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.005f6670
jmp case.0x5f0119.6
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
call fcn.005ef5e0
add esp, 0xc
push 0x7f50ec
lea ecx, [ebp - 0x134]
call fcn.005f5ee0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0xac], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0x10
jne 0x5f02ca
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [0x7f5248]
push ecx
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x5f02ca
mov edx, dword [ebp - 0x110]
sub edx, 8
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 8]
add eax, 0x10
mov ecx, dword [ebp - 0xac]
add ecx, 0x46
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
push 0x7f50ec
lea ecx, [ebp - 0x174]
call fcn.005f5ee0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0x70], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
mov edx, dword [0x7f5248]
push edx
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x5f033e
mov eax, dword [ebp - 0xb0]
sub eax, 8
mov dword [ebp - 0x70], eax
jmp 0x5f0364
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.005ed150
add esp, 0x10
jmp case.0x5f0119.6
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x58], eax
mov byte [ebp - 0x61], 0
mov edx, dword [ebp - 0x70]
add edx, 0x1c
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x70]
add eax, 0x14
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jbe 0x5f0422
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x88]
je 0x5f0422
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
cmp ecx, 0x20000
ja 0x5f0422
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jbe 0x5f03f6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edx + 0x18]
push ecx
call fcn.00616830
add esp, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x84]
mov dword [eax], ecx
mov byte [ebp - 0x61], 1
movzx ecx, byte [ebp - 0x61]
test ecx, ecx
jne 0x5f04f9
push 0
push 0x2001b
call fcn.005fd430
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x5f044b
jmp case.0x5f0119.6
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jbe 0x5f049a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x18
push edx
call fcn.00616830
add esp, 0xc
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x84]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 4]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x94]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xb4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x94]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x40], 0x100000
jae 0x5f0529
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x34], 0x100000
jae 0x5f0529
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x28], 0x40000
jae 0x5f0529
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x1c], 0x800000
jb 0x5f0537
push 1
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.005ef020
add esp, 8
push 0x7f50ec
lea ecx, [ebp - 0x13c]
call fcn.005f5ee0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0x74], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
mov eax, dword [0x7f5248]
push eax
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x5f05aa
mov ecx, dword [ebp - 0xb8]
sub ecx, 8
mov dword [ebp - 0x74], ecx
jmp 0x5f05d0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
call fcn.005ed130
add esp, 0x10
jmp case.0x5f0119.6
mov byte [ebp - 0x62], 0
mov edx, dword [ebp - 0x74]
add edx, 0x28
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x74]
add eax, 0x20
mov dword [ebp - 0x90], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 0
jbe 0x5f068e
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x90]
je 0x5f068e
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 4]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
cmp edx, 0x20000
ja 0x5f068e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jbe 0x5f0662
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x60]
lea edx, [ecx + eax + 0x18]
push edx
call fcn.00616830
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov byte [ebp - 0x62], 1
movzx edx, byte [ebp - 0x62]
test edx, edx
jne 0x5f0765
push 0
push 0x2001b
call fcn.005fd430
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x5f06b7
jmp case.0x5f0119.6
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x14], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 0
jbe 0x5f0706
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
mov eax, dword [ebp - 0x60]
add eax, 0x18
push eax
call fcn.00616830
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x98]
mov dword [edx], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0xbc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x98]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x40], 0x100000
jae 0x5f0795
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x34], 0x100000
jae 0x5f0795
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x28], 0x40000
jae 0x5f0795
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x1c], 0x800000
jb 0x5f07a3
push 1
mov edx, dword [ebp - 0x74]
push edx
call fcn.005ef020
add esp, 8
push 0x7f50ec
lea ecx, [ebp - 0x144]
call fcn.005f5ee0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.005f6670
jmp case.0x5f0119.6
push 0x7f50ec
lea ecx, [ebp - 0x14c]
call fcn.005f5ee0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f51a0
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.005f6670
jmp case.0x5f0119.6
push 0x7f50ec
lea ecx, [ebp - 0x154]
call fcn.005f5ee0
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x7f51a0
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.005f6670
jmp case.0x5f0119.6
push 0x7f50ec
lea ecx, [ebp - 0x15c]
call fcn.005f5ee0
mov byte [ebp - 4], 8
push 0x19
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
call fcn.005efe80
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0xc4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
mov eax, dword [0x7f5248]
push eax
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x5f08d0
mov ecx, dword [ebp - 0xc0]
sub ecx, 8
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov byte [edx + 0xa7], 1
jmp case.0x5f0119.6
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.005ef8b0
add esp, 0xc
mov dword [ebp - 0x124], eax
push 0x7f50ec
lea ecx, [ebp - 0x164]
call fcn.005f5ee0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
mov edx, dword [0x7f525c]
push edx
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x5f0985
mov eax, dword [ebp - 0xc8]
sub eax, 8
mov dword [ebp - 0xcc], eax
mov esi, dword [ebp + 8]
add esi, 0x10
mov edi, dword [ebp - 0xcc]
add edi, 0x76
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x7f50ec
lea ecx, [ebp - 0x16c]
call fcn.005f5ee0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0xd4], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 0x10
jne 0x5f0a2a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
mov eax, dword [0x7f525c]
push eax
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x5f0a2a
mov ecx, dword [ebp - 0xd0]
sub ecx, 8
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp + 8]
add edx, 0x10
mov eax, dword [ebp - 0xd4]
add eax, 0x44
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 0x7f50ec
lea ecx, [ebp - 0x1ac]
call fcn.005f5ee0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
mov edx, dword [0x7f525c]
push edx
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x5f0af2
push 0x22
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00616db0
add esp, 0xc
mov ecx, dword [ebp - 0x118]
mov dx, word [ecx]
mov word [ebp - 0x54], dx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.005ef8b0
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x5f0af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
jmp 0x5f0afe
mov ecx, dword [ebp - 0xd8]
sub ecx, 8
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
add edx, 0x1c
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x68]
add eax, 0x14
mov dword [ebp - 0x11c], eax
push 0
push 0x2001b
call fcn.005fd430
add esp, 8
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x5f0b45
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ecx + 0xc], eax
mov edx, dword [edx + 8]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jbe 0x5f0b94
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0x18
push ecx
call fcn.00616830
add esp, 0xc
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0xdc]
mov dword [edx], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0xe0]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe0]
mov dword [edx], ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x40], 0x100000
jae 0x5f0c23
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x34], 0x100000
jae 0x5f0c23
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 0x28], 0x800000
jae 0x5f0c23
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x1c], 0x800000
jb 0x5f0c31
push 1
mov eax, dword [ebp - 0x68]
push eax
call fcn.005ef170
add esp, 8
push 0x7f50ec
lea ecx, [ebp - 0x17c]
call fcn.005f5ee0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.005f6670
jmp case.0x5f0119.6
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0x120], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
mov eax, dword [0x7f525c]
push eax
call fcn.005fd280
add esp, 0xc
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x5f0cf8
push 0x22
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.00616db0
add esp, 0xc
mov edx, dword [ebp - 0x120]
mov ax, word [edx]
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [edx + 4]
push ecx
call fcn.005ef8b0
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x5f0cf6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
jmp 0x5f0d04
mov edx, dword [ebp - 0xe4]
sub edx, 8
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
add eax, 0x28
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0x20
mov dword [ebp - 0x114], ecx
push 0
push 0x2001b
call fcn.005fd430
add esp, 8
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x5f0d4b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
jmp 0x5f1017
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jbe 0x5f0d9a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x7c]
add edx, 0x18
push edx
call fcn.00616830
add esp, 0xc
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0xe8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx + 4]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0xa0]
mov dword [ecx], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xec]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xec]
mov dword [eax], edx
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0xa0]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x40], 0x100000
jae 0x5f0e29
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x34], 0x100000
jae 0x5f0e29
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x28], 0x800000
jae 0x5f0e29
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x1c], 0x800000
jb 0x5f0e37
push 1
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.005ef170
add esp, 8
push 0x7f50ec
lea ecx, [ebp - 0x184]
call fcn.005f5ee0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x7f5138
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.005f6670
jmp case.0x5f0119.6
push 0x7f50ec
lea ecx, [ebp - 0x18c]
call fcn.005f5ee0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x7f51a0
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.005f6670
jmp case.0x5f0119.6
push 0x7f50ec
lea ecx, [ebp - 0x194]
call fcn.005f5ee0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x7f51a0
call fcn.005fbba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x194]
call fcn.005f6670
jmp case.0x5f0119.6
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp + 8]
add eax, 0x26
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x16
mov dword [ebp - 0xf4], edx
push 0x7f50ec
lea ecx, [ebp - 0x19c]
call fcn.005f5ee0
mov byte [ebp - 4], 0x10
cmp dword [0x7f5294], 0
je 0x5f0f40
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [0x7f5294]
mov ecx, dword [eax]
call ecx
add esp, 0xc
jmp 0x5f0f5d
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.005ed5d0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.005f6670
jmp case.0x5f0119.6
mov edx, dword [ebp + 8]
add edx, 0x10
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp + 8]
add eax, 0x26
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x16
mov dword [ebp - 0x100], edx
push 0x7f50ec
lea ecx, [ebp - 0x1a4]
call fcn.005f5ee0
mov byte [ebp - 4], 0x11
cmp dword [0x7f5294], 0
je 0x5f0fd9
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x104]
push edx
mov eax, dword [0x7f5294]
mov ecx, dword [eax + 4]
call ecx
add esp, 0xc
jmp 0x5f0ff6
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.005ed5b0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.005f6670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.005f6650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00615a5d
mov esp, ebp
pop ebp
ret