Function at 0x4276de
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 0x427849
lea esi, [edi + 0x14]
push esi
mov dword [esp + 0x24], esi
call dword [0x1017119c]
mov eax, dword [edi + 0xc]
cmp ebx, eax
je 0x42780f
mov dword [esp + 0x10], 0
jge 0x427868
sub eax, ebx
mov dword [esp + 0x14], eax
test eax, eax
jle 0x42780f
mov eax, dword [edi + 0x3c]
push eax
call dword [0x1017108c]
mov esi, dword [0x10171090]
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 [0x10171178]
cmp eax, 0x102
jne 0x427795
push 0
push ebx
call esi
test eax, eax
je 0x42779d
mov eax, 0x102
call fcn.0042b2ae
mov ecx, dword [esp + 0x20]
push ecx
mov esi, eax
call dword [0x10171198]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x427821
mov ecx, dword [edi + 0xc]
xor esi, esi
test ecx, ecx
jle 0x4277f8
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 4]
mov edi, edi
cmp dword [eax], edx
je 0x4277bc
inc esi
add eax, 4
cmp esi, ecx
jl 0x4277ae
jmp 0x4277f8
cmp esi, 0xffffffff
je 0x4277f8
test esi, esi
js 0x427857
cmp esi, ecx
jge 0x427857
mov eax, dword [edi + 8]
mov ebx, dword [eax + esi*4]
push 0xea60
push ebx
call dword [0x10171178]
test eax, eax
jne 0x42783e
push ebx
call dword [0x1017117c]
mov eax, esi
lea esi, [edi + 4]
call fcn.0042831e
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x42772d
mov esi, dword [esp + 0x20]
push esi
call dword [0x10171198]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0042b2be
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call dword [0x10171198]
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 [0x10171198]
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 0x42780f
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 0x1001a7e0
push eax
push 0
call fcn.00563a30
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4278f5
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x3c]
push ecx
push eax
call dword [0x10171178]
test eax, eax
jne 0x42790e
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
lea esi, [edi + 4]
push eax
mov dword [esp + 0x1c], ebx
call fcn.004282ae
test eax, eax
jne 0x4278d0
push ebx
call dword [0x1017117c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jl 0x427872
push esi
call dword [0x10171198]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0042b2be
push esi
mov edi, eax
call dword [0x10171198]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x102
jne 0x427931
push ebx
call dword [0x1017117c]
push esi
call dword [0x10171198]
mov eax, 0x80070102
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0042b2be
push ebx
mov edi, eax
call dword [0x1017117c]
push esi
call dword [0x10171198]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4