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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0xc
call fcn.1007759d
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0xc
call fcn.1007759d
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
push 0xc
call fcn.1007759d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 8
call fcn.1007759d
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x100b64fb
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0xc
call fcn.1007759d
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
cmp dword [0x100f47e5], 0
je 0x10059a7f
fild qword [0x100f4589]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100bfe73]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100020b3
push edx
push eax
call fcn.100224f7
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fadd qword [0x100be302]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.100020b3
push edx
push eax
call fcn.100224f7
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
fild qword [ebp - 0x70]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
fadd qword [0x100be68b]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
call fcn.100020b3
push edx
push eax
call fcn.100224f7
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
fild qword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100bfe7b]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100020b3
push edx
push eax
call fcn.10022261
push eax
call fcn.10059b08
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.10059b29
test eax, eax
je 0x10058e84
fild qword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100be64e]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100020b3
push edx
push eax
call fcn.10022261
cmp dword [0x100f5009], eax
je 0x10058e84
fild qword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [0x100be64e]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.100020b3
push edx
push eax
call fcn.10022261
mov dword [0x100f5009], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
fild qword [ebp - 8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x100be64e]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.100020b3
push edx
push eax
call fcn.10022e02
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x3c], ebx
fild qword [ebp - 8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x100be5fc]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.100020b3
push edx
push eax
call fcn.10022e02
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x3c], ebx
fild qword [ebp - 8]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
fadd qword [0x100b6c10]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
call fcn.100020b3
push edx
push eax
call fcn.10022e02
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x18]
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
push ebx
call fcn.10077597
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
push 0x100f500d
push 4
mov eax, 2
call fcn.10077b20
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov ebx, dword [0x100f500d]
mov dword [ebp - 0x40], ebx
call fcn.10002093
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp - 0x40]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10058863
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x40]
call fcn.100775bb
add esp, 8
mov dword [0x100f500d], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x44]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x3c]
push edi
push eax
push 0xc
call fcn.1007759d
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov ebx, dword [0x100f500d]
call fcn.1000358d
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10058db6
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x1005890c
push 0x494
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058929
push 0x494
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebx], eax
jne 0x10058a3d
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058973
push 0x4cf
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058990
push 0x4cf
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x24]
push eax
push 4
mov eax, 2
call fcn.10077b20
add esp, 8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x44], ebx
call fcn.10002093
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x100589dd
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.100775bb
add esp, 8
mov dword [ebp - 0x24], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
push edi
push eax
push 0xc
call fcn.1007759d
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
jmp 0x10058dae
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058a67
push 0x58d
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058a84
push 0x58d
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
mov ebx, dword [ebp - 0x40]
fsub dword [ebx]
fstp qword [ebp - 0x48]
push 0x80000601
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 1
mov ebx, 0x5c
call fcn.10078b90
add esp, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
fld qword [ebp - 0x58]
fsub qword [0x100b7ce3]
fcomp qword [0x100b7cb6]
fnstsw ax
test ah, 1
je 0x10058b98
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058b0e
push 0x608
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058b2b
push 0x608
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x60]
fld dword [ebx]
mov ebx, dword [ebp - 0x64]
fsub dword [ebx]
fstp qword [ebp - 0x6c]
push 0x80000601
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 1
mov ebx, 0x5c
call fcn.10078b90
add esp, 0x10
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
fld qword [ebp - 0x7c]
fsub qword [0x100b7ce3]
fcomp qword [0x100b7cb6]
fnstsw ax
test ah, 1
je 0x10058b98
mov eax, 1
jmp 0x10058b9d
mov eax, 0
test eax, eax
je 0x10058c17
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058bcf
push 0x673
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058bec
push 0x673
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x3c]
cmp byte [ebx], al
jne 0x10058c17
jmp 0x10058dae
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058c56
push 0x734
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058c73
push 0x734
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x40], ebx
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
fild dword [ebx]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x58]
fsub qword [ebp - 0x60]
fcomp qword [0x100b7d3f]
fnstsw ax
test ah, 0x41
jne 0x10058cbf
jmp 0x10058dae
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x10058ce9
push 0x799
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058d06
push 0x799
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x3c], ebx
lea eax, [ebp - 0x24]
push eax
push 4
mov eax, 2
call fcn.10077b20
add esp, 8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x44], ebx
call fcn.10002093
mov dword [ebp - 0x48], ecx
mov edi, dword [ebp - 0x44]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10058d53
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x44]
call fcn.100775bb
add esp, 8
mov dword [ebp - 0x24], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x48]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x40]
push edi
push eax
push 0xc
call fcn.1007759d
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x100588d4
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
mov ebx, eax
call fcn.10002093
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.1007759d
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x10058e29
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
push eax
push 0xc
call fcn.1007759d
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x10058deb
pop eax
push eax
mov ebx, dword [0x100f500d]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10058e4b
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10058e47
imul eax, dword [ebx]
jmp 0x10058e3c
mov ecx, eax
test ecx, ecx
je 0x10058e76
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10077597
add esp, 4
pop ebx
call fcn.10077597
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10058e51
call fcn.10077597
add esp, 4
pop eax
mov dword [0x100f500d], eax
mov ebx, dword [0x100f500d]
call fcn.1000358d
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10059a7c
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10058ed0
push 0x88d
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058eed
push 0x88d
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx]
push eax
push 0xc
call fcn.1007759d
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.10077597
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
fld dword [ebx]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x10058f3d
fchs
fcomp qword [0x100b7d3f]
fnstsw ax
test ah, 0x41
je 0x10058f53
jmp 0x10059a74
lea eax, [ebp - 0x18]
push eax
push 0x100f4d85
call fcn.100455de
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.10055eac
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1004480f
test eax, eax
je 0x10059a74
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10058fc0
push 0x9ff
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10058fdd
push 0x9ff
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x40], ebx
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
mov ebx, dword [ebp - 0x40]
fild dword [ebx]
fstp qword [ebp - 0x50]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.100020b3
mov dword [ebp - 0x1c], eax
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x40]
fcomp qword [0x100b7cb6]
fnstsw ax
test ah, 1
je 0x10059a74
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x1005905f
push 0xaa1
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005907c
push 0xaa1
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp byte [ebx], 1
jne 0x100592c6
cmp dword [0x100f5011], 0
jne 0x1005911d
push 0x100bfe83
push dword [0x100f4585]
mov ecx, 2
call fcn.10002329
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x100590d0
mov eax, 0x100b651c
push eax
push 1
mov ebx, 0x268
call fcn.10079770
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100590f6
push ebx
call fcn.10077597
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1001cebd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10059115
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x100f5011], eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
fsub qword [0x100be69b]
fstp qword [ebp - 0x48]
push 0x42200000
push 0x42200000
fld qword [ebp - 0x48]
fstp dword [ebp - 0x4c]
push dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push dword [0x100f5011]
call fcn.1004b2f4
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x100b680a]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
fld qword [ebp - 0x58]
fstp dword [ebp - 0x64]
push dword [ebp - 0x64]
call fcn.10057020
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x100bfea7
push dword [ebp - 0x4c]
push 0x100bfeaa
push dword [ebp - 0x48]
push str.m___r_n
push dword [ebp - 0x44]
push 0x100bfdee
mov ecx, 7
call fcn.10002329
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10059264
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10059274
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10059284
push ebx
call fcn.10077597
add esp, 4
push 1
fild dword [0x100f4fd1]
fstp dword [ebp - 0x54]
push dword [ebp - 0x54]
push dword [0x100f4569]
push dword [0x100f4ba5]
lea eax, [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.1004ca35
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100592c1
push ebx
call fcn.10077597
add esp, 4
jmp 0x10059a74
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x100592f0
push 0xd8f
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005930d
push 0xd8f
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp byte [ebx], 2
jne 0x10059557
cmp dword [0x100f5015], 0
jne 0x100593ae
push str.Bundlesitemsexplosive.timed.png
push dword [0x100f4585]
mov ecx, 2
call fcn.10002329
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10059361
mov eax, 0x100b651c
push eax
push 1
mov ebx, 0x268
call fcn.10079770
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10059387
push ebx
call fcn.10077597
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1001cebd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100593a6
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x100f5015], eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
fsub qword [0x100be69b]
fstp qword [ebp - 0x48]
push 0x42200000
push 0x42200000
fld qword [ebp - 0x48]
fstp dword [ebp - 0x4c]
push dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push dword [0x100f5015]
call fcn.1004b2f4
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x100b680a]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
fld qword [ebp - 0x58]
fstp dword [ebp - 0x64]
push dword [ebp - 0x64]
call fcn.10057020
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x100bfea7
push dword [ebp - 0x4c]
push 0x100bfeaa
push dword [ebp - 0x48]
push str.m___r_n
push dword [ebp - 0x44]
push 0x100bfdee
mov ecx, 7
call fcn.10002329
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x100594f5
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10059505
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10059515
push ebx
call fcn.10077597
add esp, 4
push 1
fild dword [0x100f4fd1]
fstp dword [ebp - 0x54]
push dword [ebp - 0x54]
push dword [0x100f4569]
push dword [0x100f4ba5]
lea eax, [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.1004ca35
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10059552
push ebx
call fcn.10077597
add esp, 4
jmp 0x10059a74
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10059581
push 0x1055
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005959e
push 0x1055
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
cmp byte [ebx], 3
jne 0x100597e8
cmp dword [0x100f5019], 0
jne 0x1005963f
push str.Bundlesitemsexplosive.satchel.png
push dword [0x100f4585]
mov ecx, 2
call fcn.10002329
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x100595f2
mov eax, 0x100b651c
push eax
push 1
mov ebx, 0x268
call fcn.10079770
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10059618
push ebx
call fcn.10077597
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1001cebd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10059637
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x100f5019], eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
fsub qword [0x100be69b]
fstp qword [ebp - 0x48]
push 0x42200000
push 0x42200000
fld qword [ebp - 0x48]
fstp dword [ebp - 0x4c]
push dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push dword [0x100f5019]
call fcn.1004b2f4
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x100b680a]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
fld qword [ebp - 0x58]
fstp dword [ebp - 0x64]
push dword [ebp - 0x64]
call fcn.10057020
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x100bfea7
push dword [ebp - 0x4c]
push 0x100bfeaa
push dword [ebp - 0x48]
push str.m___r_n
push dword [ebp - 0x44]
push 0x100bfdee
mov ecx, 7
call fcn.10002329
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10059786
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10059796
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100597a6
push ebx
call fcn.10077597
add esp, 4
push 1
fild dword [0x100f4fd1]
fstp dword [ebp - 0x54]
push dword [ebp - 0x54]
push dword [0x100f4569]
push dword [0x100f4ba5]
lea eax, [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.1004ca35
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x100597e3
push ebx
call fcn.10077597
add esp, 4
jmp 0x10059a74
mov ebx, dword [0x100f500d]
call fcn.10002093
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x10059812
push 0x1330
push 0x4078347
push 4
call fcn.100775a9
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1005982f
push 0x1330
push 0x4078347
push 1
call fcn.100775a9
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
cmp byte [ebx], 4
jne 0x10059a74
cmp dword [0x100f501d], 0
jne 0x100598d0
push str.Bundlesitems_ammo.rifle.explosive.png
push dword [0x100f4585]
mov ecx, 2
call fcn.10002329
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10059883
mov eax, 0x100b651c
push eax
push 1
mov ebx, 0x268
call fcn.10079770
add esp, 0x10
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100598a9
push ebx
call fcn.10077597
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.1001cebd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x100598c8
push ebx
call fcn.10077597
add esp, 4
mov eax, dword [ebp - 0x48]
mov dword [0x100f501d], eax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x40]
fld dword [ebx]
fsub qword [0x100be69b]
fstp qword [ebp - 0x48]
push 0x42200000
push 0x42200000
fld qword [ebp - 0x48]
fstp dword [ebp - 0x4c]
push dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
push dword [0x100f501d]
call fcn.1004b2f4
fld dword [0x100f47e9]
fmul qword [0x100b680a]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x100b680a]
fstp qword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
fld qword [ebp - 0x58]
fstp dword [ebp - 0x64]
push dword [ebp - 0x64]
call fcn.10057020
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x40], ebx
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push dword [ebp - 0x38]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x168
call fcn.100782a0
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x100bfea7
push dword [ebp - 0x4c]
push 0x100bfeaa
push dword [ebp - 0x48]
push str.m___r_n
push dword [ebp - 0x44]
push 0x100bfdee
mov ecx, 7
call fcn.10002329
add esp, 0x1c
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10059a17
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10059a27
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x10059a37
push ebx
call fcn.10077597
add esp, 4
push 1
fild dword [0x100f4fd1]
fstp dword [ebp - 0x54]
push dword [ebp - 0x54]
push dword [0x100f4569]
push dword [0x100f4ba5]
lea eax, [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
push dword [ebx]
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.1004ca35
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x10059a74
push ebx
call fcn.10077597
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x10058e98
add esp, 0xc
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10077597
add esp, 4
pop ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10059ac5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10059ac1
imul eax, dword [ebx]
jmp 0x10059ab6
mov ecx, eax
test ecx, ecx
je 0x10059af0
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10077597
add esp, 4
pop ebx
call fcn.10077597
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10059acb
call fcn.10077597
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
call fcn.10077597
add esp, 4
mov esp, ebp
pop ebp
ret