Function at 0x10047ae0
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 [0x2fb7ac4]
add esp, 0xc
test esi, esi
je 0x10048111
fld dword [esi + 0x1f68]
push ebx
push edi
call fcn.10086850
fld dword [esi + 0x1f60]
lea ecx, [ebp - 0x38]
push 0xa
push ecx
mov edi, eax
call fcn.10086850
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, 0x34d28e8
add esp, 0x18
mov ecx, eax
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047b60
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047b72
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 0x10047b90
mov bx, word [0x10097d88]
lea eax, [ebp - 0x38]
mov word [edi], bx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047ba7
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 0x10047bc0
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 0x10047be0
mov ax, word [0x10097d84]
mov word [edi], ax
lea eax, [ebp - 0x44]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10047bf6
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047c06
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 0x10047c25
push 0xa
lea ecx, [ebp - 0x50]
mov word [edi], bx
mov edx, dword [0x2f92a08]
push ecx
push edx
call dword [sym.imp.MSVCR100D.dll__itoa]
lea eax, [ebp - 0x50]
add esp, 0xc
mov ecx, eax
jmp 0x10047c50
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047c50
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047c62
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 0x10047c80
mov ax, word [0x10097d88]
mov word [edi], ax
mov ecx, dword [0x2f99cac]
inc ecx
push ecx
push 0x2f99cb8
lea edx, [ebp - 0x2e0]
push 0x1009ee6c
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x2e0]
add esp, 0x10
mov ecx, eax
jmp 0x10047cc0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047cc0
lea edi, [ebp - 0x2ac]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047cd2
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 0x10047cf0
mov ax, word [0x10097d88]
mov word [edi], ax
mov eax, dword [0x2f9b2d0]
add eax, 0x53c
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], 8
jmp 0x10047d20
mov esi, dword [eax]
test esi, esi
je 0x10047fbd
lea ecx, [ebp - 0x84]
push ecx
push esi
call fcn.1001ac80
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 0x10047f33
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 0x10047da7
test edx, edx
je 0x10047f33
cmp edi, 1
jne 0x10047dba
mov dx, word [0x1009ee68]
mov al, byte [0x1009ee6a]
jmp 0x10047dd9
cmp edi, 2
jne 0x10047dcd
mov dx, word [0x1009ee64]
mov al, byte [0x1009ee66]
jmp 0x10047dd9
mov dx, word [0x1009b290]
mov al, byte [0x1009b292]
mov word [ebp - 0x2c], dx
mov byte [ebp - 0x2a], al
cmp ecx, 1
jne 0x10047dfe
mov cx, word [0x100955b8]
mov dl, byte [0x100955ba]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047efa
cmp ecx, 2
jne 0x10047e14
mov ax, word [0x100955b4]
mov cl, byte [0x100955b6]
jmp 0x10047ef3
cmp ecx, 3
jne 0x10047e31
mov dx, word [0x100955b0]
mov al, byte [0x100955b2]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047efa
cmp ecx, 4
jne 0x10047e4f
mov cx, word [0x100955ac]
mov dl, byte [0x100955ae]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047efa
cmp ecx, 5
jne 0x10047e65
mov ax, word [0x100955a8]
mov cl, byte [0x100955aa]
jmp 0x10047ef3
cmp ecx, 0xb
jne 0x10047e7f
mov dx, word [0x100955a4]
mov al, byte [0x100955a6]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047efa
cmp ecx, 0xc
jne 0x10047e9a
mov cx, word [0x1009ee60]
mov dl, byte [0x1009ee62]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047efa
cmp ecx, 0xd
jne 0x10047ead
mov ax, word [0x1009559c]
mov cl, byte [0x1009559e]
jmp 0x10047ef3
cmp ecx, 0xe
jne 0x10047ec7
mov dx, word [0x10095598]
mov al, byte [0x1009559a]
mov word [ebp - 0x18], dx
mov byte [ebp - 0x16], al
jmp 0x10047efa
cmp ecx, 0x10
jne 0x10047ee2
mov cx, word [0x10095594]
mov dl, byte [0x10095596]
mov word [ebp - 0x18], cx
mov byte [ebp - 0x16], dl
jmp 0x10047efa
cmp ecx, 0x11
jne 0x10047efa
mov ax, word [0x10095590]
mov cl, byte [0x10095592]
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 0x10047f8d
cmp edx, 9
jne 0x10047f5f
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 0x1009ee34
lea edx, [ebp - 0x344]
push edx
jmp 0x10047f84
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 0x1009ee24
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 0x10047f95
lea edi, [ebp - 0x2ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10047fa5
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 0x10047d20
lea eax, [ebp - 0x2a8]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10047fe3
sub eax, esi
mov dword [ebp - 0x348], eax
je 0x1004801f
jmp 0x10048000
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 0x10048012
sub eax, esi
cmp ecx, eax
jb 0x10048000
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048028
sub eax, edx
mov word [ebp - 0x2aa], ax
lea ecx, [ebp - 0x2a8]
mov eax, 0x1012d574
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10048063
test dl, dl
je 0x1004805f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10048063
add eax, 2
add ecx, 2
test dl, dl
jne 0x10048043
xor eax, eax
jmp 0x10048068
sbb eax, eax
sbb eax, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
jne 0x10048085
call esi
sub eax, dword [0x101b8ce0]
cmp eax, 0x6ddd00
jbe 0x1004810f
mov eax, 0x1012d570
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10048090
sub eax, edx
je 0x100480d2
mov eax, 0x1012d574
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100480a3
sub eax, edx
mov bl, 0x2b
cmp byte [eax + 0x1012d573], bl
jne 0x100480d2
lea eax, [ebp - 0x2a8]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100480c0
sub eax, edx
cmp byte [ebp + eax - 0x2a9], bl
je 0x1004810f
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 0x10047ab0
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.100867e6
mov esp, ebp
pop ebp
ret