Function at 0xb0bd7b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
mov ebx, eax
je 0xb0bee6
lea esi, [edi + 0x14]
push esi
mov dword [esp + 0x24], esi
call dword [0x101711ac]
mov eax, dword [edi + 0xc]
cmp ebx, eax
je 0xb0beac
mov dword [esp + 0x10], 0
jge 0xb0bf05
sub eax, ebx
mov dword [esp + 0x14], eax
test eax, eax
jle 0xb0beac
mov eax, dword [edi + 0x3c]
push eax
call dword [0x1017108c]
mov esi, dword [reloc.MSVCRT.dll_strncpy]
push 1
lea ebx, [edi + 0x38]
push ebx
call esi
mov ecx, dword [edi + 0x40]
push 0xffffffffffffffff
push 0
push 0
push ecx
call dword [0x10171094]
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
push edx
push eax
call dword [0x10171188]
cmp eax, 0x102
jne 0xb0be32
push 0
push ebx
call esi
test eax, eax
je 0xb0be3a
mov eax, 0x102
call fcn.00b0f71b
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
call dword [0x101711a8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0xb0bebe
mov ecx, dword [edi + 0xc]
xor esi, esi
test ecx, ecx
jle 0xb0be95
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov edi, edi
cmp dword [eax], edx
je 0xb0be59
inc esi
add eax, 4
cmp esi, ecx
jl 0xb0be4b
jmp 0xb0be95
cmp esi, reloc.MSVCRT.dll_strncpy
je 0xb0be95
test esi, esi
js 0xb0bef4
cmp esi, ecx
jge 0xb0bef4
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
push 0xea60
push ebx
call dword [0x10171188]
test eax, eax
jne 0xb0bedb
push ebx
call dword [0x1017118c]
mov eax, esi
lea esi, [edi + 4]
call fcn.00b0c98b
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0xb0bdca
mov esi, dword [esp + 0x20]
push esi
call dword [0x101711a8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00b0f72b
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call dword [0x101711a8]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x20]
push eax
call dword [0x101711a8]
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [0x10171098]
sub ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jle 0xb0beac
mov ecx, dword [edi + 0x3c]
push ecx
call dword [0x1017108c]
mov eax, dword [edi + 0x2c]
lea edx, [esp + 0x18]
push edx
push 0
push edi
push 0x1001a5f0
push eax
push 0
call fcn.00c4864d
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0xb0bf92
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
push ecx
push eax
call dword [0x10171188]
test eax, eax
jne 0xb0bfab
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
lea esi, [edi + 4]
push eax
mov dword [esp + 0x1c], ebx
call fcn.00b0c91b
test eax, eax
jne 0xb0bf6d
push ebx
call dword [0x1017118c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jl 0xb0bf0f
push esi
call dword [0x101711a8]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00b0f72b
push esi
mov edi, eax
call dword [0x101711a8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x102
jne 0xb0bfce
push ebx
call dword [0x1017118c]
push esi
call dword [0x101711a8]
mov eax, 0x80070102
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00b0f72b
push ebx
mov edi, eax
call dword [0x1017118c]
push esi
call dword [0x101711a8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4