Function at 0x4af230
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, edx
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [ecx + 8]
push edi
mov eax, dword [ebx]
movzx edi, byte [ebx + 0x20]
not edi
mov dword [esp + 0x1c], ebx
and edi, 1
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x38], eax
add eax, edi
add eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x4af28c
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x4af299
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x3c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4af2aa
inc eax
jmp 0x4af2b0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov dword [ebx + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [ebx]
call fcn.00480be0
add esp, 0xc
test edi, edi
je 0x4af341
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x6c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x70], ecx
jg 0x4af30e
push 0
push edx
push eax
mov edx, 0x7e
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af341
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x18], 0
jne 0x4af3bb
cmp dword [ebp + 0x14], 0
jle 0x4af3bb
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x38]
add edx, edi
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x6c]
mov dword [esp + 0x44], eax
cmp dword [ecx + 0x70], eax
jg 0x4af384
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
mov edx, 0x4f
call fcn.00460920
add esp, 0xc
jmp 0x4af3bb
mov esi, dword [ebp + 0xc]
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x20], 0
jle 0x4af801
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004af1a0
mov dword [esp + 0x38], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 4]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov eax, ecx
sub eax, dword [ebx + 4]
add eax, edi
mov dword [esp + 0x24], eax
test edi, edi
je 0x4af46d
mov edi, dword [esp + 0x10]
lea edx, [edi + ecx]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x70], ecx
jg 0x4af43c
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4af4c9
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4af4c9
mov edi, dword [esi + 0x6c]
mov edx, dword [ebx + 8]
mov dword [esp + 0x30], edi
cmp dword [esi + 0x70], edi
jg 0x4af496
push 0
push 0
push edx
mov edx, 0x78
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4af4c5
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 4]
cmp dword [esi + 0x70], ecx
jg 0x4af4ee
push edx
push edi
push dword [esp + 0x3c]
mov edx, 0x5a
mov ecx, esi
call fcn.00460920
add esp, 0xc
lea edi, [esi + 0x68]
jmp 0x4af523
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea edi, [esi + 0x68]
mov eax, dword [edi]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4af532
mov ecx, 0x5dfc94
jmp 0x4af53d
mov eax, dword [ebx + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
jne 0x4afaa7
mov eax, dword [ebp + 0x14]
add eax, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x24], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call fcn.00570cd0
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x57], 0
je 0x4af593
push dword [esp + 0x24]
mov edx, 0xfffffff8
call fcn.00461290
mov eax, dword [esp + 0x28]
add esp, 4
jmp 0x4af5c9
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
cmp byte [eax + ecx*4 - 0x13], 0
lea ecx, [eax + ecx*4]
je 0x4af5be
push 0xfffffffffffffff8
push dword [esp + 0x28]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.004615b0
mov eax, dword [esp + 0x2c]
add esp, 8
jmp 0x4af5c9
mov eax, dword [esp + 0x24]
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf8
movzx ecx, word [eax + 8]
movzx eax, word [eax + 6]
mov edx, dword [ebx]
sub ecx, eax
dec ecx
push ecx
push dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
call fcn.004b1020
mov ecx, dword [esp + 0x4c]
add esp, 8
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x24], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x4af612
push edx
push 0
push edx
mov edx, 0xe
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af63d
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [esi + 0x6c], edx
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [ebx + 0x10], eax
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], edx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x70], ecx
jg 0x4af677
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af6a9
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 8]
cmp dword [esi + 0x70], ecx
jg 0x4af6ca
push 0
push 0
push edx
mov edx, 0x92
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af6fc
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4af756
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x18]
cmp dword [esi + 0x70], ecx
jg 0x4af724
push 0
push edx
push eax
mov edx, 0x11
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af756
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4af768
mov eax, 0x5dfc94
jmp 0x4af774
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + 0x6c]
cmp dword [ecx + 0x70], edx
jg 0x4af7a9
push eax
push dword [esp + 0x38]
mov edx, 0x4f
push dword [esp + 0x18]
call fcn.00460920
add esp, 0xc
jmp 0x4af7e0
lea eax, [edx + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4af7f2
mov eax, 0x5dfc94
jmp 0x4af7fe
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4af9af
mov ecx, dword [esi + 0x6c]
mov edi, dword [ebx + 8]
lea eax, [ecx + 4]
mov dword [esp + 0x44], eax
cmp dword [esi + 0x70], ecx
jg 0x4af83b
push 0
push eax
push edx
mov edx, 0x3c
mov ecx, esi
call fcn.00460920
lea edx, [esi + 0x68]
add esp, 0xc
mov dword [esp + 0x24], edx
jmp 0x4af878
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea edx, [esi + 0x68]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x3c
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4af89a
push 0
push 0
push edi
mov edx, 0x20
mov ecx, esi
call fcn.00460920
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x4af8cc
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x6c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
cmp dword [esi + 0x70], ecx
jg 0x4af8fb
push eax
push 0
push edi
mov edx, 0x28
mov ecx, esi
call fcn.00460920
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x40], ecx
jmp 0x4af939
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x28
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [esp + 0x24]
cmp byte [eax + 0x57], 0
jne 0x4af963
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], esi
mov esi, dword [esp + 0x18]
mov byte [eax + ecx*4 + 1], 0xfd
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4af981
push 0
push 0
push edi
mov edx, 0x82
mov ecx, esi
call fcn.00460920
add esp, 0xc
jmp 0x4af9af
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x2c], 0
jne 0x4af9d3
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.004af1a0
add esp, 0xc
mov dword [esp + 0x2c], eax
movzx edx, byte [ebx + 0x20]
mov eax, dword [esp + 0x10]
and edx, 1
add eax, dword [esp + 0x20]
add edx, 0x8a
mov edi, dword [esi + 0x6c]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x44], ecx
cmp dword [esi + 0x70], edi
jg 0x4afa0b
push eax
push dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00460920
add esp, 0xc
mov edi, eax
jmp 0x4afa52
mov ebx, dword [esp + 0x1c]
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4afa71
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x20]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4afaa7
mov edx, dword [ebx + 0x1c]
test edx, edx
jne 0x4afa83
mov edx, dword [esi + 0x6c]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4afa9a
mov eax, 0x5dfc94
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret