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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x100c901c]
xor eax, esp
mov dword [esp + 0x48], eax
and dword [esp + 4], 0
and dword [esp], 0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
push edi
test esi, esi
jne 0x100795f0
or ebx, 0xffffffff
jmp 0x1007984b
cmp dword [esi + 0x14], 1
je 0x1007982b
test byte [esi + 0x50], 0xf
push 8
pop ebx
je 0x10079652
push ecx
push ecx
lea ecx, [esi + 0xc8]
call fcn.100758c3
pop ecx
pop ecx
cmp eax, 1
je 0x10079623
test eax, eax
je 0x10079623
push 0xfffffffffffffff4
pop ebx
jmp 0x1007982b
mov eax, dword [esi + 0xc0]
lea edi, [esi + 0x68]
mov ecx, dword [esi + 0xc4]
mov dword [edi], eax
mov eax, dword [esi + 0xb8]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
mov word [esi + 0xa8], bx
jmp 0x10079655
lea edi, [esi + 0x68]
mov ecx, dword [esi + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007965b
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.10076f74
mov ecx, dword [esi + 0x70]
mov eax, ecx
shr eax, 8
mov edx, dword [edi + 4]
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov byte [esp + 0x2c], cl
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, dword [edi]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov byte [esp + 0x30], cl
shr ecx, 0x18
mov byte [esp + 0x2b], bl
lea ebx, [esi + 0x60]
mov byte [esp + 0x33], cl
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x34], dl
shr edx, 0x18
mov byte [esp + 0x3a], al
mov byte [esp + 0x37], dl
mov edx, dword [ebx + 4]
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
push 0x18
mov byte [esp + 0x42], al
lea eax, [esp + 0x2c]
push eax
push dword [esi + 0x7c]
mov byte [esp + 0x44], cl
push dword [esi + 0x78]
mov byte [esp + 0x4c], dl
push dword [esi + 0x44]
shr ecx, 0x18
shr edx, 0x18
mov word [esp + 0x3c], 0x4b50
mov byte [esp + 0x3e], 7
mov byte [esp + 0x4f], cl
mov byte [esp + 0x53], dl
call dword [esi + 0x3c]
add esp, 0x1c
cmp eax, 0x18
je 0x10079757
push 0xfffffffffffffff2
jmp 0x1007961d
add dword [esi + 0x78], 0x18
lea eax, [esi + 0xa0]
push 0
pop edx
adc dword [esi + 0x7c], edx
cmp dword [eax + 4], edx
ja 0x10079773
cmp dword [eax], 0xffffffff
mov ecx, edx
jb 0x10079775
mov ecx, eax
cmp dword [edi + 4], edx
ja 0x10079781
cmp dword [edi], 0xffffffff
mov eax, edx
jb 0x10079783
mov eax, edi
cmp dword [ebx + 4], edx
ja 0x1007978d
cmp dword [ebx], 0xffffffff
jb 0x1007978f
mov edx, ebx
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.10078a32
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test dx, dx
je 0x100797c4
mov eax, dword [esi + 0x5c]
movzx ecx, dx
cmp byte [ecx + eax - 1], 0x2f
jne 0x100797c4
mov eax, dword [ebx]
or eax, dword [ebx + 4]
jne 0x100797c4
or dword [esi + 0x4e008], 0x10
push ecx
push ecx
push dword [esi + 0x4e008]
lea eax, [esi + 0xa0]
push dword [eax + 4]
push dword [eax]
movzx eax, word [esi + 0xa8]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
push eax
push dword [esi + 0x70]
lea eax, [esp + 0x60]
push dword [edi + 4]
push dword [edi]
push dword [ebx + 4]
push dword [ebx]
push ecx
push ecx
push dword [esp + 0x58]
mov ecx, esi
push eax
push edx
mov edx, dword [esi + 0x5c]
call fcn.10078c4c
add esp, 0x4c
test eax, eax
jne 0x10079819
push 0xfffffffffffffff1
jmp 0x1007961d
inc dword [esi + 0x10]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov ebx, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], ecx
xor edi, edi
mov dword [esi + 0x4e010], edi
mov dword [esi + 0x4e014], edi
cmp dword [esi + 0x5c], edi
je 0x1007984b
push dword [esi + 0x5c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x5c], edi
mov ecx, dword [esp + 0x54]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007bc25
mov esp, ebp
pop ebp
ret