Function at 0x46a67c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
call fcn.0046a1dc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0046a08c
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x46a6b9
cmp dword [ebp - 0x20], 0
je 0x46a6b9
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
jmp 0x46a69a
cmp dword [ebp - 0x20], 0
je 0x46a6c8
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
push edx
call fcn.0046a0bc
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x46a717
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x46a717
mov edx, dword [ebp - 0xc]
add edx, 0x10
push edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
push eax
call fcn.0046a11c
test eax, eax
jne 0x46a705
mov byte [ebp - 1], 1
jmp 0x46a715
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx + 0x11]
mov dword [ebp - 0xc], ecx
jmp 0x46a6d8
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x46a72d
mov eax, dword [ebp + 8]
push eax
call fcn.0046a2cc
jmp 0x46ab11
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x46a741
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
jmp 0x46ab11
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x3c]
mov edx, dword [ebp - 8]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], edx
push 0x40
push 0x2000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x34]
push eax
call fcn.0046a2ac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46a7ae
push 0x40
push 0x2000
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
push edx
push 0
call fcn.0046a2ac
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x46a7bb
xor eax, eax
jmp 0x46ab11
push 0x40
push 0x1000
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 6]
imul edx, edx, 0x28
add eax, edx
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.0046a2ac
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 6]
imul edx, edx, 0x28
add eax, edx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x3c]
test edx, edx
je 0x46a81b
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
movzx ecx, word [edx + 6]
imul ecx, ecx, 0x28
add eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x3c]
mov dword [ebp - 0x48], edx
jmp 0x46a824
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
imul eax, eax, 0x28
add ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
sub eax, dword [ebp - 0x48]
add ecx, eax
push ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0046a04c
mov dword [ebp - 0x24], 0
jmp 0x46a864
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x24], eax
jge 0x46a921
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + ecx + 0xc]
push eax
call fcn.0046a2ac
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x10]
xor edx, edx
div dword [esi + 0x3c]
test edx, edx
je 0x46a8d2
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov eax, dword [ecx + eax + 0x10]
xor edx, edx
div dword [esi + 0x3c]
mov dword [ebp - 0x4c], edx
jmp 0x46a8db
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
sub eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + ecx + 0x10]
push eax
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0x14]
push edx
mov edx, dword [ebp - 0x24]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + edx + 0xc]
push ecx
call fcn.0046a04c
jmp 0x46a85b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xc], 0
je 0x46a9fe
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call fcn.0046a67c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x2c]
cmp dword [edx + eax*4], 0
je 0x46a9f0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + eax*4]
and ecx, 0x80000000
je 0x46a9b3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + ecx*4]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.0046a32c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
jmp 0x46a9e2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 2]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0046a32c
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x46a956
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0x14], eax
jmp 0x46a930
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x34]
je 0x46aad0
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa0], 0
jne 0x46aa20
xor eax, eax
jmp 0x46ab11
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xa0]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x46aad0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
jmp 0x46aa6a
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
sub edx, 8
shr edx, 1
cmp dword [ebp - 0x40], edx
jae 0x46aac2
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
movzx edx, word [ecx + eax*2 + 8]
and edx, 0xf000
je 0x46aac0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
movzx ecx, word [edx + ecx*2 + 8]
and ecx, 0xfff
mov edx, dword [eax + ecx]
add edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + eax*2 + 8]
and eax, 0xfff
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x38]
mov dword [ecx + eax], edx
jmp 0x46aa61
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], edx
jmp 0x46aa3b
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x28], 0
je 0x46ab0e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x44], ecx
push 0
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [ebp - 0x44]
movzx eax, al
test eax, eax
jne 0x46ab0e
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 4], 0
xor eax, eax
jmp 0x46ab11
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret 4