Function at 0x14005a780
Capabilities:
Check for time delay via gettickcount
Get memory capacity

Disassembly:
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x12a0
call fcn.14009cae0
sub rsp, rax
mov rax, qword [0x14014ac48]
xor rax, rsp
mov qword [rsp + 0x1290], rax
mov dword [rsp + 0x58], 0xf11
mov dword [rsp + 0x98], 0x2b2
mov dword [rsp + 0x6c], 0x565
mov eax, 0x1626
cdq
idiv dword [rsp + 0x6c]
sub eax, 0x1e20
sub eax, dword [rsp + 0x98]
sub eax, 0x239d
sub eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x6c]
lea eax, [rax + rcx + 0x216e]
mov word [rsp + 0x94], ax
mov qword [rsp + 0x130], 0x4c9
mov qword [rsp + 0xe8], 0x225
mov eax, 0x1f0a
sub rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe8]
lea rax, [rax + rcx + 0x161a]
mov rcx, qword [rsp + 0x130]
lea rax, [rax + rcx - 0xc8f]
mov qword [rsp + 0x1f8], rax
mov dword [rsp + 0xf8], 0x490
mov dword [rsp + 0x320], 0xde1e8
mov dword [rsp + 0x324], 0x47f7b
mov dword [rsp + 0x328], 0xd2050
mov dword [rsp + 0x32c], 0x834bd
mov dword [rsp + 0x330], 0x84e1
mov dword [rsp + 0x334], 0x73c
mov dword [rsp + 0x338], 0x490
mov dword [rsp + 0x33c], 0x62f8e
mov dword [rsp + 0x340], 0x451ea
mov dword [rsp + 0x344], 0xebcc0
mov dword [rsp + 0x348], 0x106ab
mov dword [rsp + 0x34c], 0xa8f6e
mov dword [rsp + 0x350], 0xbcecb
mov dword [rsp + 0x354], 0x74399
mov dword [rsp + 0x358], 0x71bc4
mov dword [rsp + 0x35c], 0xc8823
mov dword [rsp + 0x360], 0xb5b5
mov dword [rsp + 0x364], 0xe5100
mov dword [rsp + 0x368], 0x1dfcf
mov dword [rsp + 0x36c], 0xef941
mov dword [rsp + 0x370], 0x36028
mov dword [rsp + 0x374], 0x976f4
mov dword [rsp + 0x378], 0x1f034
mov dword [rsp + 0x37c], 0xce73
mov dword [rsp + 0x30], 8
jmp 0x14005a966
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x17
jge 0x14005a98a
mov eax, dword [rsp + 0x30]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x30]
mov eax, dword [rsp + rax*4 + 0x320]
mov dword [rsp + rcx*4 + 0x320], eax
jmp 0x14005a95c
jmp 0x14005a98c
mov dword [rsp + 0x34], SafeArrayUnaccessData
jmp 0x14005a9a0
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x17
jge 0x14005a9c4
mov eax, dword [rsp + 0x34]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x34]
mov eax, dword [rsp + rax*4 + 0x320]
mov dword [rsp + rcx*4 + 0x320], eax
jmp 0x14005a996
jmp 0x14005a9c6
mov eax, 4
imul rax, rax, 0xb
mov ecx, 4
imul rcx, rcx, 4
mov eax, dword [rsp + rax + 0x320]
mov dword [rsp + rcx + 0x320], eax
jmp 0x14005a9e8
mov eax, 4
imul rax, rax, 0x12
mov ecx, 4
imul rcx, rcx, 0xd
mov eax, dword [rsp + rax + 0x320]
mov dword [rsp + rcx + 0x320], eax
jmp 0x14005aa0a
mov dword [rsp + 0x38], 0xa
jmp 0x14005aa1e
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x17
jge 0x14005aa42
mov eax, dword [rsp + 0x38]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x38]
mov eax, dword [rsp + rax*4 + 0x320]
mov dword [rsp + rcx*4 + 0x320], eax
jmp 0x14005aa14
jmp 0x14005aa44
mov dword [rsp + 0xfc], 0x101
mov dword [rsp + 0x260], 0x1bab1
mov dword [rsp + 0x264], 0x4f715
mov dword [rsp + 0x268], 0xb45df
mov dword [rsp + 0x26c], 0x46af4
mov dword [rsp + 0x270], 0x28f47
mov dword [rsp + 0x274], 0xc51dc
mov dword [rsp + 0x278], 0x101
mov dword [rsp + 0x27c], 0xe5faf
mov dword [rsp + 0x280], 0xb1ad9
mov dword [rsp + 0x284], 0x6a47f
mov dword [rsp + 0x288], 0xf0f88
mov dword [rsp + 0x28c], 0x9bf58
mov dword [rsp + 0x290], 0xdd1b7
mov dword [rsp + 0x294], 0x26669
mov dword [rsp + 0x298], 0x31cf0
mov dword [rsp + 0x29c], 0x73be5
mov dword [rsp + 0x2a0], 0xc6deb
mov dword [rsp + 0x2a4], 0x4cd00
mov dword [rsp + 0x2a8], 0x40920
mov dword [rsp + 0x2ac], 0x47cb
mov dword [rsp + 0x2b0], 0x5b334
mov dword [rsp + 0x2b4], 0x4e703
mov eax, 4
imul rax, rax, 0x10
mov ecx, 4
imul rcx, rcx, 0xc
mov eax, dword [rsp + rax + 0x260]
mov dword [rsp + rcx + 0x260], eax
jmp 0x14005ab63
mov dword [rsp + 0x2c], 7
jmp 0x14005ab77
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x15
jge 0x14005ab9b
mov eax, dword [rsp + 0x2c]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x2c]
mov eax, dword [rsp + rax*4 + 0x260]
mov dword [rsp + rcx*4 + 0x260], eax
jmp 0x14005ab6d
jmp 0x14005ab9d
mov dword [rsp + 0x3c], SafeArrayUnaccessData
jmp 0x14005abb1
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x15
jge 0x14005abd5
mov eax, dword [rsp + 0x3c]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x3c]
mov eax, dword [rsp + rax*4 + 0x260]
mov dword [rsp + rcx*4 + 0x260], eax
jmp 0x14005aba7
jmp 0x14005abd7
mov dword [rsp + 0x40], SafeArrayUnaccessData
jmp 0x14005abeb
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15
jge 0x14005ac0f
mov eax, dword [rsp + 0x40]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x260]
mov dword [rsp + rcx*4 + 0x260], eax
jmp 0x14005abe1
jmp 0x14005ac11
mov eax, 4
imul rax, rax, 3
mov ecx, 4
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x260]
mov dword [rsp + rcx + 0x260], eax
jmp 0x14005ac33
mov dword [rsp + 0x124], 0x285
mov dword [rsp + 0x3d0], 0x3881e
mov dword [rsp + 0x3d4], 0x2f29d
mov dword [rsp + 0x3d8], 0x55133
mov dword [rsp + 0x3dc], 0xa94d8
mov dword [rsp + 0x3e0], 0x3f9be
mov dword [rsp + 0x3e4], 0xa12eb
mov dword [rsp + 0x3e8], 0x285
mov dword [rsp + 0x3ec], 0xc15ec
mov dword [rsp + 0x3f0], 0xe5e5d
mov dword [rsp + 0x3f4], 0x607ad
mov eax, 4
imul rax, rax, 3
mov ecx, 4
imul rcx, rcx, 2
mov eax, dword [rsp + rax + 0x3d0]
mov dword [rsp + rcx + 0x3d0], eax
jmp 0x14005acce
mov dword [rsp + 0x24], 0
jmp 0x14005ace2
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x24], eax
jge 0x14005ad14
mov eax, dword [rsp + 0x58]
add eax, 0xe16
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x24], 0x19d
jle 0x14005ad10
mov eax, dword [rsp + 0x24]
add eax, 0x23aa
mov dword [rsp + 0x24], eax
jmp 0x14005ad14
mov qword [rsp + 0xd8], 0x170
mov eax, 0x2a2
mov word [rsp + 0x64], ax
mov eax, 0x1ef2
cqo
idiv qword [rsp + 0xd8]
cqo
mov ecx, 0x18b7
idiv rcx
movsx rcx, word [rsp + 0x64]
sub rax, rcx
mov qword [rsp + 0x190], rax
mov eax, 0x679
cqo
idiv qword [rsp + 0xd8]
cqo
mov ecx, 0x41e
idiv rcx
mov rcx, qword [rsp + 0x190]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0xd8]
cqo
mov ecx, 0x2664
idiv rcx
mov rcx, qword [rsp + 0x198]
add rcx, rax
mov rax, rcx
mov word [rsp + 0x90], ax
mov eax, 0x1a0
mov word [rsp + 0x68], ax
mov dword [rsp + 0x74], 0x21b
mov eax, dword [rsp + 0x74]
cdq
mov ecx, 0x18a9
idiv ecx
add eax, 0x1aa9
sub eax, dword [rsp + 0x74]
mov dword [rsp + 0x9c], eax
movsx ecx, word [rsp + 0x68]
mov eax, ecx
cdq
mov ecx, 0x200a
idiv ecx
mov ecx, dword [rsp + 0x9c]
lea eax, [rcx + rax - 0x1168]
cdqe
mov qword [rsp + 0x200], rax
mov qword [rsp + 0xf0], 0x567
mov qword [rsp + 0x1a0], 0x336
mov rax, qword [rsp + 0xf0]
cqo
mov ecx, 0x13d2
idiv rcx
cqo
idiv qword [rsp + 0x1a0]
sub rax, 0x199e
sub rax, qword [rsp + 0xf0]
add rax, 0x60b
mov dword [rsp + 0x120], eax
mov dword [rsp + 0x5c], 0x5f
mov dword [rsp + 0x11c], 0x381
mov eax, 0xddd
sub eax, dword [rsp + 0x5c]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x5c]
cdq
mov ecx, 0x1d74
idiv ecx
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0xa0]
add ecx, edx
lea eax, [rax + rcx + 0x26a]
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0x5c]
cdq
mov ecx, 0x1666
idiv ecx
mov ecx, dword [rsp + 0xa4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
mov dword [rsp + 0x7c], 0x30b
mov dword [rsp + 0x78], 0xed
mov eax, 0x2040
sub eax, dword [rsp + 0x78]
mov dword [rsp + 0xa8], eax
mov eax, 0x1fee
cdq
idiv dword [rsp + 0x7c]
mov ecx, dword [rsp + 0xa8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xac], eax
mov eax, 0x2150
cdq
idiv dword [rsp + 0x78]
mov ecx, dword [rsp + 0xac]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb0], eax
mov eax, 0x2477
cdq
idiv dword [rsp + 0x7c]
mov ecx, dword [rsp + 0xb0]
sub ecx, eax
mov eax, ecx
sub eax, 0xf7
mov dword [rsp + 0x12c], eax
mov dword [rsp + 0xb4], 0x2b0
mov qword [rsp + 0xd0], 0x4a0
mov eax, 0x1f6
sub rax, qword [rsp + 0xd0]
sub rax, 0x11c2
sub rax, qword [rsp + 0xd0]
mov qword [rsp + 0x1a8], rax
mov eax, 0x2471
cdq
idiv dword [rsp + 0xb4]
cdq
mov ecx, 0xaa2
idiv ecx
cdqe
mov rcx, qword [rsp + 0x1a8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0xd0]
cqo
mov ecx, 0x76c
idiv rcx
mov rcx, qword [rsp + 0x1b0]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x100], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x104], 0xd9bf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rsp + 0x80], eax
jbe 0x14005b039
mov ecx, dword [rsp + 0x80]
call fcn.140071170
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
jne 0x14005b018
mov dword [rsp + 0x84], 1
jmp 0x14005b023
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
jmp 0x14005b117
lea rax, [rsp + 0x400]
mov rdi, rax
xor eax, eax
mov ecx, 0x720
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0
jmp 0x14005b061
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
cmp rax, 0x13
jae 0x14005b0a8
mov dword [rsp + 0x4c], 0
jmp 0x14005b080
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x18
jge 0x14005b0a6
movsxd rax, dword [rsp + 0x60]
imul rax, rax, 0x60
lea rax, [rsp + rax + 0x400]
movsxd rcx, dword [rsp + 0x4c]
mov dword [rax + rcx*4], 0x572
jmp 0x14005b076
jmp 0x14005b057
lea rax, [rsp + 0xb20]
mov rdi, rax
xor eax, eax
mov ecx, 0x720
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0
jmp 0x14005b0d0
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, 0x13
jae 0x14005b117
mov dword [rsp + 0x54], 0
jmp 0x14005b0ef
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x18
jge 0x14005b115
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x60
lea rax, [rsp + rax + 0xb20]
movsxd rcx, dword [rsp + 0x54]
mov dword [rax + rcx*4], 0x25f0
jmp 0x14005b0e5
jmp 0x14005b0c6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x108], 0x3cf0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [rsp + 0x70], eax
jne 0x14005b193
cmp dword [rsp + 0x70], 0xa520
jle 0x14005b193
mov ecx, dword [rsp + 0x70]
call fcn.140071170
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0xbc]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
jne 0x14005b172
mov dword [rsp + 0x88], 1
jmp 0x14005b17d
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
jmp 0x14005b232
mov dword [rsp + 0x10c], 0x5b8
mov qword [rsp + 0xe0], 0x260
mov eax, 0x261b
cqo
idiv qword [rsp + 0xe0]
sub rax, 0x1ca8
sub rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe0]
lea rax, [rax + rcx - 0x3616]
mov dword [rsp + 0x110], eax
mov eax, 0x2f0
mov word [rsp + 0x28], ax
mov dword [rsp + 0xc0], 0x275
movsx eax, word [rsp + 0x28]
mov dword [rsp + 0xc4], eax
mov eax, dword [rsp + 0xc0]
cdq
mov ecx, 0xc14
idiv ecx
mov ecx, dword [rsp + 0xc4]
lea eax, [rcx + rax - 0x1630]
movsx ecx, word [rsp + 0x28]
sub eax, ecx
add eax, 0x2000
cdqe
mov qword [rsp + 0x208], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0x114], 0x279f
mov dword [rsp + 0x220], 0x40
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp eax, 1
jne 0x14005b2bc
mov ecx, dword [rsp + 0xc8]
call fcn.1400a34cc
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0xcc]
cdq
and eax, 1
xor eax, edx
sub eax, edx
test eax, eax
jne 0x14005b29b
mov dword [rsp + 0x8c], 1
jmp 0x14005b2a6
mov dword [rsp + 0x8c], 0
movzx eax, byte [rsp + 0x8c]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x22]
jmp 0x14005b5d6
mov qword [rsp + 0x210], 0x404
mov dword [rsp + 0x2c0], 0x5f6b6
mov dword [rsp + 0x2c4], 0x7e9a8
mov dword [rsp + 0x2c8], 0xcede8
mov dword [rsp + 0x2cc], 0x5a039
mov dword [rsp + 0x2d0], 0x17d7d
mov dword [rsp + 0x2d4], 0xd2c96
mov dword [rsp + 0x2d8], 0x404
mov dword [rsp + 0x2dc], 0xdaad7
mov dword [rsp + 0x2e0], 0x89507
mov dword [rsp + 0x2e4], 0xcc51
mov dword [rsp + 0x2e8], 0xbd467
mov dword [rsp + 0x2ec], 0x3e22
mov dword [rsp + 0x2f0], 0xf009
mov dword [rsp + 0x2f4], 0x7c24
mov dword [rsp + 0x2f8], 0xac375
mov dword [rsp + 0x2fc], 0xedf48
mov dword [rsp + 0x300], 0x75db2
mov dword [rsp + 0x304], 0x29cae
mov dword [rsp + 0x308], 0x60519
mov dword [rsp + 0x30c], 0x56d6c
mov dword [rsp + 0x310], 0xd70e0
mov dword [rsp + 0x314], 0x3c909
mov dword [rsp + 0x318], 0x2bc31
mov eax, 4
imul rax, rax, 0x12
mov ecx, 4
imul rcx, rcx, 0x10
mov eax, dword [rsp + rax + 0x2c0]
mov dword [rsp + rcx + 0x2c0], eax
jmp 0x14005b3e7
mov eax, 4
imul rax, rax, 0xf
mov ecx, 4
imul rcx, rcx, 4
mov eax, dword [rsp + rax + 0x2c0]
mov dword [rsp + rcx + 0x2c0], eax
jmp 0x14005b409
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 9
mov eax, dword [rsp + rax + 0x2c0]
mov dword [rsp + rcx + 0x2c0], eax
jmp 0x14005b42b
mov dword [rsp + 0x44], 7
jmp 0x14005b43f
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x16
jge 0x14005b463
mov eax, dword [rsp + 0x44]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x44]
mov eax, dword [rsp + rax*4 + 0x2c0]
mov dword [rsp + rcx*4 + 0x2c0], eax
jmp 0x14005b435
jmp 0x14005b465
mov eax, 4
imul rax, rax, 0x12
mov ecx, 4
imul rcx, rcx, 9
mov eax, dword [rsp + rax + 0x2c0]
mov dword [rsp + rcx + 0x2c0], eax
jmp 0x14005b487
mov dword [rsp + 0x118], 0x1c2
mov dword [rsp + 0x380], 0xb4adb
mov dword [rsp + 0x384], 0x2039
mov dword [rsp + 0x388], 0x97bc2
mov dword [rsp + 0x38c], 0x3dfe
mov dword [rsp + 0x390], 0x22dad
mov dword [rsp + 0x394], 0x52d77
mov dword [rsp + 0x398], 0x1c2
mov dword [rsp + 0x39c], 0x6accf
mov dword [rsp + 0x3a0], 0x72001
mov dword [rsp + 0x3a4], 0x16aef
mov dword [rsp + 0x3a8], 0xbd549
mov dword [rsp + 0x3ac], 0x744a4
mov dword [rsp + 0x3b0], 0xa97a8
mov dword [rsp + 0x3b4], 0x61e19
mov dword [rsp + 0x3b8], 0x970f2
mov dword [rsp + 0x3bc], 0x34bcb
mov dword [rsp + 0x3c0], 0xa8f92
mov dword [rsp + 0x3c4], 0x1bad2
mov dword [rsp + 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
jmp 0x14005b56c
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x11
jge 0x14005b590
mov eax, dword [rsp + 0x48]
inc eax
cdqe
movsxd rcx, dword [rsp + 0x48]
mov eax, dword [rsp + rax*4 + 0x380]
mov dword [rsp + rcx*4 + 0x380], eax
jmp 0x14005b562
jmp 0x14005b592
mov eax, 4
imul rax, rax, 6
mov ecx, 4
imul rcx, rcx, 0xa
mov eax, dword [rsp + rax + 0x380]
mov dword [rsp + rcx + 0x380], eax
jmp 0x14005b5b4
mov eax, 4
imul rax, rax, 7
mov ecx, 4
imul rcx, rcx, 3
mov eax, dword [rsp + rax + 0x380]
mov dword [rsp + rcx + 0x380], eax
jmp 0x14005b5d6
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1290]
xor rcx, rsp
call fcn.14009cb40
add rsp, 0x12a0
pop rdi
ret