Function at 0x1005de20
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 0x1008f5ec
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 [0x2fc5968]
cmp eax, 0x4b1
je 0x1005de99
cmp eax, 0x321
je 0x1005de99
cmp eax, 0x1c85
je 0x1005de99
cmp eax, 0xfa1
je 0x1005de99
cmp eax, 0x8fd
je 0x1005de99
cmp eax, 0x907
je 0x1005de99
cmp eax, 0x911
je 0x1005de99
cmp eax, 0x91b
je 0x1005de99
cmp eax, 0x925
je 0x1005de99
cmp eax, 0x939
jne 0x1005deb8
cmp byte [0x100b12e0], 1
jne 0x1005deb8
cmp dword [0x1019e5d8], 0
jbe 0x1005deb8
cmp byte [0x1012d412], 1
je 0x1005f2bd
mov edi, dword [0x2feacec]
mov dword [ebp - 0x34c], edi
test edi, edi
je 0x1005f2bd
mov eax, dword [0xea7b80]
test eax, eax
je 0x1005f2bd
movzx ecx, word [edi + 0x14]
imul ecx, ecx, 0x1cc
cmp dword [ecx + 0x336ecc3], 0
je 0x1005f2bd
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
or esi, 0xffffffff
cmp byte [0x1012d410], 0
jne 0x1005df1d
cmp dword [eax + 0x30], esi
je 0x1005df16
call ebx
sub eax, dword [0x1012d22c]
cmp eax, 0x1d4c0
jb 0x1005df1d
mov byte [0x1012d410], 1
mov eax, 1
cmp dword [0x10197254], eax
je 0x1005df3a
cmp dword [0x10197258], eax
je 0x1005df3a
cmp dword [0x10197268], eax
jne 0x1005df48
cmp dword [0x1011cd68], 2
jne 0x1005df48
call fcn.1005ae80
call ebx
mov ebx, eax
push 0x10094630
mov dword [ebp - 0x33c], ebx
call fcn.10007370
add esp, 4
cmp eax, 1
jne 0x1005df82
push 0x100945e0
call fcn.10007370
add esp, 4
cmp eax, 1
jne 0x1005df82
push 0
push 2
call fcn.10039c40
add esp, 8
movzx eax, word [0x3505bfc]
test ax, ax
je 0x1005e006
mov ecx, dword [0x101b8d08]
mov dl, byte [0x100eaf28]
cmp eax, ecx
jle 0x1005dfb3
mov dword [0x101b8d08], eax
mov eax, dword [0x100ae778]
movzx ecx, dl
dec ecx
cmp eax, ecx
jge 0x1005dfba
inc eax
jmp 0x1005dfbc
je 0x1005dfa3
mov dword [0x101b8d08], eax
xor eax, eax
movzx ecx, dl
sub ecx, eax
xor esi, esi
mov dword [0x100ae778], eax
test ecx, ecx
jle 0x1005dfdf
lea esp, [esp]
cmp byte [eax + esi + 0x100eae88], 1
je 0x1005dfeb
inc esi
cmp esi, ecx
jl 0x1005dfd0
mov dword [0x100ae778], 0xffffffff
jmp 0x1005e016
add eax, esi
movzx edx, word [eax*2 + 0x100ead48]
push edx
call fcn.1003bb30
add esp, 4
add dword [0x100ae778], esi
jmp 0x1005e016
mov dword [0x101b8d08], 0
mov dword [0x100ae778], esi
cmp dword [0x10194010], 1
mov eax, dword [edi + 0x1d44]
mov ecx, dword [0x10197bc0]
je 0x1005e034
cmp ecx, 1
jne 0x1005e120
cmp eax, 2
je 0x1005e113
cmp eax, 3
je 0x1005e113
cmp eax, 5
je 0x1005e113
cmp byte [0x1012d3fe], 1
je 0x1005e113
test ecx, ecx
je 0x1005e0af
cmp dword [0x1011cd68], 2
je 0x1005e0af
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 0x1005e09b
fadd dword [0x1009e740]
fild dword [0x10197bbc]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e0af
call fcn.1003bf80
cmp dword [0x10194010], 1
jne 0x1005e120
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 0x1005e0ea
fadd dword [0x1009e740]
fild dword [0x101943f8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e120
push 0
push 0x100a0640
mov dword [0x1012d25c], ebx
call fcn.1006a960
add esp, 8
jmp 0x1005f2bd
mov byte [0x1012d3fe], 0
mov dword [0x1012d25c], ebx
cmp dword [0x10194410], 1
jne 0x1005e155
mov eax, dword [0x3505ba0]
mov ecx, dword [0x3505ba4]
cmp eax, dword [0x10152780]
jne 0x1005e144
cmp ecx, dword [0x10152784]
je 0x1005e1c1
mov dword [0x1012d254], ebx
mov dword [0x10152780], eax
mov dword [0x10152784], ecx
cmp dword [0x10190e28], 1
jne 0x1005e42c
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 0x100a063c
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 0x1005e220
test dl, dl
je 0x1005e1bd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e220
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e1a1
xor eax, eax
jmp 0x1005e225
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 0x1005e1f3
fadd dword [0x1009e740]
fild dword [0x10194414]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e155
push 0
push 0x100a0618
mov dword [0x1012d254], ebx
call fcn.1006a960
add esp, 8
jmp 0x1005f2bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e231
lea esi, [eax + 7]
jmp 0x1005e39c
mov ecx, str.Monday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e260
test dl, dl
je 0x1005e25c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e260
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e240
xor eax, eax
jmp 0x1005e265
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e271
lea esi, [eax + 1]
jmp 0x1005e39c
mov ecx, str.Tuesday
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 + 2]
jmp 0x1005e39c
mov ecx, str.Wednesday
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 + 3]
jmp 0x1005e39c
mov ecx, str.Thursday
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 0x1005e32e
lea esi, [eax + 4]
jmp 0x1005e39c
mov ecx, str.Friday
lea eax, [ebp - 0x24]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e356
test dl, dl
je 0x1005e352
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e356
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e336
xor eax, eax
jmp 0x1005e35b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e364
lea esi, [eax + 5]
jmp 0x1005e39c
mov ecx, str.Saturday
lea eax, [ebp - 0x24]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e390
test dl, dl
je 0x1005e38c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e390
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e370
xor eax, eax
jmp 0x1005e395
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005e39c
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.10006dd0
push 2
push 3
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.10006e80
mov eax, dword [0x10190e1c]
inc eax
add esp, 0x20
cmp esi, eax
jne 0x1005e42c
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 0x1005e42c
lea eax, [ebp - 0x80]
push eax
call esi
mov ecx, dword [0x10190e24]
inc ecx
add esp, 4
cmp eax, ecx
jl 0x1005e42c
push 0x100a05bc
call fcn.10008110
mov ecx, dword [0x1011d1bc]
add esp, 4
call fcn.1006f070
call fcn.10046130
jmp 0x1005f2bd
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
mov ebx, 1
cmp dword [0x10199274], ebx
jne 0x1005e54f
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 0x1005e54f
call esi
push 0
mov dword [0x1012d24c], eax
call fcn.10012ff0
push 0x1011c4d0
lea edx, [ebp - 0x274]
push 0x100a05b4
push edx
call edi
add esp, 0x10
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x1005e4b5
push eax
lea ecx, [ebp - 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x3505b08
push 0x1011b6e8
push 0x1011c4d0
lea edx, [ebp - 0x274]
push 0x100a05a0
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 0x100a059c
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 0x1005e56f
cmp ecx, dword [0x10190e74]
jl 0x1005e56f
push 0x100a0578
jmp 0x1005e40f
cmp dword [0x10190e58], ebx
jne 0x1005e58f
mov edx, dword [0x1012d380]
cmp edx, dword [0x10190e78]
jl 0x1005e58f
push 0x100a0554
jmp 0x1005e40f
cmp dword [0x10190f0c], ebx
jne 0x1005e5c3
mov eax, dword [0x2feacec]
movzx edx, word [eax + 0x14]
mov eax, dword [0x1011cd1c]
imul edx, edx, 0x1cc
sub eax, dword [edx + 0x336ed79]
cmp eax, dword [0x10190f10]
jl 0x1005e5c3
push 0x100a0530
jmp 0x1005e40f
cmp dword [0x10190e5c], ebx
jne 0x1005e5ef
mov eax, dword [0x10190e7c]
cdq
cmp dword [0x1012d2a4], edx
jl 0x1005e5ef
jg 0x1005e5e5
mov edx, dword [0x1012d2a0]
cmp edx, eax
jb 0x1005e5ef
push 0x100a0508
jmp 0x1005e40f
mov ebx, dword [sym.imp.WINMM.dll_PlaySoundA]
mov esi, 1
cmp dword [0x1019525c], esi
jne 0x1005e645
cmp ecx, dword [0x10195264]
jl 0x1005e645
push 0x100a04e0
call fcn.10008110
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a04d0
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 0x1005e695
mov eax, dword [0x1012d380]
cmp eax, dword [0x10195268]
jl 0x1005e695
push 0x100a04a8
call fcn.10008110
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a04d0
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 0x1005e6ac
cmp ecx, esi
jne 0x1005e7d5
cmp byte [0x1012d410], 1
jne 0x1005e7d5
cmp eax, esi
jne 0x1005e782
mov ecx, dword [0x1011d1bc]
call fcn.1006f070
cmp dword [0x10190e2c], esi
jne 0x1005f2bd
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 0x1005e766
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 0x100a04a0
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
cmp ecx, esi
jne 0x1005e7d5
cmp dword [0x101961a4], 0
jne 0x1005e79a
mov ecx, dword [0x1011d1bc]
call fcn.1006f070
push 0x100a0494
call fcn.10008110
push 0x1f4
call sub.mfc100.dll_Ordinal_265
push 0x1011c4d0
mov esi, eax
push 0x100a04d0
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 0x1005f2bd
cmp dword [0x10190e40], esi
jne 0x1005e810
mov edi, dword [0x3505ba0]
mov ebx, dword [0x3505ba4]
cmp edi, dword [0x10152778]
jne 0x1005e7f9
cmp ebx, dword [0x1015277c]
je 0x1005e848
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1012d258], eax
mov dword [0x10152778], edi
mov dword [0x1015277c], ebx
cmp dword [0x10190e4c], esi
jne 0x1005e897
xor edx, edx
mov eax, 0x2fce210
lea edi, [edx + 7]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005e833
cmp byte [ecx + 0x330], 0
je 0x1005e833
add edx, esi
add eax, 4
sub edi, esi
jne 0x1005e822
test edx, edx
jne 0x1005e897
push 0x100a0478
jmp 0x1005e40f
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 0x1005e87e
fadd dword [0x1009e740]
fild dword [0x10190e70]
fcompp
fnstsw ax
test ah, 0x41
jp 0x1005e810
push 0x100a0458
jmp 0x1005e40f
cmp dword [0x10190e50], esi
jne 0x1005e968
mov edi, dword [0x2fcc3b0]
xor esi, esi
xor ebx, ebx
call fcn.10006a40
test eax, eax
je 0x1005e90d
add edi, 0x53c
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x1005e8f9
lea ecx, [eax + 0x64]
mov eax, 0x100a0450
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e8f0
test dl, dl
je 0x1005e8ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e8f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e8d0
xor eax, eax
jmp 0x1005e8f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005e908
inc ebx
add edi, 4
call fcn.10006a40
cmp ebx, eax
jb 0x1005e8c0
jmp 0x1005e90d
mov esi, 1
mov eax, dword [0x2fcc3b4]
xor edi, edi
lea ebx, [eax + 0x53c]
mov eax, dword [ebx]
test eax, eax
je 0x1005e951
lea ecx, [eax + 0x64]
mov eax, 0x100a0450
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e948
test dl, dl
je 0x1005e944
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e948
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e928
xor eax, eax
jmp 0x1005e94d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005e968
inc edi
add ebx, 4
cmp edi, 0xf
jl 0x1005e91a
test esi, esi
jne 0x1005e968
push 0x100a0434
jmp 0x1005e40f
cmp dword [0x10190e8c], 1
mov esi, dword [sym.imp.MSVCR100.dll_strstr]
jne 0x1005e9d0
mov ebx, dword [0x2fcc3b0]
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005e9b5
add ebx, 0x53c
mov edi, edi
mov eax, dword [ebx]
test eax, eax
je 0x1005e9a8
add eax, 0x64
push 0x1009eb30
push eax
call esi
add esp, 8
test eax, eax
jne 0x1005e9d0
inc edi
add ebx, 4
call fcn.10006a40
cmp edi, eax
jb 0x1005e990
push 0x1009eb30
call fcn.10006d70
add esp, 4
test eax, eax
jne 0x1005e9d0
push 0x100a0418
jmp 0x1005e40f
xor esi, esi
lea ebx, [esi + 1]
cmp dword [0x3505b88], esi
jne 0x1005eb53
cmp dword [0x10193ff4], ebx
jne 0x1005eadd
cmp dword [0x1019428c], esi
jne 0x1005ea95
cmp dword [0x1011cd68], 2
jne 0x1005ea4b
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 [0x101a46e8]
push 0x10046f60
push 0x12c
add eax, 0x45
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a0408
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
call fcn.1006ef40
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 [0x101a46e8]
push 0x1005dd50
push edx
add eax, 0x44
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x100a03f8
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
call fcn.1006ef40
mov dword [0x1011d19c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x101a46e8]
push 0x10046ec0
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 0x100a03e8
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
cmp dword [0x10193ff8], ebx
jne 0x1005eb53
cmp dword [0x10194290], ebx
jne 0x1005eb36
call fcn.1006ef40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push 0x10046ec0
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 0x100a03d8
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
mov ecx, dword [0x1011d1bc]
call fcn.1006f070
push 0x100a03c4
call fcn.10008110
add esp, 4
jmp 0x1005f2bd
cmp dword [0x10191a00], ebx
jne 0x1005ebb8
mov eax, dword [0x2fcc3b4]
xor esi, esi
lea edi, [eax + 0x53c]
mov eax, dword [edi]
test eax, eax
je 0x1005eb9f
lea ecx, [eax + 0x64]
mov eax, 0x100a0450
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005eb96
test dl, dl
je 0x1005eb92
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005eb96
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005eb76
xor eax, eax
jmp 0x1005eb9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005ebb8
add esi, ebx
add edi, 4
cmp esi, 0xf
jl 0x1005eb68
push 0
push 0x100a0450
call fcn.10006a70
add esp, 8
cmp dword [0x10190e60], ebx
jne 0x1005ebfa
xor edx, edx
mov eax, 0x2fce210
lea edi, [edx + 7]
lea ebx, [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005ebe1
cmp byte [ecx + 0x330], 0
je 0x1005ebe1
add edx, ebx
add eax, 4
sub edi, ebx
jne 0x1005ebd0
cmp edx, dword [0x10190e80]
jge 0x1005ebfa
push 0x100a03a0
jmp 0x1005e40f
cmp dword [0x101956bc], ebx
jne 0x1005ec39
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 0x1005ec39
push 0x32
mov dword [0x1012d250], ecx
call fcn.1005b1c0
add esp, 4
cmp dword [0x1019726c], ebx
jne 0x1005ecb2
push 0x14
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x101974b4
call sub.mfc100.dll_Ordinal_6969
mov esi, 0x2fce210
mov eax, dword [esi]
test eax, eax
je 0x1005ec99
cmp byte [eax + 0x330], 0
je 0x1005ec99
lea ecx, [ebp - 0x24]
add eax, 0x338
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005ec90
test dl, dl
je 0x1005ec8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005ec90
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ec70
xor eax, eax
jmp 0x1005ec95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005eca6
add esi, 4
cmp esi, 0x2fce22c
jl 0x1005ec56
jmp 0x1005ecb2
lea ecx, [ebp - 0x24]
push ecx
call fcn.10039f60
add esp, 4
cmp dword [0x101960fc], ebx
jne 0x1005ed29
mov edi, dword [ebp - 0x34c]
lea eax, [edi + 0x4848]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1005ecd0
sub eax, edx
je 0x1005ed29
push 0x32
lea edx, [ebp - 0x58]
push edx
mov ecx, 0x10196a5c
call sub.mfc100.dll_Ordinal_6969
lea ecx, [edi + 0x4848]
lea eax, [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005ed14
test dl, dl
je 0x1005ed10
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005ed14
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005ecf4
xor eax, eax
jmp 0x1005ed19
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1005ed29
lea eax, [ebp - 0x58]
push eax
call fcn.1003a050
add esp, 4
mov eax, dword [0x2fcc3b0]
lea esi, [eax + 0x53c]
mov eax, dword [esi]
mov dword [ebp - 0x348], esi
test eax, eax
jle 0x1005ed5a
add eax, 0x64
push 0x10097ce0
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x1005f0af
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x344], edi
call fcn.10006a40
test eax, eax
je 0x1005edc6
mov dword [ebp - 0x278], esi
mov ecx, dword [ebp - 0x278]
mov esi, dword [ecx]
test esi, esi
je 0x1005ed9d
lea edx, [esi + 0x64]
push 0x10097ce0
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005ed9d
cmp dword [esi + 0xe74], ebx
jg 0x1005edb0
add dword [ebp - 0x278], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005ed73
jmp 0x1005edc6
mov ebx, dword [esi + 0xe44]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
cmp dword [0x10197088], 1
jne 0x1005eebe
mov eax, dword [0x10197100]
test eax, eax
jne 0x1005ee02
mov eax, dword [0x1009e324]
mov ecx, dword [0x1009e328]
mov dx, word [0x1009e32c]
mov dword [ebp - 0x58], eax
mov al, byte [0x1009e32e]
mov dword [ebp - 0x54], ecx
mov word [ebp - 0x50], dx
mov byte [ebp - 0x4e], al
jmp 0x1005ee58
cmp eax, 1
jne 0x1005ee2e
mov ecx, dword [0x1009e318]
mov edx, dword [0x1009e31c]
mov ax, word [0x1009e320]
mov dword [ebp - 0x58], ecx
mov cl, byte [0x1009e322]
mov dword [ebp - 0x54], edx
mov word [ebp - 0x50], ax
mov byte [ebp - 0x4e], cl
jmp 0x1005ee58
cmp eax, 2
jne 0x1005ee58
mov edx, dword [0x1009e30c]
mov eax, dword [0x1009e310]
mov cx, word [0x1009e314]
mov dword [ebp - 0x58], edx
mov dl, byte [0x1009e316]
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], cx
mov byte [ebp - 0x4e], dl
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005eebe
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x33c], eax
nop
mov ecx, dword [ebp - 0x33c]
mov esi, dword [ecx]
test esi, esi
je 0x1005eead
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 0x1005eead
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005eead
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005ee70
cmp dword [ebp - 0x344], 0
jne 0x1005f08f
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005ef3e
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005ef20
lea eax, [esi + 0x64]
push 0x100a0394
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005ef20
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005ef20
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005eee2
cmp dword [ebp - 0x344], 0
jne 0x1005f08f
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005efb1
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005ef93
lea eax, [esi + 0x64]
push 0x1009e30c
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005ef93
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005ef93
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005ef55
cmp dword [ebp - 0x344], 0
jne 0x1005f08f
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005f028
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
jmp 0x1005efd0
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005f00e
lea eax, [esi + 0x64]
push 0x1009e318
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f00e
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005f00e
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005efd0
cmp dword [ebp - 0x344], 0
jne 0x1005f08f
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005f0af
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x33c], ecx
nop
mov edx, dword [ebp - 0x33c]
mov esi, dword [edx]
test esi, esi
je 0x1005f07e
lea eax, [esi + 0x64]
push 0x1009e324
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f07e
mov eax, dword [esi + 0xe44]
cmp eax, ebx
jl 0x1005f07e
mov ebx, eax
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x344], 1
add dword [ebp - 0x33c], 4
inc edi
call fcn.10006a40
cmp edi, eax
jb 0x1005f040
cmp dword [ebp - 0x344], 1
jne 0x1005f0af
mov ecx, dword [ebp - 0x278]
push 1
push 1
push 1
push 0
push ecx
call fcn.1003a110
add esp, 0x14
mov dword [ebp - 0x33c], 0xffffffff
xor edi, edi
call fcn.10006a40
test eax, eax
je 0x1005f162
mov ebx, dword [ebp - 0x348]
mov edi, edi
mov esi, dword [ebx]
test esi, esi
je 0x1005f0ff
lea edx, [esi + 0x64]
push 0x100a038c
push edx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x1005f0ff
mov eax, 1
mov dword [ebp - 0x33c], eax
cmp dword [esi + 0xef4], eax
je 0x1005f162
inc edi
add ebx, 4
call fcn.10006a40
cmp edi, eax
jb 0x1005f0d0
cmp dword [ebp - 0x33c], 1
jne 0x1005f162
xor esi, esi
call fcn.10006a40
test eax, eax
je 0x1005f162
mov edi, dword [ebp - 0x348]
mov ebx, dword [sym.imp.MSVCR100.dll_strstr]
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
je 0x1005f148
add eax, 0x64
push 0x100a038c
push eax
call ebx
add esp, 8
test eax, eax
jne 0x1005f157
inc esi
add edi, 4
call fcn.10006a40
cmp esi, eax
jb 0x1005f130
jmp 0x1005f162
push 0
push esi
call fcn.100388a0
add esp, 8
mov eax, dword [ebp - 0x34c]
cmp dword [eax + 0x51f8], 0
jne 0x1005f17a
cmp dword [eax + 0x2a60], 6
je 0x1005f194
cmp dword [eax + 0x480c], 0
jne 0x1005f223
cmp dword [eax + 0x2a60], 4
jne 0x1005f223
xor edi, edi
lea eax, [ebp - 0x2a4]
push eax
push edi
call fcn.10006c20
add esp, 8
mov ecx, 0x1019c4e4
xor esi, esi
call fcn.10001080
test eax, eax
jle 0x1005f219
jmp 0x1005f1c0
mov edx, dword [0x1019c4e4]
mov eax, dword [edx + esi*4]
lea ecx, [ebp - 0x2a4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005f1f0
test dl, dl
je 0x1005f1ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005f1f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005f1d0
xor eax, eax
jmp 0x1005f1f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1005f20a
mov eax, dword [ebp - 0x288]
push 1
push eax
call fcn.1003a1e0
add esp, 8
mov ecx, 0x1019c4e4
inc esi
call fcn.10001080
cmp esi, eax
jl 0x1005f1c0
inc edi
cmp edi, 0x14
jl 0x1005f196
cmp dword [0x1011cd68], 2
je 0x1005f2bd
cmp byte [0x1012d419], 0
jne 0x1005f2bd
mov ecx, 0x101a2120
call fcn.10001080
cmp eax, 2
jne 0x1005f2bd
call fcn.100470d0
cmp al, 1
jne 0x1005f2bd
mov byte [0x1012d419], al
call fcn.1006ef40
push 0
push 0
push 0
push 0
mov dword [0x1011d1a4], 0x7d0
call fcn.100474a0
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push fcn.100474a0
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.10038180
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.10086786
mov esp, ebp
pop ebp
ret