Function at 0x4f91d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0x90]
push eax
call fcn.004f97f8
pop ecx
xor edx, edx
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
movzx edx, word [eax + 0x14]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
shr eax, 9
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x10]
add edx, 0x254
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00613cd0
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x4f923a
mov dword [ebp - 4], 3
jmp 0x4f97bc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
mov edx, eax
movzx ecx, word [eax + 0x14]
add edx, ecx
add edx, 0x10
mov dword [ebp - 8], edx
mov dword [ebx], 0x58444e49
mov eax, dword [ebp - 0x18]
add eax, eax
add eax, 0x19
and eax, 0xfffffff8
mov word [ebx + 4], ax
mov dx, word [ebp - 0x18]
inc edx
mov word [ebx + 6], dx
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0x10
mov ecx, dword [ebp - 8]
push ecx
lea eax, [ebx + 0x18]
push eax
call fcn.00614680
mov word [ebx + 0x28], 1
movzx eax, word [ebx + 6]
mov edx, dword [ebp - 8]
add eax, eax
add esp, 0xc
mov ecx, dword [edx]
add ecx, eax
add ecx, 0x1f
and ecx, 0xfffffff8
mov dword [ebx + 0x18], ecx
movzx eax, word [ebx + 6]
mov edx, dword [ebp - 8]
add eax, eax
mov ecx, dword [edx + 4]
add ecx, eax
add ecx, 0x1f
and ecx, 0xfffffff8
mov dword [ebx + 0x1c], ecx
movzx edx, word [ebx + 6]
add edx, 0xf
mov ecx, dword [ebp - 0x10]
and edx, 0xfffffff8
sub ecx, edx
mov dword [ebx + 0x20], ecx
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4f92f1
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4f92f1
mov byte [ebx + 0x24], 0
jmp 0x4f92f5
mov byte [ebx + 0x24], 1
mov eax, dword [ebx + 0x18]
add eax, ebx
add eax, 0x18
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x84], 6
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x74], ebx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
add edx, dword [ebp - 8]
push edx
push eax
call fcn.00614680
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x90]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.004f6968
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f97bc
cmp dword [ebp - 0x28], 0
jne 0x4f97bc
push 0x18
call fcn.00613cd0
pop ecx
mov edi, eax
test edi, edi
je 0x4f97bc
cmp dword [esi + 0x14], 1
jne 0x4f93c8
mov dword [edi], 2
mov word [edi + 4], 0
mov word [edi + 6], 1
mov word [edi + 8], 0x18
mov word [edi + 0xa], 0
mov word [edi + 0xc], 3
mov word [edi + 0xe], 0
jmp 0x4f9426
cmp dword [esi + 0x14], 0x12
jne 0x4f93f8
mov word [edi], 0
xor eax, eax
mov word [edi + 2], 0
mov dword [edi + 4], eax
mov word [edi + 8], 0x18
mov word [edi + 0xa], 0
mov word [edi + 0xc], 3
mov word [edi + 0xe], 0
jmp 0x4f9426
cmp dword [esi + 0x14], 0x10
jne 0x4f9426
mov word [edi], 0
xor edx, edx
mov word [edi + 2], 0
mov dword [edi + 4], edx
mov word [edi + 8], 0x18
mov word [edi + 0xa], 0
mov word [edi + 0xc], 3
mov word [edi + 0xe], 0
push 8
lea ecx, [ebp - 0x80]
push ecx
movzx eax, word [edi + 8]
add eax, edi
add eax, 0xfffffff8
push eax
call fcn.00614680
add esp, 0xc
mov edx, dword [esi + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x22c]
push edx
call fcn.00613cd0
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4f9469
mov dword [ebp - 4], 3
jmp 0x4f97bc
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x22c]
push ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x30], 0xffffffff
je 0x4f94a3
cmp dword [ebp - 0x30], 0
jl 0x4f94a3
cmp dword [ebp - 0x30], 0x10
jl 0x4f94a7
xor ecx, ecx
jmp 0x4f94d3
mov eax, dword [ebp - 0x30]
shl eax, 4
mov edx, dword [ebp - 0x34]
cmp dword [edx + eax + 0x3c], 0
jne 0x4f94c6
push 0x69569a
call fcn.004adfc8
pop ecx
xor ecx, ecx
jmp 0x4f94d3
mov eax, dword [ebp - 0x30]
shl eax, 4
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + eax + 0x34]
push ecx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00614680
add esp, 0xc
mov edx, dword [esi + 4]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4f950a
cmp dword [ebp - 0x3c], 0
jl 0x4f950a
cmp dword [ebp - 0x3c], 0x10
jl 0x4f950e
xor eax, eax
jmp 0x4f953a
mov edx, dword [ebp - 0x3c]
shl edx, 4
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + edx + 0x3c], 0
jne 0x4f952d
push 0x6956c8
call fcn.004adfc8
pop ecx
xor eax, eax
jmp 0x4f953a
mov edx, dword [ebp - 0x3c]
shl edx, 4
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + edx + 0x34]
push eax
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
pop edx
sub eax, edx
add eax, dword [ebp - 0x20]
movzx ecx, word [eax + 4]
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x48], 0xffffffff
je 0x4f957a
cmp dword [ebp - 0x48], 0
jl 0x4f957a
cmp dword [ebp - 0x48], 0x10
jl 0x4f957e
xor ecx, ecx
jmp 0x4f95aa
mov eax, dword [ebp - 0x48]
shl eax, 4
mov edx, dword [ebp - 0x4c]
cmp dword [edx + eax + 0x3c], 0
jne 0x4f959d
push 0x6956f6
call fcn.004adfc8
pop ecx
xor ecx, ecx
jmp 0x4f95aa
mov eax, dword [ebp - 0x48]
shl eax, 4
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + eax + 0x34]
push ecx
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax + 4]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x54], 0xffffffff
je 0x4f95d5
cmp dword [ebp - 0x54], 0
jl 0x4f95d5
cmp dword [ebp - 0x54], 0x10
jl 0x4f95d9
xor ecx, ecx
jmp 0x4f9605
mov eax, dword [ebp - 0x54]
shl eax, 4
mov edx, dword [ebp - 0x58]
cmp dword [edx + eax + 0x3c], 0
jne 0x4f95f8
push 0x695724
call fcn.004adfc8
pop ecx
xor ecx, ecx
jmp 0x4f9605
mov eax, dword [ebp - 0x54]
shl eax, 4
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + eax + 0x34]
pop eax
add eax, dword [ecx + 0x18]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x10]
mov edx, dword [esi + 4]
mov edx, dword [edx + 0x10]
movzx edx, word [edx + 4]
add ecx, edx
sub eax, ecx
mov dword [ebp - 0x24], eax
movzx eax, word [edi + 8]
push eax
push edi
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
add eax, dword [ebp - 8]
push eax
call fcn.00614680
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
add edx, dword [ebp - 8]
movzx ecx, word [edi + 8]
add edx, ecx
push edx
call fcn.00614680
mov eax, dword [esi + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add esp, 0xc
sub edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
add edx, dword [ecx]
movzx ecx, word [edi + 8]
sub edx, dword [eax + 4]
sub edx, ecx
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x4f97a6
push 0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov ecx, dword [esi + 4]
push ecx
call fcn.004f1394
add esp, 0x24
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f97bc
mov eax, dword [esi + 4]
mov edx, dword [eax + 0x10]
mov cx, word [ebp - 0xc]
add word [edx + 4], cx
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 4]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x60], 0xffffffff
je 0x4f96ea
cmp dword [ebp - 0x60], 0
jl 0x4f96ea
cmp dword [ebp - 0x60], 0x10
jl 0x4f96ee
xor ecx, ecx
jmp 0x4f971a
mov eax, dword [ebp - 0x60]
shl eax, 4
mov edx, dword [ebp - 0x64]
cmp dword [edx + eax + 0x3c], 0
jne 0x4f970d
push 0x695752
call fcn.004adfc8
pop ecx
xor ecx, ecx
jmp 0x4f971a
mov eax, dword [ebp - 0x60]
shl eax, 4
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx + eax + 0x34]
mov eax, dword [ebp - 0xc]
add dword [ecx + 0x18], eax
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x10]
push eax
mov edx, dword [esi + 4]
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x6c], 0xffffffff
je 0x4f9755
cmp dword [ebp - 0x6c], 0
jl 0x4f9755
cmp dword [ebp - 0x6c], 0x10
jl 0x4f9759
xor eax, eax
jmp 0x4f9785
mov edx, dword [ebp - 0x6c]
shl edx, 4
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + edx + 0x3c], 0
jne 0x4f9778
push 0x695780
call fcn.004adfc8
pop ecx
xor eax, eax
jmp 0x4f9785
mov edx, dword [ebp - 0x6c]
shl edx, 4
mov ecx, dword [ebp - 0x70]
mov eax, dword [ecx + edx + 0x34]
push eax
mov edx, dword [esi]
push edx
call fcn.00507d88
mov ecx, dword [ebp - 8]
add esp, 0x10
mov eax, dword [ebp - 0xc]
add dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esi]
or dword [edx + 0x18], 8
mov ecx, dword [esi]
push ecx
call fcn.0050a4e4
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
push edi
call fcn.00613cc0
pop ecx
mov eax, dword [ebp - 0x20]
push eax
call fcn.00613cc0
pop ecx
push ebx
call fcn.00613cc0
pop ecx
xor edx, edx
mov dword [ebp - 0x74], edx
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 4]
push eax
push 2
push edx
call fcn.004f9a48
add esp, 8
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret