Function at 0x46e510
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4d6f97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
mov bl, byte [ecx + 0x74]
push ebp
push esi
movsx ebp, word [esp + 0xfc]
mov esi, dword [esp + 0x100]
xor edx, edx
test bl, bl
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
movsx eax, si
mov dword [esp + 0x24], ebp
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], dl
je 0x46e8fd
mov edi, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
mov ebx, ecx
mov dword [esp + 0x24], ecx
movsx edi, word [edi + 2]
cmp eax, edi
mov dword [esp + 0x1c], ebx
jle 0x46e5e5
sub ecx, 0x18
dec eax
inc edx
cmp byte [ecx + 0xc], 6
ja 0x46e59f
cmp eax, edi
jg 0x46e586
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
jmp 0x46e5e5
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov byte [esp + 0x12], 0
mov ax, word [eax + 6]
cmp si, ax
jge 0x46e5e5
mov cl, byte [ebx + 0x24]
add ebx, 0x18
inc esi
inc edx
cmp cl, 6
ja 0x46e5d8
cmp si, ax
jl 0x46e5bc
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jmp 0x46e5e5
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
mov edi, esi
movsx edx, word [ecx]
cmp ebp, edx
jle 0x46e65c
mov eax, dword [esp + 0x20]
movsx eax, word [eax + 0x86]
lea eax, [eax + eax*2]
shl eax, 3
mov ebx, dword [esp + 0x18]
sub esi, eax
dec ebp
inc ebx
mov dword [esp + 0x18], ebx
mov bl, byte [esi + 0xc]
cmp bl, 6
ja 0x46e627
cmp ebp, edx
jg 0x46e60d
jmp 0x46e65c
mov cx, word [ecx + 4]
mov edx, dword [esp + 0x100]
cmp dx, cx
mov byte [esp + 0x13], 0
jge 0x46e65c
mov ebp, dword [esp + 0x18]
add edi, eax
inc edx
inc ebp
mov dword [esp + 0x18], ebp
mov bl, byte [edi + 0xc]
cmp bl, 6
ja 0x46e657
cmp dx, cx
jl 0x46e63c
jmp 0x46e65c
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x12]
test al, al
jne 0x46e673
mov al, byte [esp + 0x13]
test al, al
jne 0x46e673
xor al, al
jmp 0x46ec00
lea ecx, [esp + 0x40]
call fcn.00427d20
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0xf0], 0
call fcn.00427d20
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 1
call fcn.00427d20
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov al, byte [esp + 0x12]
mov bl, 2
test al, al
mov byte [esp + 0xf0], bl
je 0x46e752
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ebp
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00471d50
lea edx, [esp + 0x14]
mov byte [esp + 0xf0], 3
push edx
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00474990
add esp, 0xc
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0xf8], 4
call fcn.00471cd0
lea edx, [esp + 0xa0]
push eax
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xf8], 5
call fcn.00471c60
mov byte [esp + 0xf0], bl
mov al, byte [esp + 0x13]
test al, al
je 0x46e89b
lea eax, [esp + 0x28]
push esi
push eax
mov ecx, edi
call fcn.00471d50
lea ecx, [esp + 0x18]
lea edx, [esp + 0xb8]
push ecx
push eax
push edx
mov byte [esp + 0xfc], 6
call fcn.00474990
add esp, 0xc
push eax
lea eax, [esp + 0x8c]
push eax
mov ecx, esi
mov byte [esp + 0xf8], 7
call fcn.00471cd0
lea ecx, [esp + 0xa0]
push eax
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0xf8], 8
call fcn.00471c60
mov al, byte [esp + 0x12]
mov byte [esp + 0xf0], bl
test al, al
je 0x46e883
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.00474a70
mov esi, eax
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0xc8]
push edx
push eax
mov byte [esp + 0x108], 9
call fcn.00474a70
add esp, 0x18
lea ecx, [esp + 0x88]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0xf8], 0xa
call fcn.00471cd0
lea edx, [esp + 0x20]
mov byte [esp + 0xf0], 0xb
push edx
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00474990
add esp, 0xc
lea ecx, [esp + 0xd0]
push eax
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xf8], 0xc
call fcn.00471c60
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x70]
lea eax, [esp + 0x28]
push edx
push eax
mov byte [esp + 0xf8], bl
call fcn.00471c60
jmp 0x46e8c2
lea ecx, [esp + 0x58]
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xfc]
push edx
call fcn.00471c60
jmp 0x46e8c2
mov al, byte [esp + 0x12]
test al, al
je 0x46e8c2
lea eax, [esp + 0x40]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x100]
call fcn.00471c60
lea ecx, [esp + 0x28]
call fcn.004011f0
lea ecx, [esp + 0x70]
mov byte [esp + 0xf0], 1
call fcn.004011f0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf0], 0
call fcn.004011f0
lea ecx, [esp + 0x40]
mov dword [esp + 0xf0], 0xffffffff
call fcn.004011f0
jmp 0x46ebfe
mov edi, dword [esp + 0xfc]
mov ebx, dword [esp + 0xf8]
mov ecx, ebx
mov ebp, ebx
movsx edi, word [edi + 2]
cmp eax, edi
mov dword [esp + 0x1c], ecx
jle 0x46e970
sub ebp, 0x10
dec eax
inc edx
cmp byte [ebp + 0xc], 6
ja 0x46e930
cmp eax, edi
jg 0x46e91b
mov dword [esp + 0x14], edx
jmp 0x46e970
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x14], edx
mov byte [esp + 0x12], 0
mov ax, word [eax + 6]
cmp si, ax
jge 0x46e970
add ecx, 0x10
inc esi
inc edx
cmp byte [ecx + 0xc], 6
ja 0x46e963
cmp si, ax
jl 0x46e949
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
jmp 0x46e970
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0xfc]
mov esi, ebx
mov edi, ebx
movsx edx, word [ecx]
mov ecx, dword [esp + 0x24]
cmp ecx, edx
jle 0x46e9ea
mov eax, dword [esp + 0x20]
movsx eax, word [eax + 0x86]
shl eax, 4
mov ebx, dword [esp + 0x18]
sub esi, eax
dec ecx
inc ebx
mov dword [esp + 0x18], ebx
mov bl, byte [esi + 0xc]
cmp bl, 6
ja 0x46e9ae
cmp ecx, edx
jg 0x46e994
jmp 0x46e9ea
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov byte [esp + 0x13], 0
mov cx, word [ecx + 4]
cmp dx, cx
jge 0x46e9ea
mov ebx, dword [esp + 0x18]
add edi, eax
inc edx
inc ebx
mov dword [esp + 0x18], ebx
mov bl, byte [edi + 0xc]
cmp bl, 6
ja 0x46e9e5
cmp dx, cx
jl 0x46e9ca
jmp 0x46e9ea
mov byte [esp + 0x13], 1
mov al, byte [esp + 0x12]
test al, al
jne 0x46ea01
mov al, byte [esp + 0x13]
test al, al
jne 0x46ea01
xor al, al
jmp 0x46ec00
lea ecx, [esp + 0x88]
call fcn.00427d20
lea ecx, [esp + 0xa0]
mov dword [esp + 0xf0], 0xd
call fcn.00427d20
lea ecx, [esp + 0xb8]
mov byte [esp + 0xf0], 0xe
call fcn.00427d20
mov al, byte [esp + 0x12]
mov bl, 0xf
test al, al
mov byte [esp + 0xf0], bl
je 0x46eaac
mov edx, dword [esp + 0x1c]
push ebp
lea eax, [esp + 0xd4]
push edx
push eax
call fcn.0041a670
lea ecx, [esp + 0x20]
lea edx, [esp + 0x7c]
push ecx
push eax
push edx
mov byte [esp + 0x108], 0x10
call fcn.004736b0
push eax
lea eax, [esp + 0x5c]
push ebp
push eax
mov byte [esp + 0x114], 0x11
call fcn.004059c0
add esp, 0x24
lea ecx, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xf8], 0x12
call fcn.00471f20
mov byte [esp + 0xf0], bl
mov al, byte [esp + 0x13]
test al, al
je 0x46ebdd
push esi
lea edx, [esp + 0x44]
push edi
push edx
call fcn.0041a670
lea ecx, [esp + 0x24]
lea edx, [esp + 0x7c]
push ecx
push eax
push edx
mov byte [esp + 0x108], 0x13
call fcn.004736b0
push eax
lea eax, [esp + 0xec]
push esi
push eax
mov byte [esp + 0x114], 0x14
call fcn.004059c0
add esp, 0x24
lea ecx, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 0x15
call fcn.00471f20
mov al, byte [esp + 0x12]
mov byte [esp + 0xf0], bl
test al, al
je 0x46ebce
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.00474ae0
mov esi, eax
lea ecx, [esp + 0x94]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x108], 0x16
call fcn.00474ae0
push esi
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x114], 0x17
call fcn.004059c0
lea edx, [esp + 0x44]
mov byte [esp + 0x114], 0x18
push edx
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.004736b0
add esp, 0x30
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 0x19
call fcn.00471f20
lea edx, [esp + 0xb8]
lea eax, [esp + 0x28]
push edx
mov byte [esp + 0xf4], bl
push eax
jmp 0x46ebf2
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x28]
push ecx
push edx
jmp 0x46ebf2
mov al, byte [esp + 0x12]
test al, al
je 0x46ebfe
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x100]
call fcn.00429700
mov al, 1
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 0x10