Function at 0x79f908
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
test ebx, ebx
je 0x79f975
mov ecx, dword [ebx]
test ecx, ecx
je 0x79f975
mov edx, dword [ebx + 4]
test edx, edx
je 0x79f975
cmp dword [ebp - 0x30], 0
je 0x79f9a5
cmp dword [ebp - 0x30], 0x230a8
je 0x79f9a5
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x79f975
mov eax, dword [eax + 0xc]
test eax, eax
je 0x79f975
cmp dword [eax + 0xb8], 0
je 0x79f975
cmp dword [eax + 0xbc], 0
jne 0x79f9a5
push edi
mov dword [0x230ac], 0x16
push 0x220b4
push 0x1b8b3
push 0
push pe_nt_image_headers32
push 0xe6f
push 0x1b67e
push 0x220b4
jmp 0x79fea9
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x79f9b9
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x79f9c8
mov edi, dword [ebp - 0x1c]
test byte [edi + 0x10], 2
je 0x79f9c8
cmp dword [ebp - 0x28], 0x20
jne 0x79f9ec
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
jmp 0x79fee8
mov edi, dword [ebx + 0xc]
test eax, eax
mov dword [ebp - 0x24], edi
jne 0x79f9fc
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], ecx
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], ecx
jne 0x79fa07
mov dword [ebx + 0x1c], edx
cmp dword [ebp - 0x28], 0xffffffff
je 0x79fec2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], eax
add eax, dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp dword [ebx + 0x10], 0
jne 0x79fa3f
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x10], eax
mov eax, 1
cmp dword [ebx + 8], 0
mov esi, dword [ebx + 0x10]
je 0x79fa65
cmp dword [ebp - 0x28], 0
mov dword [ebx + 8], 0
jne 0x79fa5e
test eax, eax
je 0x79fa5e
cmp dword [esi], 0x20
ja 0x79fac1
mov edi, esi
jmp 0x79fbde
mov eax, dword [ebp - 0x2c]
sub eax, esi
cmp eax, 0x19
jle 0x79fe70
movzx eax, word [esi + 4]
test al, 7
jne 0x79fe70
cmp ax, 0x19
jbe 0x79fe70
lea edi, [esi + eax]
cmp dword [ebp - 0x2c], edi
je 0x79feb9
mov eax, dword [ebp - 0x2c]
sub eax, edi
cmp eax, 0x19
jle 0x79fe70
cmp dword [ebp - 0x28], 0
jne 0x79fbde
cmp dword [esi], 0x1f
ja 0x79fbde
cmp dword [edi], 0x20
jbe 0x79fbde
mov esi, edi
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x40]
jne 0x79fad9
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x3c]
jne 0x79fad9
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x5c]
je 0x79faff
push esi
mov dword [0x230ac], 0x16
push 0x2209c
push 0x1b8b3
push 0
push pe_nt_image_headers32
push 0xc51
jmp 0x79fe9f
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx], eax
xor ecx, ecx
movzx edx, word [eax + 0x14]
add eax, edx
xor edx, edx
mov dword [ebx + 4], eax
push ebx
push 0
mov eax, 0x20
push 0
push 1
call fcn.0078aac0
add esp, 0x10
mov dword [ebx + 0x10], esi
mov dword [ebx + 8], 1
test eax, eax
jne 0x79fb47
xor eax, eax
jmp 0x79ff42
cmp dword [0x230ac], 2
jne 0x79ff42
push ebx
mov dword [0x230ac], 5
push ebx
push 0x206b3
push 0
push 0x80
push 0xc72
jmp 0x79fe9f
cmp dword [ebp - 0x2c], edi
jb 0x79fe70
cmp dword [ebp - 0x2c], edi
mov dword [ebx + 0x10], edi
je 0x79feb9
lea eax, [edi + 0x1a]
cmp dword [ebp - 0x2c], eax
jb 0x79fe70
movzx edx, word [edi + 4]
mov eax, edx
lea ecx, [edi + edx]
cmp dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
jb 0x79fe70
test al, 7
jne 0x79fe70
cmp dx, 5
jbe 0x79fe70
mov al, byte [edi + 6]
mov byte [ebp - 0x48], al
test al, al
jne 0x79fbeb
cmp dword [ebp - 0x28], 0
je 0x79fc03
mov eax, dword [ebp - 0x28]
cmp eax, dword [edi]
jb 0x79fef4
je 0x79fc03
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], edi
jbe 0x79fb76
jmp 0x79fe70
movzx edx, byte [ebp - 0x48]
movzx eax, byte [edi + 7]
add edx, edx
add eax, edx
add eax, edi
cmp dword [ebp - 0x2c], eax
jae 0x79fbc8
jmp 0x79fe70
movzx eax, byte [ebp - 0x48]
mov dword [ebp - 0x34], eax
movzx eax, byte [edi + 7]
add eax, edi
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x28], 0
je 0x79fcd9
cmp dword [ebp - 0x30], 0x230a8
jne 0x79fc31
cmp dword [ebp - 0x34], 0
je 0x79fc6b
jmp 0x79fef4
cmp dword [ebp - 0x30], 0
je 0x79fc6b
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
push dword [eax + 0xbc]
push dword [eax + 0xb8]
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp - 0x34]
call fcn.0079674e
add esp, 0x10
test eax, eax
je 0x79fc6b
jns 0x79fbdb
jmp 0x79fef4
mov eax, dword [ebp - 0x58]
or eax, dword [ebp - 0x5c]
je 0x79fcd9
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x50], esi
ja 0x79fcd9
mov eax, esi
add eax, 6
cmp dword [ebp - 0x2c], eax
jbe 0x79fcd9
movzx eax, word [esi + 4]
add eax, esi
cmp dword [ebp - 0x2c], eax
jb 0x79fcd9
mov eax, esi
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
cmp esi, dword [eax + 8]
sbb ecx, dword [eax + 0xc]
jl 0x79fcd9
mov edx, dword [edi]
cmp dword [eax], edx
jne 0x79fcd9
mov esi, eax
movzx eax, byte [ebp - 0x48]
cmp al, byte [esi + 6]
jne 0x79fcd9
cmp dword [ebp - 0x34], eax
jne 0x79fcd9
movzx eax, byte [esi + 7]
cmp dword [ebp - 0x34], 0
je 0x79fbdb
add eax, esi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x34]
call fcn.007968aa
test eax, eax
jne 0x79fbdb
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
movzx eax, cx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x24]
movzx edx, cx
cmp edx, dword [eax + 4]
jne 0x79fd19
cmp esi, dword [eax]
jne 0x79fd19
shr ecx, 0x10
mov eax, dword [eax + 8]
cmp word [eax + 0x10], cx
je 0x79fdb3
push ecx
push ecx
push 0x206cf
push 0
push 0x80
push 0xcce
jmp 0x79fd6a
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
movzx eax, cx
cmp eax, dword [ebp - 0x44]
jne 0x79fd47
cmp esi, dword [ebp - 0x48]
jne 0x79fd47
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x79fdb3
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x84], 0
jne 0x79fd81
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 0x206fd
push 0
push pe_nt_image_headers32
push 0xcdb
push 0x1b67e
push 0x2209c
call fcn.0079f473
add esp, 0x20
jmp 0x79fe70
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.0079711f
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x79fda8
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 4], eax
jmp 0x79fe7c
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [eax + 8]
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [ebp - 0x48], eax
movzx esi, word [eax + 0x14]
add esi, eax
mov dword [ebx + 4], esi
mov edx, esi
mov eax, dword [ebp - 0x48]
sub edx, dword [ebp - 0x48]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x60], eax
sub eax, edx
test edx, edx
js 0x79fe70
cmp eax, 3
jle 0x79fe70
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x79fbdb
cmp eax, 0x17
jle 0x79fe70
cmp eax, dword [esi + 4]
jl 0x79fe70
mov ax, word [esi + 0xe]
cmp word [edi + 0x18], ax
je 0x79fe06
add esi, dword [esi + 4]
jmp 0x79fdc1
cmp edx, dword [edi]
jne 0x79fe70
movzx edx, byte [esi + 9]
movzx eax, word [esi + 0xa]
cmp dword [ebp - 0x34], edx
jne 0x79fe70
cmp dword [ebp - 0x34], 0
je 0x79fe2e
add eax, esi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x34]
call fcn.007968aa
test eax, eax
je 0x79fe70
cmp dword [ebp - 0x28], 0
mov dword [ebx + 4], esi
je 0x79fb40
cmp dword [ebp - 0x38], 0
je 0x79fb40
cmp byte [esi + 8], 0
jne 0x79fe01
mov eax, dword [ebp - 0x3c]
cmp eax, dword [esi + 0x10]
jne 0x79fe01
push edx
push eax
push dword [ebp - 0x38]
movzx eax, word [esi + 0x14]
add eax, esi
push eax
call fcn.0079d6b8
add esp, 0x10
test eax, eax
jne 0x79fe01
jmp 0x79fb40
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x24], edi
jne 0x79fd92
mov eax, dword [ebp - 0x1c]
mov dword [0x230ac], 5
push dword [eax + 4]
push dword [eax]
push 0x20731
push 0
push 0x80
push 0xd30
push 0x1b67e
push 0x2209c
call fcn.0079f473
add esp, 0x20
or eax, 0xffffffff
jmp 0x79ff42
mov eax, dword [ebp - 0x28]
dec eax
cmp eax, 0xfffffffd
jbe 0x79fef4
mov eax, ebx
call fcn.0078ad53
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0078aac0
mov eax, dword [ebx + 0x18]
mov dword [ebx], eax
movzx edx, word [eax + 0x14]
add eax, edx
mov dword [ebx + 8], 1
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
push ebx
mov ecx, dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
push 0
call fcn.0078aac0
add esp, 0x10
test eax, eax
je 0x79ff24
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret