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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
push ebx
mov ebx, dword [esp + 0x88]
push ebp
mov dword [esp + 8], ecx
push esi
movzx ebp, byte [ebx + 0x31]
lea ecx, [ebx + 0x20]
push edi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x68]
push ecx
push 1
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebp
call fcn.100bc120
mov esi, eax
lea ecx, [ebx + 0x10]
lea eax, [esp + 0x44]
mov dword [esp + 0x28], esi
push eax
lea eax, [esp + 0x68]
push eax
push ebp
push ecx
lea eax, [esp + 0x84]
push esi
push eax
call fcn.100c08a0
add esp, 0x24
mov dword [esp + 0x20], eax
xor ebx, ebx
xor edi, edi
test esi, esi
jle 0x1007948c
nop dword [eax]
cmp ebx, ebp
jge 0x10079488
movzx esi, byte [esp + edi + 0x58]
mov eax, dword [esp + 0x10]
push 0x4000
add eax, 8
push esi
push eax
call fcn.100b71c0
inc edi
add esp, 0xc
add ebx, esi
cmp edi, dword [esp + 0x1c]
jl 0x10079460
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x98]
push ebx
push 0
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10073490
mov ecx, edi
mov dword [esp + 0x40], 0
mov eax, 1
mov dword [esp + 0x44], 0
shl eax, cl
mov dword [esp + 0x34], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
push edi
push dword [esp + 0x44]
call fcn.100c07c0
lea ecx, [ebp - 1]
mov dword [esp + 0x34], eax
add esp, 0x24
lea esi, [ebx + 8]
lea edx, [eax + 1]
imul edx, ecx
mov ecx, ebp
imul ecx, edi
push 0x4000
sub edx, dword [esp + 0x30]
add edx, 2
add edx, edi
cmp edx, ecx
jge 0x1007964f
push 1
push esi
call fcn.100b71c0
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x3c]
push 2
push eax
push ebx
call fcn.100720d0
mov eax, dword [esp + 0x30]
push edi
movzx eax, word [eax]
push eax
push ebx
call fcn.100720d0
mov ebp, 1
add esp, 0x24
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x14], ebp
jbe 0x100796ae
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
dec eax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
movzx edi, word [ebx + ebp*2]
movzx ebp, word [ebx + ebp*2 - 2]
mov edx, edi
mov dword [esp + 0x28], edx
mov edx, ebp
mov dword [esp + 0x34], edx
cmp di, bp
jne 0x10079592
mov edi, eax
test edi, edi
js 0x1007962b
push 0x4000
push 0
push esi
call fcn.100b71c0
add esp, 0xc
sub edi, 1
jns 0x10079578
jmp 0x10079623
mov ecx, ebp
mov eax, edi
sub eax, ecx
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
cmp di, bp
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
sbb eax, eax
neg eax
sub ebp, ebx
mov dword [esp + 0x24], eax
cmp ebx, ebp
jg 0x100795e3
test edi, edi
js 0x10079610
nop dword [eax]
mov ecx, edi
mov eax, ebx
sar eax, cl
push 0x4000
and eax, 1
push eax
push esi
call fcn.100b71c0
add esp, 0xc
sub edi, 1
jns 0x100795c0
mov eax, dword [esp + 0x24]
jmp 0x10079610
test edi, edi
js 0x10079604
mov ecx, edi
mov eax, ebp
sar eax, cl
push 0x4000
and eax, 1
push eax
push esi
call fcn.100b71c0
add esp, 0xc
sub edi, 1
jns 0x100795e7
mov eax, dword [esp + 0x34]
cmp word [esp + 0x28], ax
sbb eax, eax
inc eax
push 0x4000
push eax
push esi
call fcn.100b71c0
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, ecx
jl 0x10079554
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.105116c0
add esp, 0x7c
ret
push 0
push esi
call fcn.100b71c0
mov eax, dword [esp + 0x20]
add esp, 0xc
xor ebp, ebp
test eax, eax
je 0x100796ae
mov edx, dword [esp + 0x18]
lea ecx, [edi - 1]
mov dword [esp + 0x28], ecx
nop
movzx ebx, word [edx + ebp*2]
mov edi, ecx
test edi, edi
js 0x100796a9
nop word [eax + eax]
mov ecx, edi
mov eax, ebx
sar eax, cl
push 0x4000
and eax, 1
push eax
push esi
call fcn.100b71c0
add esp, 0xc
sub edi, 1
jns 0x10079680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x10079670
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.105116c0
add esp, 0x7c
ret