Function at 0x10002d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x25d
mov edi, ebx
lea edx, [ebx + 0x196]
mov dword [0x1001b5f4], 1
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ax, word [edx]
mov dword [0x1001b5f8], eax
mov ax, word [ebx + 0x192]
cmp ax, 0x64
je 0x10002d98
cmp ax, 0x65
je 0x10002d98
cmp ax, 2
je 0x10002d98
lea edi, [ebx + 0x198]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x970], 0x64
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov word [ebx + 0x968], cx
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edx
push 0x10002b90
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
xor eax, eax
mov ax, word [ebx + 0x192]
cmp eax, 0x65
ja case.0x10002dd1.10
xor ecx, ecx
mov cl, byte [eax + 0x100032ac]
jmp dword [ecx*4 + 0x10003280]
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x10003320
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor edx, edx
mov dx, word [ebx + 0x194]
inc eax
cmp eax, edx
mov dword [ebp + 8], eax
jl 0x10002ded
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x10003460
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x10002e3d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x10003540
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor edx, edx
mov dx, word [ebx + 0x194]
inc eax
cmp eax, edx
mov dword [ebp + 8], eax
jl 0x10002e8d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x100039b0
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x10002edd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebx + 0x198]
mov word [ebx + 0x968], 0xa
rep stosd dword es:[edi], eax
xor edi, edi
cmp word [ebx + 0x968], di
jbe 0x10002f74
push 0xc8
push 1
call fcn.10002af0
xor edx, edx
add esp, 8
mov byte [ebx + edi + 0x198], al
mov dx, word [ebx + 0x968]
inc edi
cmp edi, edx
jl 0x10002f50
push 0
push 0
push ebx
push 0x100037a0
push 0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x10002f2d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebx + 0x198]
mov word [ebx + 0x968], 0x14
rep stosd dword es:[edi], eax
nop
nop
nop
nop
xor edi, edi
cmp word [ebx + 0x968], di
jbe 0x10003013
push 0xc8
push 1
call fcn.10002af0
xor edx, edx
add esp, 8
mov byte [ebx + edi + 0x198], al
mov dx, word [ebx + 0x968]
inc edi
cmp edi, edx
jl 0x10002fef
push 0
push 0
push ebx
push 0x10003320
push 0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x10002fc8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x10003b30
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor edx, edx
mov dx, word [ebx + 0x194]
inc eax
cmp eax, edx
mov dword [ebp + 8], eax
jl 0x10003067
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x10003320
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x100030b7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x100037a0
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor edx, edx
mov dx, word [ebx + 0x194]
inc eax
cmp eax, edx
mov dword [ebp + 8], eax
jl 0x10003107
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
call fcn.10002c10
test eax, eax
je 0x100031b0
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
push 0
push 0
push ebx
push 0x100039b0
push 0
push 0
call esi
push eax
call edi
push 0
push 0
push ebx
push 0x10003b30
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
add eax, 2
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x10003160
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
cmp word [ebx + 0x194], 0
mov dword [ebp + 8], 0
jbe case.0x10002dd1.10
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebx + 0x198]
mov word [ebx + 0x968], 0x14
rep stosd dword es:[edi], eax
xor edi, edi
cmp word [ebx + 0x968], di
jbe 0x10003217
push 0xc8
push 1
call fcn.10002af0
xor edx, edx
add esp, 8
mov byte [ebx + edi + 0x198], al
mov dx, word [ebx + 0x968]
inc edi
cmp edi, edx
jl 0x100031f3
nop
nop
nop
nop
push 0
push 0
push ebx
push 0x10003320
push 0
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push ebx
push 0x100037a0
push 0
push 0
call esi
push eax
call edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [ebx + 0x194]
add eax, 2
cmp eax, ecx
mov dword [ebp + 8], eax
jl 0x100031d0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4