Function at 0x1007950f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x100c9040]
xor eax, esp
mov dword [esp + 0x40], eax
and dword [esp + 4], 0
and dword [esp], 0
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
test esi, esi
jne 0x1007953f
or edi, 0xffffffff
jmp 0x10079792
cmp dword [esi + 0x14], 1
je 0x10079770
test byte [esi + 0x50], 0xf
push 8
pop ebx
je 0x1007959d
push ecx
push ecx
lea ecx, [esi + 0xc8]
call fcn.100757f1
pop ecx
pop ecx
cmp eax, 1
je 0x10079572
test eax, eax
je 0x10079572
push 0xfffffffffffffff4
pop edi
jmp 0x10079770
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xb8]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov word [esi + 0xa8], bx
mov ecx, dword [esi + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100795a3
push dword [esi + 0x4e014]
sub ecx, edx
lea edx, [esp + 0x10]
push dword [esi + 0x4e010]
movzx eax, cx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.10076ebe
mov ecx, dword [esi + 0x70]
mov eax, ecx
shr eax, 8
mov edx, dword [esi + 0x6c]
mov byte [esp + 0x25], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x26], al
mov byte [esp + 0x24], cl
shr ecx, 0x18
mov byte [esp + 0x27], cl
mov ecx, dword [esi + 0x68]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2a], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov byte [esp + 0x28], cl
shr ecx, 0x18
mov byte [esp + 0x23], bl
lea ebx, [esi + 0x60]
mov byte [esp + 0x2b], cl
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2c], dl
shr edx, 0x18
mov byte [esp + 0x32], al
mov byte [esp + 0x2f], dl
mov edx, dword [ebx + 4]
mov eax, edx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
push 0x18
mov byte [esp + 0x3a], al
lea eax, [esp + 0x24]
push eax
push dword [esi + 0x7c]
mov byte [esp + 0x3c], cl
push dword [esi + 0x78]
mov byte [esp + 0x44], dl
push dword [esi + 0x44]
shr ecx, 0x18
shr edx, 0x18
mov word [esp + 0x34], 0x4b50
mov byte [esp + 0x36], 7
mov byte [esp + 0x47], cl
mov byte [esp + 0x4b], dl
call dword [esi + 0x3c]
add esp, 0x1c
cmp eax, 0x18
je 0x100796a0
push 0xfffffffffffffff2
jmp 0x1007956c
add dword [esi + 0x78], 0x18
lea eax, [esi + 0xa0]
push 0
pop edx
adc dword [esi + 0x7c], edx
cmp dword [eax + 4], edx
ja 0x100796bc
cmp dword [eax], 0xffffffff
jae 0x100796bc
mov eax, edx
lea ecx, [esi + 0x68]
cmp dword [ecx + 4], edx
ja 0x100796cb
cmp dword [ecx], 0xffffffff
jae 0x100796cb
mov ecx, edx
cmp dword [ebx + 4], edx
ja 0x100796d7
cmp dword [ebx], 0xffffffff
jae 0x100796d7
mov ebx, edx
push eax
push ecx
mov edx, ebx
lea ecx, [esp + 0x38]
call fcn.10078992
mov edx, dword [esp + 0x1c]
mov ebx, eax
pop ecx
pop ecx
test dx, dx
je 0x1007970d
mov eax, dword [esi + 0x5c]
movzx ecx, dx
cmp byte [eax + ecx - 1], 0x2f
jne 0x1007970d
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
jne 0x1007970d
or dword [esi + 0x4e008], 0x10
push ecx
push ecx
push dword [esi + 0x4e008]
movzx eax, word [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
push eax
push dword [esi + 0x70]
lea eax, [esp + 0x58]
push dword [esi + 0x6c]
push dword [esi + 0x68]
push dword [esi + 0x64]
push dword [esi + 0x60]
push ecx
push ecx
push ebx
push eax
push edx
mov edx, dword [esi + 0x5c]
mov ecx, esi
call fcn.10078bac
add esp, 0x4c
test eax, eax
jne 0x10079762
push 0xfffffffffffffff1
jmp 0x1007956c
inc dword [esi + 0x10]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi], eax
mov dword [esi + 4], ecx
and dword [esi + 0x4e010], 0
and dword [esi + 0x4e014], 0
cmp dword [esi + 0x5c], 0
je 0x10079792
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
and dword [esi + 0x5c], 0
pop ecx
mov ecx, dword [esp + 0x4c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007b975
mov esp, ebp
pop ebp
ret