Function at 0x10003161
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, 0x25d
mov edi, ebx
lea ebp, [ebx + 0x196]
mov dword [0x1001cc2c], 1
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ax, word [ebp]
mov dword [0x1001cc30], eax
mov ax, word [ebx + 0x192]
cmp ax, 0x64
je 0x10002ec9
cmp ax, 0x65
je 0x10002ec9
cmp ax, 2
je 0x10002ec9
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_LoadLibraryA]
push str.Sleep
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CloseHandle
push str.kernel32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
xor edi, edi
mov esi, eax
push edi
push edi
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x10002ca0
push edi
push edi
call ebp
push eax
call esi
xor eax, eax
mov ax, word [ebx + 0x192]
cmp eax, 0x65
ja case.0x10002f2a.10
xor ecx, ecx
mov cl, byte [eax + 0x10003360]
jmp dword [ecx*4 + 0x10003334]
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x100033d0
push 0
push 0
call ebp
push eax
call esi
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10002f3f
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x100037c0
push 0
push 0
call ebp
push eax
call esi
xor eax, eax
inc edi
mov ax, word [ebx + 0x194]
cmp edi, eax
jl 0x10002f81
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x10003520
push 0
push 0
call ebp
push eax
call esi
xor ecx, ecx
inc edi
mov cx, word [ebx + 0x194]
cmp edi, ecx
jl 0x10002fc3
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x10003af0
push 0
push 0
call ebp
push eax
call esi
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10003005
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x18], edi
jbe case.0x10002f2a.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 0x10003091
push 0xc8
push 1
call fcn.10002c00
mov byte [ebx + edi + 0x198], al
xor eax, eax
mov ax, word [ebx + 0x968]
add esp, 8
inc edi
cmp edi, eax
jl 0x1000306d
push 0
push 0
push ebx
push 0x100038d0
push 0
push 0
call ebp
push eax
call esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x1000304a
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x18], edi
jbe case.0x10002f2a.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 0x10003125
push 0xc8
push 1
call fcn.10002c00
xor edx, edx
add esp, 8
mov byte [ebx + edi + 0x198], al
mov dx, word [ebx + 0x968]
inc edi
cmp edi, edx
jl 0x10003101
push 0
push 0
push ebx
push 0x100033d0
push 0
push 0
call ebp
push eax
call esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x100030de
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x10003c90
push 0
push 0
call ebp
push eax
call esi
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x1000316f
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x100033d0
push 0
push 0
call ebp
push eax
call esi
xor eax, eax
inc edi
mov ax, word [ebx + 0x194]
cmp edi, eax
jl 0x100031b1
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x100038d0
push 0
push 0
call ebp
push eax
call esi
xor ecx, ecx
inc edi
mov cx, word [ebx + 0x194]
cmp edi, ecx
jl 0x100031f3
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
call fcn.10002d20
test eax, eax
je 0x10003287
cmp word [ebx + 0x194], 0
jbe case.0x10002f2a.10
push 0
push 0
push ebx
push 0x10003af0
push 0
push 0
call ebp
push eax
call esi
push 0
push 0
push ebx
push 0x10003c90
push 0
push 0
call ebp
push eax
call esi
xor edx, edx
add edi, 2
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x1000323e
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x18], edi
jbe case.0x10002f2a.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 0x100032df
push 0xc8
push 1
call fcn.10002c00
mov byte [ebx + edi + 0x198], al
xor eax, eax
mov ax, word [ebx + 0x968]
add esp, 8
inc edi
cmp edi, eax
jl 0x100032bb
push 0
push 0
push ebx
push 0x100033d0
push 0
push 0
call ebp
push eax
call esi
push 0
push 0
push ebx
push 0x100038d0
push 0
push 0
call ebp
push eax
call esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebx + 0x194]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x10003298
push 0x3e8
call dword [esp + 0x14]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4