Function at 0x408700
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2f00
call fcn.00494280
mov al, byte [0x4c1a31]
or al, byte [0x4c1a30]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x2c], al
jne 0x408736
push 0
push 0
call fcn.00409270
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebp, dword [0x4c1a28]
xor esi, esi
cmp ebp, esi
jne 0x4088a7
push 0x12000
call fcn.00487d88
add esp, 4
mov dword [0x4c1a28], eax
cmp eax, esi
je 0x408897
push 0x24000
call fcn.00487d88
add esp, 4
mov dword [0x4c1a2c], eax
cmp eax, esi
je 0x408897
push 0x20000
call fcn.00487d88
add esp, 4
mov dword [0x4c1a1c], eax
cmp eax, esi
je 0x408897
push 0x40000
call fcn.00487d88
add esp, 4
mov dword [0x4c1a20], eax
cmp eax, esi
je 0x408897
push 0x7d0
call fcn.00487d88
add esp, 4
mov dword [0x4c1a24], eax
cmp eax, esi
je 0x408897
mov ebp, dword [0x4c1a28]
push 0x12000
push esi
push ebp
call fcn.00490d60
mov ebx, dword [0x4c1a2c]
add esp, 0xc
push 0x24000
push esi
push ebx
call fcn.00490d60
mov byte [ebp + 0x1324], 3
mov byte [ebp + 0xb644], 1
mov byte [ebp + 0xb764], 2
mov byte [ebp + 0x1444], 0xc
mov byte [ebp + 0xb884], 4
mov byte [ebp + 0xb9a4], 8
mov byte [ebp + 0x1204], 0x30
mov byte [ebp + 0xb404], 0x10
mov byte [ebp + 0x6664], 0x40
mov byte [ebp + 0x6784], 0x80
mov al, 0x20
mov byte [ebp + 0xb524], al
mov byte [ebx + 0x20a4], 1
mov byte [ebx + 0x140a4], 2
mov byte [ebx + 0x3f04], 4
mov byte [ebx + 0x15f04], 8
mov byte [ebx + 0x2f44], 0x10
mov byte [ebx + 0x15cc4], al
mov byte [ebx + 0x18664], 0x40
mov byte [ebx + 0x18784], 0x80
add esp, 0xc
mov dword [ebp + 0xa320], 0x4bd4f4
mov dword [ebp + 0x1680], 0x4bd4f0
mov dword [ebp + 0xa200], 0x4bd4ec
jmp 0x4088ad
call fcn.00409950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebx, dword [0x4c1a2c]
lea eax, [ebp + 0x14]
mov ecx, 0x40
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x4088b5
lea eax, [ebx + 0x14]
mov ecx, 0x80
jmp 0x408950
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x408950
mov ecx, 0x4be594
mov edi, edi
movzx eax, word [ecx]
cmp ax, si
jbe 0x4089fd
mov edx, 0x1ff
cmp ax, dx
ja 0x4089fd
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
add ecx, 8
cmp ecx, 0x4be5fc
jl 0x4089e0
mov edi, dword [0x4c1a1c]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x8000
rep stosd dword es:[edi], eax
mov edi, dword [0x4c1a20]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov edi, dword [0x4c1a24]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x1f4
push 0x2ee0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00490d60
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2f14], esi
jle 0x40919f
lea ecx, [esp + 0x36]
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x4c1a40]
mov al, byte [esi + 0x14]
test al, al
je 0x408e88
cmp al, 4
jae 0x408e88
cmp byte [0x4c0fcb], 0
je 0x408ad2
mov eax, esi
call fcn.00404e00
mov ebp, dword [0x4c1a28]
mov ebx, dword [0x4c1a2c]
test al, al
je 0x408e88
cmp word [esi + 2], 0
je 0x408b2c
cmp byte [esi + 0x1c], 0
sete al
test al, al
jne 0x408e88
mov cl, byte [esi + 0x12]
test cl, cl
jne 0x408afa
cmp word [esi + 8], 0
je 0x408e88
cmp cl, 0xff
ja 0x408e88
movzx eax, word [esi + 8]
mov edx, 0x1ff
cmp ax, dx
ja 0x408e88
test cl, cl
jne 0x408b49
mov edi, eax
lea edi, [edi + edi*8]
shl edi, 5
add edi, ebx
mov byte [edi + 0x12], 1
jmp 0x408c35
mov eax, dword [esi + 0x20]
test eax, eax
je 0x408e88
cmp byte [eax + 0x24], 0
jne 0x408ae8
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x408b37
jmp 0x408e88
movzx eax, byte [esi + 0x12]
lea edi, [eax + eax*8]
shl edi, 5
add edi, ebp
sub eax, 0x10
je 0x408bf3
dec eax
je 0x408baf
dec eax
jne 0x408c35
mov byte [ebp + 0xb889], 1
mov byte [ebp + 0xb9a9], 1
mov byte [ebx + 0x3f09], 1
mov byte [ebx + 0x15f09], 1
movzx eax, byte [esi + 0x18]
mov byte [ebp + 0xb88a], al
mov cl, byte [esi + 0x18]
mov byte [ebp + 0xb9aa], cl
mov dl, byte [esi + 0x18]
mov byte [ebx + 0x3f0a], dl
movzx eax, byte [esi + 0x18]
mov byte [ebx + 0x15f0a], al
jmp 0x408c35
mov byte [ebp + 0xb649], 1
mov byte [ebp + 0xb769], 1
mov byte [ebx + 0x20a9], 1
mov byte [ebx + 0x140a9], 1
movzx ecx, byte [esi + 0x18]
mov byte [ebp + 0xb64a], cl
mov dl, byte [esi + 0x18]
mov byte [ebp + 0xb76a], dl
mov al, byte [esi + 0x18]
mov byte [ebx + 0x20aa], al
movzx ecx, byte [esi + 0x18]
mov byte [ebx + 0x140aa], cl
jmp 0x408c35
mov byte [ebp + 0xb409], 1
mov byte [ebp + 0xb529], 1
mov byte [ebx + 0x2f49], 1
mov byte [ebx + 0x15cc9], 1
movzx edx, byte [esi + 0x18]
mov byte [ebp + 0xb40a], dl
mov al, byte [esi + 0x18]
mov byte [ebp + 0xb52a], al
mov cl, byte [esi + 0x18]
mov byte [ebx + 0x2f4a], cl
movzx edx, byte [esi + 0x18]
mov byte [ebx + 0x15cca], dl
mov byte [edi + 9], 1
cmp byte [esi + 0x18], 0
movzx edx, word [esi]
mov dword [esp + 0x20], edx
je 0x408c54
or edx, 0x4000
mov byte [edi + 0xa], 1
mov dword [esp + 0x20], edx
cmp byte [edi + 4], 0
je 0x408c8b
cmp byte [esi + 0x11], 0
jne 0x408c8b
cmp byte [esi + 0x13], 0
jne 0x408c8b
cmp word [esi + 0xa], 0
jne 0x408c8b
test byte [esi + 0x15], 2
jne 0x408c8b
mov ax, word [esi + 8]
mov bl, byte [esi + 0x12]
xor cl, cl
call fcn.00408560
mov ebx, dword [0x4c1a2c]
mov edx, dword [esp + 0x20]
mov al, byte [esi + 0x13]
test al, al
je 0x408d9f
movzx ecx, al
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, ebp
cmp byte [ecx + 4], 0
je 0x408d41
lea ecx, [eax - 0x10]
movzx eax, al
cmp cl, 2
ja 0x408d34
sub eax, 0x10
je 0x408d0f
dec eax
je 0x408cea
dec eax
jne 0x408d5e
mov byte [ebp + 0x1448], 2
mov byte [ebp + 0xb888], 2
mov byte [ebp + 0xb9a8], 2
mov byte [ebx + 0x3f08], 2
mov byte [ebx + 0x15f08], 2
jmp 0x408d5e
mov byte [ebp + 0x1328], 2
mov byte [ebp + 0xb648], 2
mov byte [ebp + 0xb768], 2
mov byte [ebx + 0x20a8], 2
mov byte [ebx + 0x140a8], 2
jmp 0x408d5e
mov byte [ebp + 0x1208], 2
mov byte [ebp + 0xb408], 2
mov byte [ebp + 0xb528], 2
mov byte [ebx + 0x2f48], 2
mov byte [ebx + 0x15cc8], 2
jmp 0x408d5e
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebp + 8], 1
jmp 0x408d5e
mov byte [ecx + 8], 1
test byte [esi + 0x15], 1
je 0x408d5e
movzx eax, byte [esi + 0x13]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebp + 0xb], 1
lea eax, [ecx + ebp + 0xb]
mov cl, byte [edi + 0x13]
cmp cl, 0x32
jae 0x408e46
mov al, byte [esi + 0x13]
movzx ecx, cl
mov byte [edi + ecx*4 + 0x16], al
movzx eax, word [esi + 2]
test ax, ax
je 0x408d8e
movzx edx, byte [edi + 0x13]
mov word [edi + edx*4 + 0x18], ax
inc byte [edi + 0x13]
jmp 0x408e88
movzx eax, byte [edi + 0x13]
mov word [edi + eax*4 + 0x18], dx
inc byte [edi + 0x13]
jmp 0x408e88
movzx eax, word [esi + 0xa]
test ax, ax
je 0x408e36
mov ecx, eax
lea ecx, [ecx + ecx*8]
shl ecx, 5
cmp byte [ecx + ebx + 4], 0
je 0x408dc8
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 8], 1
jmp 0x408df5
mov byte [ecx + ebx + 8], 1
test byte [esi + 0x15], 1
je 0x408de6
movzx eax, word [esi + 0xa]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebx + 0xb], 1
lea eax, [ecx + ebx + 0xb]
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
mov al, byte [edi + 0x14]
cmp al, 0x10
jae 0x408e46
movzx ecx, al
mov ax, word [esi + 0xa]
mov word [edi + ecx*4 + 0xde], ax
movzx eax, word [esi + 2]
test ax, ax
je 0x408e25
movzx ecx, byte [edi + 0x14]
mov word [edi + ecx*4 + 0xe0], ax
inc byte [edi + 0x14]
jmp 0x408e88
movzx eax, byte [edi + 0x14]
mov word [edi + eax*4 + 0xe0], dx
inc byte [edi + 0x14]
jmp 0x408e88
cmp byte [esi + 0x11], 0
jne 0x408e46
test byte [esi + 0x15], 2
je 0x408e46
or byte [edi + 0xb], 1
movzx eax, word [esi + 2]
mov ecx, eax
test ax, ax
jne 0x408e54
movzx ecx, dx
mov eax, dword [esp + 0x24]
inc dword [esp + 0x1c]
mov word [eax + 4], cx
movzx ecx, byte [esi + 0x12]
mov byte [eax], cl
mov dx, word [esi + 8]
mov word [eax + 2], dx
mov ecx, dword [esi + 0xc]
mov dword [eax - 6], ecx
mov dl, byte [esi + 0x10]
mov byte [eax - 2], dl
movzx ecx, byte [esi + 0x17]
mov byte [eax - 1], cl
add eax, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2f14]
jl 0x408a90
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40919f
push 0x407890
push 0xc
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00487e30
add esp, 0x10
test esi, esi
jle 0x40919f
lea eax, [esp + 0x34]
mov dword [esp + 0x28], esi
movzx ecx, word [eax + 6]
mov ebx, dword [eax - 4]
mov edx, ecx
and ecx, 0x3fff
shr edx, 0xe
mov dword [esp + 0x18], ecx
mov cl, byte [eax]
and dl, 1
mov byte [esp + 0x17], dl
mov dword [esp + 0x24], ebx
test cl, cl
je 0x408f20
xor edx, edx
test cl, 0xc0
je 0x408f02
mov edx, 8
test cl, 0xc
je 0x408f0a
or edx, 1
test cl, 0x30
je 0x408f12
or edx, 4
test cl, 3
je 0x408f1a
or edx, 2
or ebx, edx
mov dword [esp + 0x24], ebx
mov ebp, dword [0x4c1a20]
mov edi, dword [0x4c1a1c]
xor edx, edx
xor esi, esi
add ebp, 0x270
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
add edi, 0x14a
jmp 0x408f4a
mov ebx, dword [esp + 0x24]
xor ecx, ecx
test dl, 0xc0
je 0x408f56
mov ecx, 8
test dl, 0xc
je 0x408f5e
or ecx, 1
test dl, 0x30
je 0x408f66
or ecx, 4
test dl, 3
je 0x408f6e
or ecx, 2
cmp byte [eax + 1], 0
je 0x408f76
and ecx, ebx
cmp ebx, ecx
jne 0x409163
mov cl, byte [eax]
test cl, cl
je 0x408f95
movzx ecx, cl
mov edx, ecx
and edx, dword [esp + 0x1c]
cmp ecx, edx
jne 0x409163
mov cl, byte [eax + 2]
test cl, cl
jne 0x409038
movzx ecx, word [eax + 4]
mov edx, dword [0x4c1a20]
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x408fc8
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x409163
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x408ff4
test dl, dl
jne 0x409013
mov dx, word [eax + 6]
mov esi, dword [0x4c1a24]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp 0x409163
test dl, dl
je 0x409013
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4c1a24]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x409163
mov edx, dword [0x4c1a24]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
jmp 0x409163
mov edx, dword [0x4c1a1c]
movzx ecx, cl
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x40905c
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x4090c4
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x409088
test dl, dl
jne 0x4090a4
mov dx, word [eax + 6]
mov esi, dword [0x4c1a24]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp 0x409163
test dl, dl
je 0x4090a4
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4c1a24]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x4090c4
mov edx, dword [0x4c1a24]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
movzx ecx, byte [eax + 2]
add ecx, 0xfffffff0
cmp ecx, 0x95
ja 0x409163
movzx ecx, byte [ecx + 0x4085d8]
jmp dword [ecx*4 + 0x4085bc]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esi, 0x100
inc edx
add edi, 0x200
add ebp, 0x200
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
cmp esi, 0xff00
jle 0x408f46
add eax, 0xc
dec dword [esp + 0x28]
jne 0x408ecf
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.00409270
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret