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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6486
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4ea4a0
lea ecx, [ebp - 0xa8]
call fcn.004a0770
mov dword [ebp - 4], 0
cmp dword [0x4ea510], 0
jne 0x4a35c4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0x1d
ja case.0x4a35e9.6
mov edx, dword [ebp - 0x108]
movzx eax, byte [edx + 0x4a455c]
jmp dword [eax*4 + 0x4a4510]
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 [0x4ea4c8]
push ecx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x4a3644
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 0x4a367e
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.004a1420
add esp, 0xc
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x4a367e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
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.004a4fb0
add esp, 0x10
push 0x4ea4a0
lea ecx, [ebp - 0x12c]
call fcn.004a07a0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.004a0ab0
jmp case.0x4a35e9.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.004a1420
add esp, 0xc
push 0x4ea4a0
lea ecx, [ebp - 0x134]
call fcn.004a07a0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004a0ab0
jmp case.0x4a35e9.6
mov dword [ebp - 0xac], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0x10
jne 0x4a379a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [0x4ea4c8]
push ecx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4a379a
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 0x4ea4a0
lea ecx, [ebp - 0x174]
call fcn.004a07a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x174]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4c8]
push edx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x4a380e
mov eax, dword [ebp - 0xb0]
sub eax, 8
mov dword [ebp - 0x70], eax
jmp 0x4a3834
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.004a5fd0
add esp, 0x10
jmp case.0x4a35e9.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 0x4a38f2
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x88]
je 0x4a38f2
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 0x4a38f2
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jbe 0x4a38c6
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a39c9
push 0
push 0x2001b
call fcn.0047d550
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x4a391b
jmp case.0x4a35e9.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 0x4a396a
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a39f9
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x34], 0x100000
jae 0x4a39f9
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x28], 0x40000
jae 0x4a39f9
mov eax, dword [ebp - 0x70]
cmp dword [eax + 0x1c], 0x800000
jb 0x4a3a07
push 1
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004a6010
add esp, 8
push 0x4ea4a0
lea ecx, [ebp - 0x13c]
call fcn.004a07a0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4c8]
push eax
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x4a3a7a
mov ecx, dword [ebp - 0xb8]
sub ecx, 8
mov dword [ebp - 0x74], ecx
jmp 0x4a3aa0
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.004a5ff0
add esp, 0x10
jmp case.0x4a35e9.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 0x4a3b5e
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x90]
je 0x4a3b5e
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 0x4a3b5e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jbe 0x4a3b32
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a3c35
push 0
push 0x2001b
call fcn.0047d550
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x4a3b87
jmp case.0x4a35e9.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 0x4a3bd6
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a3c65
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0x34], 0x100000
jae 0x4a3c65
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0x28], 0x40000
jae 0x4a3c65
mov ecx, dword [ebp - 0x74]
cmp dword [ecx + 0x1c], 0x800000
jb 0x4a3c73
push 1
mov edx, dword [ebp - 0x74]
push edx
call fcn.004a6010
add esp, 8
push 0x4ea4a0
lea ecx, [ebp - 0x144]
call fcn.004a07a0
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a0ab0
jmp case.0x4a35e9.6
push 0x4ea4a0
lea ecx, [ebp - 0x14c]
call fcn.004a07a0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea388
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14c]
call fcn.004a0ab0
jmp case.0x4a35e9.6
push 0x4ea4a0
lea ecx, [ebp - 0x154]
call fcn.004a07a0
mov byte [ebp - 4], 7
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4ea388
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.004a0ab0
jmp case.0x4a35e9.6
push 0x4ea4a0
lea ecx, [ebp - 0x15c]
call fcn.004a07a0
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.004a5960
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4c8]
push eax
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
je 0x4a3da0
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.0x4a35e9.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.004a1070
add esp, 0xc
mov dword [ebp - 0x124], eax
push 0x4ea4a0
lea ecx, [ebp - 0x164]
call fcn.004a07a0
mov byte [ebp - 4], 9
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4dc]
push edx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
je 0x4a3e55
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 0x4ea4a0
lea ecx, [ebp - 0x16c]
call fcn.004a07a0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.004a0ab0
jmp case.0x4a35e9.6
mov dword [ebp - 0xd4], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0xc], 0x10
jne 0x4a3efa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [eax + 4]
push edx
mov eax, dword [0x4ea4dc]
push eax
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x4a3efa
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 0x4ea4a0
lea ecx, [ebp - 0x1ac]
call fcn.004a07a0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4dc]
push edx
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x4a3fc2
push 0x22
push 0
lea eax, [ebp - 0x58]
push eax
call sub.VCRUNTIME140.dll_memset
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.004a1070
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x4a3fc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
jmp 0x4a3fce
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.0047d550
add esp, 8
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x4a4015
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
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 0x4a4064
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a40f3
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x34], 0x100000
jae 0x4a40f3
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 0x28], 0x800000
jae 0x4a40f3
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0x1c], 0x800000
jb 0x4a4101
push 1
mov eax, dword [ebp - 0x68]
push eax
call fcn.004a6560
add esp, 8
push 0x4ea4a0
lea ecx, [ebp - 0x17c]
call fcn.004a07a0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x17c]
call fcn.004a0ab0
jmp case.0x4a35e9.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 [0x4ea4dc]
push eax
call fcn.004ac390
add esp, 0xc
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x4a41c8
push 0x22
push 0
lea ecx, [ebp - 0x34]
push ecx
call sub.VCRUNTIME140.dll_memset
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.004a1070
add esp, 0xc
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x4a41c6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
jmp 0x4a41d4
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.0047d550
add esp, 8
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x4a421b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
jmp 0x4a44f2
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 0x4a426a
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 sub.VCRUNTIME140.dll_memcpy
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 0x4a42f9
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x34], 0x100000
jae 0x4a42f9
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x28], 0x800000
jae 0x4a42f9
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x1c], 0x800000
jb 0x4a4307
push 1
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004a6560
add esp, 8
push 0x4ea4a0
lea ecx, [ebp - 0x184]
call fcn.004a07a0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4ea3f8
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x184]
call fcn.004a0ab0
jmp case.0x4a35e9.6
push 0x4ea4a0
lea ecx, [ebp - 0x18c]
call fcn.004a07a0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4ea388
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18c]
call fcn.004a0ab0
jmp case.0x4a35e9.6
push 0x4ea4a0
lea ecx, [ebp - 0x194]
call fcn.004a07a0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x4ea388
call fcn.004a6930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x194]
call fcn.004a0ab0
jmp case.0x4a35e9.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 0x4ea4a0
lea ecx, [ebp - 0x19c]
call fcn.004a07a0
mov byte [ebp - 4], 0x10
cmp dword [0x4ea514], 0
je 0x4a4415
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [0x4ea514]
mov edx, dword [eax]
mov ecx, dword [0x4ea514]
mov eax, dword [edx]
call eax
jmp 0x4a4432
mov ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
call fcn.004a56c0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.004a0ab0
jmp case.0x4a35e9.6
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp + 8]
add edx, 0x26
mov dword [ebp - 0x104], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, 0x16
mov dword [ebp - 0x100], ecx
push 0x4ea4a0
lea ecx, [ebp - 0x1a4]
call fcn.004a07a0
mov byte [ebp - 4], 0x11
cmp dword [0x4ea514], 0
je 0x4a44b4
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x104]
push ecx
mov edx, dword [0x4ea514]
mov eax, dword [edx]
mov ecx, dword [0x4ea514]
mov edx, dword [eax + 4]
call edx
jmp 0x4a44d1
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.004a56e0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a4]
call fcn.004a0ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004a0a90
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.004adff8
mov esp, ebp
pop ebp
ret