Function at 0x1005de60
Capabilities:
Check for time delay via gettickcount
Check os version
Create directory
Shutdown system
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f5ac
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x35ed708]
cmp eax, 0x4b1
je 0x1005ded9
cmp eax, 0x321
je 0x1005ded9
cmp eax, 0x1c85
je 0x1005ded9
cmp eax, 0xfa1
je 0x1005ded9
cmp eax, 0x8fd
je 0x1005ded9
cmp eax, 0x907
je 0x1005ded9
cmp eax, 0x911
je 0x1005ded9
cmp eax, 0x91b
je 0x1005ded9
cmp eax, 0x925
je 0x1005ded9
cmp eax, 0x939
jne 0x1005def8
cmp byte [0x100b12e0], 1
jne 0x1005def8
cmp dword [0x1019e5d8], 0
jbe 0x1005def8
cmp byte [0x1012d412], 1
je 0x1005f2fd
mov edi, dword [0x36208e4]
mov dword [ebp - 0x34c], edi
test edi, edi
je 0x1005f2fd
mov eax, dword [0x11f6b60]
test eax, eax
je 0x1005f2fd
movzx ecx, word [edi + 0x14]
imul ecx, ecx, 0x1cc
cmp dword [ecx + 0xfbaf1a], 0
je 0x1005f2fd
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
or esi, 0xffffffff
cmp byte [0x1012d410], 0
jne 0x1005df5d
cmp dword [eax + 0x30], esi
je 0x1005df56
call ebx
sub eax, dword [0x1012d22c]
cmp eax, 0x1d4c0
jb 0x1005df5d
mov byte [0x1012d410], 1
mov eax, 1
cmp dword [0x10197254], eax
je 0x1005df7a
cmp dword [0x10197258], eax
je 0x1005df7a
cmp dword [0x10197268], eax
jne 0x1005df88
cmp dword [0x1011cd68], 2
jne 0x1005df88
call fcn.1005b000
call ebx
mov ebx, eax
push 0x1009460c
mov dword [ebp - 0x33c], ebx
call fcn.10007300
add esp, 4
cmp eax, 1
jne 0x1005dfc2
push 0x100945bc
call fcn.10007300
add esp, 4
cmp eax, 1
jne 0x1005dfc2
push 0
push 2
call fcn.10039c30
add esp, 8
movzx eax, word [0x33cd04c]
test ax, ax
je 0x1005e046
mov ecx, dword [0x101b8d08]
mov dl, byte [0x100eaf28]
cmp eax, ecx
jle 0x1005dff3
mov dword [0x101b8d08], eax
mov eax, dword [0x100ae778]
movzx ecx, dl
dec ecx
cmp eax, ecx
jge 0x1005dffa
inc eax
jmp 0x1005dffc
je 0x1005dfe3
mov dword [0x101b8d08], eax
xor eax, eax
movzx ecx, dl
sub ecx, eax
xor esi, esi
mov dword [0x100ae778], eax
test ecx, ecx
jle 0x1005e01f
lea esp, [esp]
cmp byte [eax + esi + 0x100eae88], 1
je 0x1005e02b
inc esi
cmp esi, ecx
jl 0x1005e010
mov dword [0x100ae778], 0xffffffff
jmp 0x1005e056
add eax, esi
movzx edx, word [eax*2 + 0x100ead48]
push edx
call fcn.1003bb30
add esp, 4
add dword [0x100ae778], esi
jmp 0x1005e056
mov dword [0x101b8d08], 0
mov dword [0x100ae778], esi
cmp dword [0x10194010], 1
mov eax, dword [edi + 0x1d48]
mov ecx, dword [0x10197bc0]
je 0x1005e074
cmp ecx, 1
jne 0x1005e160
cmp eax, 2
je 0x1005e153
cmp eax, 3
je 0x1005e153
cmp eax, 5
je 0x1005e153
cmp byte [0x1012d3fe], 1
je 0x1005e153
test ecx, ecx
je 0x1005e0ef
cmp dword [0x1011cd68], 2
je 0x1005e0ef
mov ecx, ebx
sub ecx, dword [0x1012d25c]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 0x278], edx
fild dword [ebp - 0x278]
test edx, edx
jns 0x1005e0db
fadd dword [0x1009e6f8]
fild dword [0x10197bbc]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e0ef
call fcn.1003bf80
cmp dword [0x10194010], 1
jne 0x1005e160
mov edx, ebx
sub edx, dword [0x1012d25c]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 0x278], edx
fild dword [ebp - 0x278]
test edx, edx
jns 0x1005e12a
fadd dword [0x1009e6f8]
fild dword [0x101943f8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e160
push 0
push 0x100a05f0
mov dword [0x1012d25c], ebx
call fcn.1006a9a0
add esp, 8
jmp 0x1005f2fd
mov byte [0x1012d3fe], 0
mov dword [0x1012d25c], ebx
cmp dword [0x10194410], 1
jne 0x1005e195
mov eax, dword [0x33ccff0]
mov ecx, dword [0x33ccff4]
cmp eax, dword [0x10152780]
jne 0x1005e184
cmp ecx, dword [0x10152784]
je 0x1005e201
mov dword [0x1012d254], ebx
mov dword [0x10152780], eax
mov dword [0x10152784], ecx
cmp dword [0x10190e28], 1
jne 0x1005e46c
xor esi, esi
push esi
call dword [sym.imp.MSVCR100.dll__time64]
mov dword [ebp - 0x278], edx
lea edx, [ebp - 0x27c]
push edx
mov dword [ebp - 0x27c], eax
call dword [sym.imp.MSVCR100.dll__localtime64]
push eax
push 0x100a05ec
lea eax, [ebp - 0x24]
push 0x14
push eax
call dword [sym.imp.MSVCR100.dll_strftime]
add esp, 0x18
mov ecx, str.Sunday
lea eax, [ebp - 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e260
test dl, dl
je 0x1005e1fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e260
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e1e1
xor eax, eax
jmp 0x1005e265
mov ecx, ebx
sub ecx, dword [0x1012d254]
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 0x278], edx
fild dword [ebp - 0x278]
test edx, edx
jns 0x1005e233
fadd dword [0x1009e6f8]
fild dword [0x10194414]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e195
push 0
push 0x100a05c8
mov dword [0x1012d254], ebx
call fcn.1006a9a0
add esp, 8
jmp 0x1005f2fd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e271
lea esi, [eax + 7]
jmp 0x1005e3dc
mov ecx, str.Monday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e2a0
test dl, dl
je 0x1005e29c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e2a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e280
xor eax, eax
jmp 0x1005e2a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e2b1
lea esi, [eax + 1]
jmp 0x1005e3dc
mov ecx, str.Tuesday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e2e0
test dl, dl
je 0x1005e2dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e2e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e2c0
xor eax, eax
jmp 0x1005e2e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e2f1
lea esi, [eax + 2]
jmp 0x1005e3dc
mov ecx, str.Wednesday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e320
test dl, dl
je 0x1005e31c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e320
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e300
xor eax, eax
jmp 0x1005e325
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e331
lea esi, [eax + 3]
jmp 0x1005e3dc
mov ecx, str.Thursday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e360
test dl, dl
je 0x1005e35c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e360
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e340
xor eax, eax
jmp 0x1005e365
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e36e
lea esi, [eax + 4]
jmp 0x1005e3dc
mov ecx, str.Friday
lea eax, [ebp - 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e396
test dl, dl
je 0x1005e392
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e396
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e376
xor eax, eax
jmp 0x1005e39b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e3a4
lea esi, [eax + 5]
jmp 0x1005e3dc
mov ecx, str.Saturday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e3d0
test dl, dl
je 0x1005e3cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e3d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e3b0
xor eax, eax
jmp 0x1005e3d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e3dc
lea esi, [eax + 6]
lea ecx, [ebp - 0x324]
push ecx
call dword [sym.imp.MSVCR100.dll__strtime]
push 2
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.10006d60
push 2
push 3
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.10006e10
mov eax, dword [0x10190e1c]
inc eax
add esp, 0x20
cmp esi, eax
jne 0x1005e46c
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea ecx, [ebp - 0x6c]
push ecx
call esi
mov edx, dword [0x10190e20]
inc edx
add esp, 4
cmp eax, edx
jne 0x1005e46c
lea eax, [ebp - 0x80]
push eax
call esi
mov ecx, dword [0x10190e24]
inc ecx
add esp, 4
cmp eax, ecx
jl 0x1005e46c
push 0x100a056c
call fcn.100080a0
mov ecx, dword [0x1011d1bc]
add esp, 4
call fcn.1006f0b0
call fcn.10046150
jmp 0x1005f2fd
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov ebx, 1
cmp dword [0x10199274], ebx
jne 0x1005e58f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov ecx, edx
mov eax, 0x10624dd3
mul dword [0x1012d24c]
shr edx, 6
sub ecx, edx
cmp ecx, 0xf
jb 0x1005e58f
call esi
push 0
mov dword [0x1012d24c], eax
call fcn.10012f70
push 0x1011c4d0
lea edx, [ebp - 0x274]
push 0x100a0564
push edx
call edi
add esp, 0x10
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x1005e4f5
push eax
lea ecx, [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x33ccf58
push 0x1011b6e8
push 0x1011c4d0
lea edx, [ebp - 0x274]
push 0x100a0550
push edx
call edi
add esp, 0x14
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp - 0x278]
push eax
mov ecx, 0x10199200
mov dword [ebp - 4], 0
call sub.mfc100.dll_Ordinal_6970
lea ecx, [ebp - 0x274]
push 0x100a054c
push ecx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov esi, eax
push esi
push ebx
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
push eax
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [0x1012d37c]
cmp dword [0x10190e54], ebx
jne 0x1005e5af
cmp ecx, dword [0x10190e74]
jl 0x1005e5af
push 0x100a0528
jmp 0x1005e44f
cmp dword [0x10190e58], ebx
jne 0x1005e5cf
mov edx, dword [0x1012d380]
cmp edx, dword [0x10190e78]
jl 0x1005e5cf
push 0x100a0504
jmp 0x1005e44f
cmp dword [0x10190f0c], ebx
jne 0x1005e603
mov eax, dword [0x36208e4]
movzx edx, word [eax + 0x14]
mov eax, dword [0x1011cd1c]
imul edx, edx, 0x1cc
sub eax, dword [edx + 0xfbafd0]
cmp eax, dword [0x10190f10]
jl 0x1005e603
push 0x100a04e0
jmp 0x1005e44f
cmp dword [0x10190e5c], ebx
jne 0x1005e62f
mov eax, dword [0x10190e7c]
cdq
cmp dword [0x1012d2a4], edx
jl 0x1005e62f
jg 0x1005e625
mov edx, dword [0x1012d2a0]
cmp edx, eax
jb 0x1005e62f
push 0x100a04b8
jmp 0x1005e44f
mov ebx, dword [sym.imp.WINMM.dll_PlaySoundA]
mov esi, 1
cmp dword [0x1019525c], esi
jne 0x1005e685
cmp ecx, dword [0x10195264]
jl 0x1005e685
push 0x100a0490
call fcn.100080a0
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a0480
push esi
call edi
add esp, 0x14
push 0x11
push 0
push esi
call ebx
push esi
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov esi, 1
cmp dword [0x10195260], esi
jne 0x1005e6d5
mov eax, dword [0x1012d380]
cmp eax, dword [0x10195268]
jl 0x1005e6d5
push 0x100a0458
call fcn.100080a0
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a0480
push esi
call edi
add esp, 0x14
push 0x11
push 0
push esi
call ebx
push esi
call sub.mfc100.dll_Ordinal_1296
add esp, 4
mov esi, 1
mov eax, dword [0x10190e48]
mov ecx, dword [0x1019524c]
cmp eax, esi
je 0x1005e6ec
cmp ecx, esi
jne 0x1005e815
cmp byte [0x1012d410], 1
jne 0x1005e815
cmp eax, esi
jne 0x1005e7c2
mov ecx, dword [0x1011d1bc]
call fcn.1006f0b0
cmp dword [0x10190e2c], esi
jne 0x1005f2fd
lea ecx, [ebp - 0x338]
push ecx
mov dword [ebp - 0x338], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edi, 2
cmp dword [ebp - 0x328], edi
jne 0x1005e7a6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x34c]
push edx
push 0x20
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x340]
push eax
push str.SeShutdownPrivilege
push 0
mov dword [ebp - 0x284], esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov ecx, dword [ebp - 0x340]
mov edx, dword [ebp - 0x33c]
push 0
push 0
push 0
lea eax, [ebp - 0x284]
push eax
mov dword [ebp - 0x280], ecx
mov ecx, dword [ebp - 0x34c]
push 0
push ecx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], edi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0x100a0450
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
cmp ecx, esi
jne 0x1005e815
cmp dword [0x101961a4], 0
jne 0x1005e7da
mov ecx, dword [0x1011d1bc]
call fcn.1006f0b0
push 0x100a0444
call fcn.100080a0
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a0480
push esi
call edi
add esp, 0x14
push 0x11
push 0
push esi
call ebx
push esi
call sub.mfc100.dll_Ordinal_1296
add esp, 4
jmp 0x1005f2fd
cmp dword [0x10190e40], esi
jne 0x1005e850
mov edi, dword [0x33ccff0]
mov ebx, dword [0x33ccff4]
cmp edi, dword [0x10152778]
jne 0x1005e839
cmp ebx, dword [0x1015277c]
je 0x1005e888
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012d258], eax
mov dword [0x10152778], edi
mov dword [0x1015277c], ebx
cmp dword [0x10190e4c], esi
jne 0x1005e8d7
xor edx, edx
mov eax, 0x35f6378
lea edi, [edx + 7]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005e873
cmp byte [ecx + 0x330], 0
je 0x1005e873
add edx, esi
add eax, 4
sub edi, esi
jne 0x1005e862
test edx, edx
jne 0x1005e8d7
push 0x100a0428
jmp 0x1005e44f
mov edx, dword [ebp - 0x33c]
sub edx, dword [0x1012d258]
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov eax, 0x88888889
mul edx
shr edx, 5
mov dword [ebp - 0x278], edx
fild dword [ebp - 0x278]
test edx, edx
jns 0x1005e8be
fadd dword [0x1009e6f8]
fild dword [0x10190e70]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e850
push 0x100a0408
jmp 0x1005e44f
cmp dword [0x10190e50], esi
jne 0x1005e9a8
mov edi, dword [0x35f42ac]
xor esi, esi
xor ebx, ebx
call fcn.10006aa0
test eax, eax
je 0x1005e94d
add edi, 0x53c
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x1005e939
lea ecx, [eax + 0x64]
mov eax, 0x100a0400
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e930
test dl, dl
je 0x1005e92c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e930
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e910
xor eax, eax
jmp 0x1005e935
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005e948
inc ebx
add edi, 4
call fcn.10006aa0
cmp ebx, eax
jb 0x1005e900
jmp 0x1005e94d
mov esi, 1
mov eax, dword [0x35f42a8]
xor edi, edi
lea ebx, [eax + 0x53c]
mov eax, dword [ebx]
test eax, eax
je 0x1005e991
lea ecx, [eax + 0x64]
mov eax, 0x100a0400
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e988
test dl, dl
je 0x1005e984
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e988
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e968
xor eax, eax
jmp 0x1005e98d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005e9a8
inc edi
add ebx, 4
cmp edi, 0xf
jl 0x1005e95a
test esi, esi
jne 0x1005e9a8
push 0x100a03e4
jmp 0x1005e44f
cmp dword [0x10190e8c], 1
mov esi, dword [sym.imp.MSVCR100.dll_strstr]
jne 0x1005ea10
mov ebx, dword [0x35f42ac]
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005e9f5
add ebx, 0x53c
mov edi, edi
mov eax, dword [ebx]
test eax, eax
je 0x1005e9e8
add eax, 0x64
push 0x1009eae8
push eax
call esi
add esp, 8
test eax, eax
jne 0x1005ea10
inc edi
add ebx, 4
call fcn.10006aa0
cmp edi, eax
jb 0x1005e9d0
push 0x1009eae8
call fcn.10006d00
add esp, 4
test eax, eax
jne 0x1005ea10
push 0x100a03c8
jmp 0x1005e44f
xor esi, esi
lea ebx, [esi + 1]
cmp dword [0x33ccfd8], esi
jne 0x1005eb93
cmp dword [0x10193ff4], ebx
jne 0x1005eb1d
cmp dword [0x1019428c], esi
jne 0x1005ead5
cmp dword [0x1011cd68], 2
jne 0x1005ea8b
mov dword [0x1011d19c], esi
mov byte [0x1012d403], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x100eaf2c]
mov dword [0x1012d26c], eax
mov eax, dword [0x101a46e4]
push 0x10046f80
push 0x12c
add eax, 0x45
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a03b8
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
call fcn.1006ef80
mov dword [0x1011d19c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x101943fc]
mov ecx, dword [0x100eaf2c]
mov dword [0x1012d26c], eax
mov eax, dword [0x101a46e4]
push 0x1005dd90
push edx
add eax, 0x44
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a03a8
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
call fcn.1006ef80
mov dword [0x1011d19c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x101a46e4]
push 0x10046ee0
push 0x1f4
add edx, 0x44
mov dword [0x1012d26c], eax
mov eax, dword [0x100eaf2c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a0398
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
cmp dword [0x10193ff8], ebx
jne 0x1005eb93
cmp dword [0x10194290], ebx
jne 0x1005eb76
call fcn.1006ef80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a46e4]
mov edx, dword [0x100eaf2c]
push 0x10046ee0
push 0x1f4
add ecx, 0x44
push ecx
push edx
mov dword [0x1012d26c], eax
mov dword [0x1011d19c], esi
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a0388
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
mov ecx, dword [0x1011d1bc]
call fcn.1006f0b0
push 0x100a0374
call fcn.100080a0
add esp, 4
jmp 0x1005f2fd
cmp dword [0x10191a00], ebx
jne 0x1005ebf8
mov eax, dword [0x35f42a8]
xor esi, esi
lea edi, [eax + 0x53c]
mov eax, dword [edi]
test eax, eax
je 0x1005ebdf
lea ecx, [eax + 0x64]
mov eax, 0x100a0400
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005ebd6
test dl, dl
je 0x1005ebd2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005ebd6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ebb6
xor eax, eax
jmp 0x1005ebdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005ebf8
add esi, ebx
add edi, 4
cmp esi, 0xf
jl 0x1005eba8
push 0
push 0x100a0400
call fcn.10006ad0
add esp, 8
cmp dword [0x10190e60], ebx
jne 0x1005ec3a
xor edx, edx
mov eax, 0x35f6378
lea edi, [edx + 7]
lea ebx, [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005ec21
cmp byte [ecx + 0x330], 0
je 0x1005ec21
add edx, ebx
add eax, 4
sub edi, ebx
jne 0x1005ec10
cmp edx, dword [0x10190e80]
jge 0x1005ec3a
push 0x100a0350
jmp 0x1005e44f
cmp dword [0x101956bc], ebx
jne 0x1005ec79
mov ecx, dword [ebp - 0x33c]
mov eax, 0x10624dd3
mul dword [0x1012d250]
shr edx, 6
mov esi, edx
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, esi
cmp edx, 5
jb 0x1005ec79
push 0x32
mov dword [0x1012d250], ecx
call fcn.1005b340
add esp, 4
cmp dword [0x1019726c], ebx
jne 0x1005ecf2
push 0x14
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x101974b4
call sub.mfc100.dll_Ordinal_6969
mov esi, 0x35f6378
mov eax, dword [esi]
test eax, eax
je 0x1005ecd9
cmp byte [eax + 0x330], 0
je 0x1005ecd9
lea ecx, [ebp - 0x24]
add eax, 0x338
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005ecd0
test dl, dl
je 0x1005eccc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005ecd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ecb0
xor eax, eax
jmp 0x1005ecd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005ece6
add esi, 4
cmp esi, 0x35f6394
jl 0x1005ec96
jmp 0x1005ecf2
lea ecx, [ebp - 0x24]
push ecx
call fcn.10039f50
add esp, 4
cmp dword [0x101960fc], ebx
jne 0x1005ed69
mov edi, dword [ebp - 0x34c]
lea eax, [edi + 0x483c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005ed10
sub eax, edx
je 0x1005ed69
push 0x32
lea edx, [ebp - 0x58]
push edx
mov ecx, 0x10196a5c
call sub.mfc100.dll_Ordinal_6969
lea ecx, [edi + 0x483c]
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005ed54
test dl, dl
je 0x1005ed50
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005ed54
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ed34
xor eax, eax
jmp 0x1005ed59
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005ed69
lea eax, [ebp - 0x58]
push eax
call fcn.1003a040
add esp, 4
mov eax, dword [0x35f42ac]
lea esi, [eax + 0x53c]
mov eax, dword [esi]
mov dword [ebp - 0x348], esi
test eax, eax
jle 0x1005ed9a
add eax, 0x64
push 0x10097cb8
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x1005f0ef
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x344], edi
call fcn.10006aa0
test eax, eax
je 0x1005ee06
mov dword [ebp - 0x278], esi
mov ecx, dword [ebp - 0x278]
mov esi, dword [ecx]
test esi, esi
je 0x1005eddd
lea edx, [esi + 0x64]
push 0x10097cb8
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005eddd
cmp dword [esi + 0xe74], ebx
jg 0x1005edf0
add dword [ebp - 0x278], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005edb3
jmp 0x1005ee06
mov ebx, dword [esi + 0xe44]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
cmp dword [0x10197088], 1
jne 0x1005eefe
mov eax, dword [0x10197100]
test eax, eax
jne 0x1005ee42
mov eax, dword [0x1009e2dc]
mov ecx, dword [0x1009e2e0]
mov dx, word [0x1009e2e4]
mov dword [ebp - 0x58], eax
mov al, byte [0x1009e2e6]
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x50], dx
mov byte [ebp - 0x4e], al
jmp 0x1005ee98
cmp eax, 1
jne 0x1005ee6e
mov ecx, dword [0x1009e2d0]
mov edx, dword [0x1009e2d4]
mov ax, word [0x1009e2d8]
mov dword [ebp - 0x58], ecx
mov cl, byte [0x1009e2da]
mov dword [ebp - 0x54], edx
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], cl
jmp 0x1005ee98
cmp eax, 2
jne 0x1005ee98
mov edx, dword [0x1009e2c4]
mov eax, dword [0x1009e2c8]
mov cx, word [0x1009e2cc]
mov dword [ebp - 0x58], edx
mov dl, byte [0x1009e2ce]
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], cx
mov byte [ebp - 0x4e], dl
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005eefe
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x33c], eax
nop
mov ecx, dword [ebp - 0x33c]
mov esi, dword [ecx]
test esi, esi
je 0x1005eeed
lea edx, [ebp - 0x58]
push edx
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005eeed
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005eeed
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005eeb0
cmp dword [ebp - 0x344], 0
jne 0x1005f0cf
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005ef7e
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005ef60
lea eax, [esi + 0x64]
push 0x100a0344
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005ef60
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005ef60
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005ef22
cmp dword [ebp - 0x344], 0
jne 0x1005f0cf
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005eff1
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005efd3
lea eax, [esi + 0x64]
push 0x1009e2c4
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005efd3
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005efd3
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005ef95
cmp dword [ebp - 0x344], 0
jne 0x1005f0cf
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005f068
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
jmp 0x1005f010
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005f04e
lea eax, [esi + 0x64]
push 0x1009e2d0
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f04e
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005f04e
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005f010
cmp dword [ebp - 0x344], 0
jne 0x1005f0cf
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005f0ef
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
nop
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005f0be
lea eax, [esi + 0x64]
push 0x1009e2dc
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f0be
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005f0be
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006aa0
cmp edi, eax
jb 0x1005f080
cmp dword [ebp - 0x344], 1
jne 0x1005f0ef
mov ecx, dword [ebp - 0x278]
push 1
push 1
push 1
push 0
push ecx
call fcn.1003a100
add esp, 0x14
mov dword [ebp - 0x33c], 0xffffffff
xor edi, edi
call fcn.10006aa0
test eax, eax
je 0x1005f1a2
mov ebx, dword [ebp - 0x348]
mov edi, edi
mov esi, dword [ebx]
test esi, esi
je 0x1005f13f
lea edx, [esi + 0x64]
push 0x100a033c
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f13f
mov eax, 1
mov dword [ebp - 0x33c], eax
cmp dword [esi + 0xef4], eax
je 0x1005f1a2
inc edi
add ebx, 4
call fcn.10006aa0
cmp edi, eax
jb 0x1005f110
cmp dword [ebp - 0x33c], 1
jne 0x1005f1a2
xor esi, esi
call fcn.10006aa0
test eax, eax
je 0x1005f1a2
mov edi, dword [ebp - 0x348]
mov ebx, dword [sym.imp.MSVCR100.dll_strstr]
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x1005f188
add eax, 0x64
push 0x100a033c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x1005f197
inc esi
add edi, 4
call fcn.10006aa0
cmp esi, eax
jb 0x1005f170
jmp 0x1005f1a2
push 0
push esi
call fcn.10038890
add esp, 8
mov eax, dword [ebp - 0x34c]
cmp dword [eax + 0x51fc], 0
jne 0x1005f1ba
cmp dword [eax + 0x2a58], 6
je 0x1005f1d4
cmp dword [eax + 0x4800], 0
jne 0x1005f263
cmp dword [eax + 0x2a58], 4
jne 0x1005f263
xor edi, edi
lea eax, [ebp - 0x2a4]
push eax
push edi
call fcn.10006bb0
add esp, 8
mov ecx, 0x1019c4e4
xor esi, esi
call fcn.10001040
test eax, eax
jle 0x1005f259
jmp 0x1005f200
mov edx, dword [0x1019c4e4]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x2a4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005f230
test dl, dl
je 0x1005f22c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005f230
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005f210
xor eax, eax
jmp 0x1005f235
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005f24a
mov eax, dword [ebp - 0x288]
push 1
push eax
call fcn.1003a1d0
add esp, 8
mov ecx, 0x1019c4e4
inc esi
call fcn.10001040
cmp esi, eax
jl 0x1005f200
inc edi
cmp edi, 0x14
jl 0x1005f1d6
cmp dword [0x1011cd68], 2
je 0x1005f2fd
cmp byte [0x1012d419], 0
jne 0x1005f2fd
mov ecx, 0x101a2120
call fcn.10001040
cmp eax, 2
jne 0x1005f2fd
call fcn.100470f0
cmp al, 1
jne 0x1005f2fd
mov byte [0x1012d419], al
call fcn.1006ef80
push 0
push 0
push 0
push 0
mov dword [0x1011d1a4], 0x7d0
call fcn.100474c0
mov ecx, dword [0x101a46e4]
mov edx, dword [0x100eaf2c]
push fcn.100474c0
push 0x5dc
add ecx, 0x4d
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x101a2120]
mov ecx, dword [eax + 4]
fild dword [ecx]
mov edx, dword [eax]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fild dword [edx]
fstp dword [esp]
call fcn.10038190
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret