Function at 0x10047a60
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1f0
lea eax, [ebp - 0x2a8]
push 0
push eax
mov dword [ebp - 0x2ac], 0xffff6059
call sub.MSVCR100.dll_memset
mov esi, dword [0x36208e4]
add esp, 0xc
test esi, esi
je 0x10048091
fld dword [esi + 0x1f6c]
push ebx
push edi
call fcn.100867b0
fld dword [esi + 0x1f64]
lea ecx, [ebp - 0x38]
push 0xa
push ecx
mov edi, eax
call fcn.100867b0
mov esi, dword [sym.imp.MSVCR100D.dll__itoa]
push eax
call esi
push 0xa
lea edx, [ebp - 0x44]
push edx
push edi
call esi
mov eax, 0x33ccf58
add esp, 0x18
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047ae0
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047af2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047b10
mov bx, word [0x10097d60]
lea eax, [ebp - 0x38]
mov word [edi], bx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047b27
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047b40
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047b60
mov ax, word [0x10097d5c]
mov word [edi], ax
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047b76
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047b86
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047ba5
push 0xa
lea ecx, [ebp - 0x50]
mov word [edi], bx
mov edx, dword [0x35ed708]
push ecx
push edx
call dword [sym.imp.MSVCR100D.dll__itoa]
lea eax, [ebp - 0x50]
add esp, 0xc
mov ecx, eax
jmp 0x10047bd0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047bd0
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047be2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047c00
mov ax, word [0x10097d60]
mov word [edi], ax
mov ecx, dword [0x35f4b60]
inc ecx
push ecx
push 0x35f46f0
lea edx, [ebp - 0x2e0]
push 0x1009ee24
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x2e0]
add esp, 0x10
mov ecx, eax
jmp 0x10047c40
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047c40
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047c52
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x2ac]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047c70
mov ax, word [0x10097d60]
mov word [edi], ax
mov eax, dword [0x35f6664]
add eax, 0x53c
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], 8
jmp 0x10047ca0
mov esi, dword [eax]
test esi, esi
je 0x10047f3d
lea ecx, [ebp - 0x84]
push ecx
push esi
call fcn.1001abd0
mov eax, dword [esi + 0xd6c]
mov ecx, dword [esi + 0xd68]
push 0xa
lea edx, [ebp - 0xb8]
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__i64toa]
mov edx, dword [esi + 0xd54]
add esp, 0x18
cmp edx, 5
ja 0x10047eb3
movzx ecx, byte [esi + 0xb0]
movzx ebx, byte [esi + 0xb4]
movzx edi, byte [esi + 0xac]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x10047d27
test edx, edx
je 0x10047eb3
cmp edi, 1
jne 0x10047d3a
mov dx, word [0x1009ee20]
mov al, byte [0x1009ee22]
jmp 0x10047d59
cmp edi, 2
jne 0x10047d4d
mov dx, word [0x1009ee1c]
mov al, byte [0x1009ee1e]
jmp 0x10047d59
mov dx, word [0x1009b268]
mov al, byte [0x1009b26a]
mov word [ebp - 0x2c], dx
mov byte [ebp - 0x2a], al
cmp ecx, 1
jne 0x10047d7e
mov cx, word [0x10095590]
mov dl, byte [0x10095592]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047e7a
cmp ecx, 2
jne 0x10047d94
mov ax, word [0x1009558c]
mov cl, byte [0x1009558e]
jmp 0x10047e73
cmp ecx, 3
jne 0x10047db1
mov dx, word [0x10095588]
mov al, byte [0x1009558a]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047e7a
cmp ecx, 4
jne 0x10047dcf
mov cx, word [0x10095584]
mov dl, byte [0x10095586]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047e7a
cmp ecx, 5
jne 0x10047de5
mov ax, word [0x10095580]
mov cl, byte [0x10095582]
jmp 0x10047e73
cmp ecx, 0xb
jne 0x10047dff
mov dx, word [0x1009557c]
mov al, byte [0x1009557e]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047e7a
cmp ecx, 0xc
jne 0x10047e1a
mov cx, word [0x1009ee18]
mov dl, byte [0x1009ee1a]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047e7a
cmp ecx, 0xd
jne 0x10047e2d
mov ax, word [0x10095574]
mov cl, byte [0x10095576]
jmp 0x10047e73
cmp ecx, 0xe
jne 0x10047e47
mov dx, word [0x10095570]
mov al, byte [0x10095572]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047e7a
cmp ecx, 0x10
jne 0x10047e62
mov cx, word [0x1009556c]
mov dl, byte [0x1009556e]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047e7a
cmp ecx, 0x11
jne 0x10047e7a
mov ax, word [0x10095568]
mov cl, byte [0x1009556a]
mov byte [ebp - 0x16], cl
mov word [ebp - 0x18], ax
mov ecx, dword [esi + 0xd4c]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xb8]
push eax
push ecx
add esi, 0x64
push esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2c]
push eax
push ebx
lea ecx, [ebp - 0x344]
push str.__d_s_s__s
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x24
jmp 0x10047f0d
cmp edx, 9
jne 0x10047edf
mov ecx, dword [esi + 0xd4c]
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xb8]
push eax
push ecx
add esi, 0x64
push esi
push 0x1009edec
lea edx, [ebp - 0x344]
push edx
jmp 0x10047f04
mov edx, dword [esi + 0xd4c]
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xb8]
push ecx
push edx
add esi, 0x64
push esi
push 0x1009eddc
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x344]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047f15
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047f25
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x34c]
add eax, 4
dec dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
jne 0x10047ca0
lea eax, [ebp - 0x2a8]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047f63
sub eax, esi
mov dword [ebp - 0x348], eax
je 0x10047f9f
jmp 0x10047f80
xor byte [ebp + ecx - 0x2a8], 0xf
lea eax, [ebp - 0x2a8]
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047f92
sub eax, esi
cmp ecx, eax
jb 0x10047f80
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047fa8
sub eax, edx
mov word [ebp - 0x2aa], ax
lea ecx, [ebp - 0x2a8]
mov eax, 0x1012d574
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047fe3
test dl, dl
je 0x10047fdf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047fe3
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047fc3
xor eax, eax
jmp 0x10047fe8
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x10048005
call esi
sub eax, dword [0x101b8ce0]
cmp eax, 0x6ddd00
jbe 0x1004808f
mov eax, 0x1012d570
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048010
sub eax, edx
je 0x10048052
mov eax, 0x1012d574
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048023
sub eax, edx
mov bl, 0x2b
cmp byte [eax + 0x1012d573], bl
jne 0x10048052
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048040
sub eax, edx
cmp byte [ebp + eax - 0x2a9], bl
je 0x1004808f
push 0x1f4
lea ecx, [ebp - 0x2ac]
push ecx
push 0x1012d570
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
push 0
push 0
push 0
push 0x10047a30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [0x101b8ce0], eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10086746
mov esp, ebp
pop ebp
ret