Function at 0x10002e24
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, 0x25d
mov edi, ebx
lea edx, [ebx + 0x196]
mov dword [0x10018418], 1
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ax, word [edx]
mov dword [0x1001841c], eax
mov ax, word [ebx + 0x192]
cmp ax, 0x64
je 0x10002ae7
cmp ax, 0x65
je 0x10002ae7
cmp ax, 2
je 0x10002ae7
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]
xor edi, edi
push edi
push edi
push edx
push 0x10002910
push edi
push edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
xor eax, eax
mov ax, word [ebx + 0x192]
cmp eax, 0x65
ja case.0x10002b1e.10
xor ecx, ecx
mov cl, byte [eax + 0x10002f60]
jmp dword [ecx*4 + 0x10002f34]
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x10002fd0
push 0
push 0
call esi
push eax
call ebp
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10002b33
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x100033b0
push 0
push 0
call esi
push eax
call ebp
xor eax, eax
inc edi
mov ax, word [ebx + 0x194]
cmp edi, eax
jl 0x10002b76
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x10003110
push 0
push 0
call esi
push eax
call ebp
xor ecx, ecx
inc edi
mov cx, word [ebx + 0x194]
cmp edi, ecx
jl 0x10002bb9
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x100036c0
push 0
push 0
call esi
push eax
call ebp
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10002bfc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x14], edi
jbe case.0x10002b1e.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 0x10002c89
push 0xc8
push 1
call fcn.10002870
mov byte [ebx + edi + 0x198], al
xor eax, eax
mov ax, word [ebx + 0x968]
add esp, 8
inc edi
cmp edi, eax
jl 0x10002c65
push 0
push 0
push ebx
push 0x100034b0
push 0
push 0
call esi
push eax
call ebp
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10002c42
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x14], edi
jbe case.0x10002b1e.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 0x10002d1e
push 0xc8
push 1
call fcn.10002870
xor edx, edx
add esp, 8
mov byte [ebx + edi + 0x198], al
mov dx, word [ebx + 0x968]
inc edi
cmp edi, edx
jl 0x10002cfa
push 0
push 0
push ebx
push 0x10002fd0
push 0
push 0
call esi
push eax
call ebp
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebx + 0x194]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10002cd7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x10003840
push 0
push 0
call esi
push eax
call ebp
xor edx, edx
inc edi
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10002d69
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x10002fd0
push 0
push 0
call esi
push eax
call ebp
xor eax, eax
inc edi
mov ax, word [ebx + 0x194]
cmp edi, eax
jl 0x10002dac
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x100034b0
push 0
push 0
call esi
push eax
call ebp
xor ecx, ecx
inc edi
mov cx, word [ebx + 0x194]
cmp edi, ecx
jl 0x10002def
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
call fcn.10002980
test eax, eax
je 0x10002e85
cmp word [ebx + 0x194], 0
jbe case.0x10002b1e.10
push 0
push 0
push ebx
push 0x100036c0
push 0
push 0
call esi
push eax
call ebp
push 0
push 0
push ebx
push 0x10003840
push 0
push 0
call esi
push eax
call ebp
xor edx, edx
add edi, 2
mov dx, word [ebx + 0x194]
cmp edi, edx
jl 0x10002e3b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4
cmp word [ebx + 0x194], di
mov dword [esp + 0x14], edi
jbe case.0x10002b1e.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 0x10002edd
push 0xc8
push 1
call fcn.10002870
mov byte [ebx + edi + 0x198], al
xor eax, eax
mov ax, word [ebx + 0x968]
add esp, 8
inc edi
cmp edi, eax
jl 0x10002eb9
push 0
push 0
push ebx
push 0x10002fd0
push 0
push 0
call esi
push eax
call ebp
push 0
push 0
push ebx
push 0x100034b0
push 0
push 0
call esi
push eax
call ebp
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebx + 0x194]
add eax, 2
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x10002e96
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4