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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
test edx, edx
js case.0x1007929c.3
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1007924b
sub eax, 1
je 0x10079240
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
jle case.0x1007929c.3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x12c], eax
jle case.0x1007929c.3
mov ecx, dword [ecx + 0x128]
test ecx, ecx
je case.0x1007929c.3
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
jmp 0x10079254
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x110]
jmp 0x10079254
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x104]
test eax, eax
je case.0x1007929c.3
mov eax, dword [eax + edx*4]
cmp dword [eax + 0xc], 5
jne case.0x1007929c.3
mov ecx, esi
neg ecx
test esi, esi
cmovns ecx, esi
cmp ecx, 0x2000
jg 0x10079362
je 0x10079359
cmp ecx, 0x40
jg 0x100792db
je 0x100792d3
dec ecx
cmp ecx, 0x1f
ja case.0x1007929c.3
movzx ecx, byte [ecx + 0x10079470]
jmp dword [ecx*4 + 0x10079454]
mov eax, dword [eax + 4]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x10]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x14]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x18]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x1c]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x20]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 8]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x400
jg 0x1007932b
je 0x10079323
cmp ecx, 0x80
je 0x1007931b
cmp ecx, 0x100
je 0x1007930e
cmp ecx, 0x200
jne case.0x1007929c.3
mov ecx, dword [eax + 0x30]
call fcn.10017120
pop esi
pop ebp
ret 0x14
mov ecx, dword [eax + 0x2c]
call fcn.10017120
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x28]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x38]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x800
je 0x1007934c
cmp ecx, 0x1000
jne case.0x1007929c.3
mov ecx, dword [eax + 0x34]
call fcn.10017120
pop esi
pop ebp
ret 0x14
mov ecx, dword [eax + 0x3c]
call fcn.100f4700
pop esi
pop ebp
ret 0x14
movzx eax, byte [eax + 0x54]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x100000
jg 0x100793e3
je 0x100793db
cmp ecx, 0x20000
jg 0x100793b7
je 0x100793af
cmp ecx, 0x4000
je 0x100793a7
cmp ecx, 0x8000
je 0x1007939f
cmp ecx, 0x10000
jne case.0x1007929c.3
mov ecx, dword [eax + 0x60]
call fcn.10017120
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x5c]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x58]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x64]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x40000
je 0x100793d3
cmp ecx, 0x80000
jne case.0x1007929c.3
mov eax, dword [eax + 0x44]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x40]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x48]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x1000000
jg 0x1007942a
je 0x10079422
cmp ecx, 0x200000
je 0x1007941a
cmp ecx, 0x400000
je 0x10079412
cmp ecx, 0x800000
jne case.0x1007929c.3
mov ecx, dword [eax + 0x70]
call fcn.10017120
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x6c]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x68]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x74]
pop esi
pop ebp
ret 0x14
cmp ecx, 0x2000000
je 0x10079445
cmp ecx, 0x4000000
jne case.0x1007929c.3
mov eax, dword [eax + 0x80]
pop esi
pop ebp
ret 0x14
mov eax, dword [eax + 0x78]
pop esi
pop ebp
ret 0x14
xor eax, eax
pop esi
pop ebp
ret 0x14