Function at 0x10079250
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xa5c
push ebx
mov ebx, dword [esp + 0xa68]
push ebp
push esi
mov eax, dword [ebx + 0x20]
xor esi, esi
mov dword [ebx + 0x30], esi
push edi
cmp byte [eax + 0xc], 1
jne 0x10079276
mov dword [ebx + 0x30], 1
mov eax, dword [esp + 0xa70]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], ebp
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x38]
cmp ecx, esi
jle 0x10079a39
mov dword [esp + 0x44], esi
mov edx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x44]
mov edi, dword [edx + 0x14]
add edi, ecx
mov dword [esp + 0x28], edi
mov al, byte [edi + 8]
test al, al
jne 0x100792bc
mov dword [ebx + 0x30], 1
xor eax, eax
mov al, byte [edi + 5]
mov dword [ebp + 0x14], eax
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call fcn.10072020
add esp, 4
mov dword [ebp + 0x18], eax
test eax, eax
je 0x10079a4a
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [ebx + 0xc]
lea eax, [eax + esi - 1]
div esi
mov edx, dword [ebx + 8]
push eax
lea eax, [edx + ecx - 1]
xor edx, edx
div ecx
xor edx, edx
push eax
mov eax, dword [ebx + 4]
lea eax, [eax + esi - 1]
div esi
push eax
call fcn.1006e310
add esp, 0x10
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10079a4a
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [edi + 8]
dec ecx
push ecx
push edx
call fcn.100858b0
add esp, 8
mov dword [ebp + 0x1c], eax
test eax, eax
je 0x10079a4a
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x6c]
push ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
push eax
push ecx
call fcn.100851a0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
add esp, 0x18
xor esi, esi
test eax, eax
mov dword [esp + 0x24], esi
jle 0x100799fa
jmp 0x1007938c
mov esi, dword [esp + 0x24]
mov dword [edi + 4], 0
mov eax, dword [ebp + 0x14]
sub eax, esi
mov edx, 1
lea ecx, [eax - 1]
shl edx, cl
mov ecx, dword [ebp]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [edi + 8], edx
mov eax, dword [ebp + 0x14]
sub eax, esi
mov edx, 1
mov ebx, dword [edi + 8]
lea ecx, [eax - 1]
shl edx, cl
mov ecx, dword [ebp + 4]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [edi + 0xc], edx
mov eax, dword [ebp + 0x14]
sub eax, esi
mov edx, 1
lea ecx, [eax - 1]
shl edx, cl
mov ecx, dword [ebp + 8]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
shr edx, cl
mov dword [edi + 0x10], edx
mov eax, dword [ebp + 0x14]
sub eax, esi
mov edx, 1
lea ecx, [eax - 1]
shl edx, cl
mov ecx, dword [ebp + 0xc]
lea edx, [edx + ecx - 1]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
shr edx, cl
xor ecx, ecx
mov dword [edi + 0x14], edx
mov cl, byte [eax + esi + 0xd7]
xor edx, edx
mov dword [edi + 0x18], ecx
mov dl, byte [eax + esi + 0xf8]
shr ebx, cl
mov eax, edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x10], eax
mov dword [edi + 0x1c], eax
mov eax, ecx
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr edx, cl
shl edx, cl
mov ecx, eax
mov dword [esp + 0x14], edx
mov edx, 1
shl edx, cl
mov ecx, dword [edi + 0x10]
lea edx, [edx + ecx - 1]
mov ecx, eax
shr edx, cl
mov eax, 1
shl edx, cl
mov dword [esp + 0x10], edx
sub edx, ebx
shr edx, cl
mov ecx, dword [edi + 0x1c]
shl eax, cl
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x20], edx
lea eax, [eax + ecx - 1]
mov ecx, dword [edi + 0x1c]
shr eax, cl
shl eax, cl
sub eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x1c]
shr eax, cl
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x24], eax
imul eax, edx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 8]
cmp eax, ecx
jae 0x100799ce
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
cmp edx, eax
jae 0x100799ce
test esi, esi
jne 0x100794d2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], ecx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], eax
jmp 0x10079503
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
shr eax, 1
mov dword [esp + 0x38], eax
lea eax, [ecx + 1]
shr eax, 1
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x58], eax
lea eax, [edx + 1]
shr eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x18]
dec eax
dec ecx
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x2c]
xor eax, eax
mov al, byte [edx + 6]
cmp eax, ecx
jl 0x10079515
mov eax, ecx
mov ecx, dword [edi + 0x30]
mov word [edi + 0x34], ax
xor eax, eax
mov al, byte [edx + 7]
cmp eax, ecx
jl 0x10079527
mov eax, ecx
neg esi
sbb esi, esi
mov word [edi + 0x36], ax
and esi, 2
inc esi
mov dword [edi], esi
shl esi, 5
push esi
call fcn.10072020
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x10079a4a
mov edx, eax
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], edx
jle 0x100799dc
mov eax, edx
lea ebx, [eax + 4]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10079580
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax*2]
lea eax, [eax + edx - 2]
lea ecx, [eax + eax*4]
mov edx, dword [esp + ecx*8 + 0x7c]
lea esi, [esp + ecx*8 + 0x6c]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 4], edx
xor edx, edx
mov dx, word [ecx + eax*2 + 0xc]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 0x14]
push edx
xor edx, edx
mov dl, byte [ecx + 8]
dec eax
push eax
push edx
call fcn.10083a10
mov edx, dword [esp + 0x40]
xor ecx, ecx
mov dword [ebx + 0x14], eax
mov cx, word [edx + 0x10]
add ecx, eax
mov eax, dword [ebx + 8]
push ecx
push eax
call fcn.1007ae60
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], eax
xor eax, eax
mov al, byte [ecx + 0xd4]
add esp, 0x18
sar edx, 0xb
lea eax, [edx + eax - 1]
xor edx, edx
mov dword [ebx + 0x10], eax
mov dl, byte [ecx + 0xd5]
mov ecx, edx
add eax, ecx
cmp eax, 0x20
jl 0x10079608
mov eax, dword [ebx + 0x10]
mov ecx, 0x1f
sub ecx, eax
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx], 0
mov dword [ecx], 0
mov edx, dword [esi]
cmp edx, dword [esi + 8]
je 0x100799a7
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x100799a7
push 0
push 0
push 0
push 0
call fcn.1006e310
add esp, 0x10
mov dword [ebx], eax
test eax, eax
je 0x10079a4a
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call fcn.1006e470
mov ecx, dword [ebx]
mov edx, dword [esi]
mov dword [ecx + 4], edx
mov eax, dword [ebx]
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov esi, dword [eax + 4]
add edx, esi
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 8]
add ecx, edx
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x28]
lea edx, [eax + eax*4]
shl edx, 3
push edx
call fcn.10072020
mov ecx, dword [esp + 0x34]
add esp, 0x1c
test eax, eax
mov dword [ecx], eax
je 0x10079a4a
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov esi, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x60], eax
jle 0x100799a7
jmp 0x100796da
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x2c]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x30]
mov ebp, 1
shl ebp, cl
mov ecx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x68], eax
add ebp, ecx
mov ecx, dword [ebx]
cmp edx, dword [ecx + 4]
jbe 0x10079705
mov ecx, edx
jmp 0x10079708
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x20]
mov dword [esi], ecx
mov ecx, dword [ebx]
cmp edx, dword [ecx + 8]
jbe 0x10079719
mov ecx, edx
jmp 0x1007971c
mov ecx, dword [ecx + 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebx]
mov edx, dword [ecx + 0xc]
cmp eax, edx
jb 0x1007972a
mov eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebx]
cmp ebp, dword [eax + 0x10]
jae 0x10079738
mov eax, ebp
jmp 0x1007973b
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 8]
mov dword [esi + 0xc], eax
cmp edx, dword [esi]
jbe 0x1007994c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp eax, ecx
jbe 0x1007994c
mov eax, dword [esi + 4]
xor ecx, ecx
mov cx, word [edi + 0x36]
mov edx, 1
shr eax, cl
shl edx, cl
mov ebp, dword [esi + 8]
shl eax, cl
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
lea eax, [edx + eax - 1]
mov edx, 1
shr eax, cl
shl eax, cl
xor ecx, ecx
mov cx, word [edi + 0x34]
shl edx, cl
lea edx, [edx + ebp - 1]
mov ebp, dword [esi]
shr edx, cl
shr ebp, cl
shl edx, cl
shl ebp, cl
sub edx, ebp
shr edx, cl
sub eax, dword [esp + 0x34]
mov dword [esi + 0x10], edx
mov cl, byte [edi + 0x36]
shr eax, cl
mov ecx, edx
imul edx, eax
push eax
push ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
call fcn.1008b3e0
add esp, 8
mov dword [esi + 0x20], eax
test eax, eax
je 0x10079a4a
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
call fcn.1008b3e0
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x10079a4a
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
shl edx, 2
push edx
call fcn.10072020
add esp, 4
mov dword [esi + 0x1c], eax
test eax, eax
je 0x10079a4a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esi + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x10079957
mov cl, byte [edi + 0x34]
mov eax, 1
shl eax, cl
mov cl, byte [edi + 0x36]
mov ebx, dword [esp + 0x2c]
mov edx, 1
mov dword [esp + 0x48], ebx
shl edx, cl
mov ecx, dword [esp + 0x14]
add eax, ebx
add edx, ecx
mov ecx, dword [esi]
cmp ebx, ecx
ja 0x10079853
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x14]
cmp ebx, ecx
mov dword [esp + 0x40], ebx
ja 0x10079866
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x1007986f
mov eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
cmp edx, ecx
jae 0x1007987c
mov ecx, edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x64], ecx
cmp eax, edx
jbe 0x10079902
cmp ecx, dword [esp + 0x40]
jbe 0x10079902
xor ebx, ebx
mov dword [ebp + 0x18], 0xffffffff
push ebx
push ebx
push ebx
push ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], 3
mov dword [ebp + 0x24], ebx
call fcn.1006e310
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 0x28], eax
je 0x10079a4a
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, dword [ebp + 0x28]
push edx
push eax
push ecx
call fcn.1006e470
mov eax, dword [esp + 0x54]
add esp, 0x18
add ebp, 0x2c
dec eax
mov dword [esp + 0x3c], eax
jmp 0x10079906
mov ebx, dword [esp + 0x10]
mov cl, byte [edi + 0x34]
mov eax, dword [esp + 0x2c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x68]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x2c], eax
jb 0x1007993e
mov cl, byte [edi + 0x36]
mov eax, dword [esp + 0x1c]
mov edx, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
shl edx, cl
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x10079825
jmp 0x10079957
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x50]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x1007998f
mov ecx, dword [edi + 0x30]
mov eax, dword [esp + 0x38]
mov edx, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
shl edx, cl
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
add esi, 0x28
dec eax
test eax, eax
mov dword [esp + 0x60], eax
jg 0x100796d6
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x18]
mov ecx, dword [edi]
inc eax
add esi, 0x20
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
jl 0x1007956d
jmp 0x100799dc
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
inc eax
add edi, 0x38
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x10079388
mov ebx, dword [esp + 0xa74]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x30]
add ecx, 0x11c
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xa70]
inc eax
add ebp, 0x20
mov edx, dword [ecx + 0x38]
add esi, 0x20
cmp eax, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], esi
jl 0x1007929e
xor esi, esi
mov eax, ecx
push ebx
push eax
call fcn.1008d4d0
add esp, 8
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x10079a58
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xa5c
ret
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + 4]
push eax
call fcn.1008b350
add esp, 4
test eax, eax
jle 0x10079a9c
mov ecx, dword [ebx + 0x20]
push esi
mov edx, dword [ecx + 4]
push edx
call fcn.1008b340
push eax
call fcn.1008b250
push eax
mov eax, dword [ebx + 0x34]
push eax
call fcn.1008b160
mov ecx, dword [ebx + 0x20]
inc esi
mov edx, dword [ecx + 4]
push edx
call fcn.1008b350
add esp, 0x18
cmp esi, eax
jl 0x10079a6b
mov eax, dword [ebx + 0x34]
push eax
call fcn.1008b360
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa5c
ret