Function at 0x10079120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1017c400]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], ecx
push ebx
push esi
push edi
cmp ecx, str.load
je 0x10079154
cmp ecx, 0x10169aa4
je 0x10079154
cmp ecx, 0x10169aa8
je 0x10079154
dec dword [0x101f1ac4]
mov esi, dword [0x101f1abc]
lea edx, [edx + edx*4]
shl edx, 2
cmp dword [ebp + 8], 0
je 0x10079171
add esi, 0xffffff8d
add esi, dword [0x101f1ab4]
jmp 0x10079174
add esi, 0xf
mov eax, dword [0x101f1ac0]
add eax, 0xf
add eax, edx
mov edx, dword [0x101f1acc]
mov dword [ebp - 0x30], eax
cmp edx, esi
jle 0x100791b0
mov ecx, dword [0x101f1ad0]
cmp ecx, eax
jle 0x100791b0
lea ebx, [esi + 0x64]
cmp edx, ebx
jge 0x100791b0
lea edi, [eax + 0xf]
cmp ecx, edi
jge 0x100791b0
cmp byte [0x101f0e05], 0
je 0x100791b6
mov al, 1
jmp 0x100791b8
lea edi, [eax + 0xf]
lea ebx, [esi + 0x64]
xor al, al
cmp dword [ebp + 0xc], 0
je 0x1007925e
test al, al
mov ecx, 0x101f80e8
lea eax, [ebp - 0x2c]
push eax
je 0x1007924d
lea eax, [ebp - 0x38]
push eax
call fcn.10079370
mov eax, dword [eax]
cmp byte [eax + 0xc], 0
jne 0x10079269
push 4
call fcn.100bf307
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [eax], ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push eax
push 0x10079690
push 0
push 0
call fcn.1012b328
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10079354
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1007934d
push ecx
push eax
call fcn.100bc0fd
add esp, 8
test eax, eax
jne 0x1007934d
lea eax, [ebp - 0x2c]
mov ecx, 0x101f80e8
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10079370
mov eax, dword [eax]
mov byte [eax + 0xc], 1
jmp 0x10079269
lea eax, [ebp - 0x48]
push eax
call fcn.10079370
mov eax, dword [eax]
mov byte [eax + 0xc], 0
jmp 0x10079269
mov dword [ebp - 0x24], 0xff3c3c3c
test al, al
jne 0x10079270
mov dword [ebp - 0x24], 0xff323232
mov ecx, dword [0x101f0d5c]
lea edx, [ebp - 0x24]
push dword [edx]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [0x101f0d5c]
push edi
push ebx
push dword [ebp - 0x30]
mov eax, dword [ecx]
push esi
call dword [eax + 0x40]
mov ecx, dword [0x101f0d5c]
mov dword [ebp - 0x24], 0xff3c3c3c
push dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [0x101f0d5c]
push edi
push ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x48]
mov edx, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100792d5
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.100369f0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], 0xffffffff
push eax
push 1
push dword [0x101f1aa4]
lea eax, [ebp - 0x30]
mov edx, ebx
push eax
lea ecx, [esi + 0x32]
call fcn.10052570
mov ecx, dword [ebp - 0xc]
add esp, 0x10
cmp ecx, 0xf
jbe 0x1007933c
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10079332
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079362
push ecx
push edx
call fcn.100bf656
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf244
mov esp, ebp
pop ebp
ret
push 1
call fcn.100bc018
push 6
mov dword [ebp - 0x24], 0
call fcn.100bc018
call fcn.1012a37e
int3