Function at 0x408d90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov al, byte [0x4dcf12]
or al, byte [0x4dcdc7]
push ebx
push ebp
mov ebp, dword [0x4dcf00]
push esi
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x11], al
jne 0x408dcd
xor cl, cl
xor dl, dl
call fcn.00409990
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x4de9a0]
test esi, esi
jne 0x408f3d
push 0x1400
call fcn.00495cc0
add esp, 4
mov dword [0x4de9a0], eax
test eax, eax
je 0x408f30
push 0x2800
call fcn.00495cc0
add esp, 4
mov dword [0x4de9a4], eax
test eax, eax
je 0x408f30
push 0x20000
call fcn.00495cc0
add esp, 4
mov dword [0x4de994], eax
test eax, eax
je 0x408f30
push 0x40000
call fcn.00495cc0
add esp, 4
mov dword [0x4de998], eax
test eax, eax
je 0x408f30
mov eax, dword [0x4dcf04]
add eax, eax
push eax
call fcn.004997ae
mov ebx, eax
add esp, 4
mov dword [0x4de99c], ebx
test ebx, ebx
je 0x408f30
push 0x1400
push esi
mov esi, dword [0x4de9a0]
push esi
call fcn.004971b0
mov edi, dword [0x4de9a4]
push 0x2800
push 0
push edi
call fcn.004971b0
mov byte [esi + 0x15c], 3
add esp, 0x18
mov byte [esi + 0xcb0], 1
mov byte [esi + 0xcc4], 2
mov byte [esi + 0x170], 0xc
mov byte [esi + 0xcd8], 4
mov byte [esi + 0xcec], 8
mov byte [esi + 0x148], 0x30
mov byte [esi + 0xc88], 0x10
mov byte [esi + 0xc9c], 0x20
mov byte [esi + 0x724], 0x40
mov byte [esi + 0x738], 0x80
mov byte [edi + 0x24c], 1
mov byte [edi + 0x164c], 2
mov byte [edi + 0x468], 4
mov byte [edi + 0x1868], 8
mov byte [edi + 0x350], 0x10
mov byte [edi + 0x1840], 0x20
mov byte [edi + 0x1b24], 0x40
mov byte [edi + 0x1b38], 0x80
mov dword [esi + 0xb54], 0x4d9d7c
mov dword [esi + 0x190], 0x4da9f8
mov dword [esi + 0xb40], 0x4da9fc
jmp 0x408f49
call fcn.00409fc0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4de9a4]
mov ebx, dword [0x4de99c]
mov edx, 0x7fff
lea eax, [esi + 9]
mov ecx, pe_nt_image_headers32
mov dword [esp + 0x38], edx
nop word [eax + eax]
and byte [eax + 3], 8
lea eax, [eax + 0x14]
mov word [eax - 0x17], dx
mov word [eax - 0x14], 0
mov byte [eax - 0x12], 0
mov byte [eax - 0xa], 0
sub ecx, 1
jne 0x408f60
lea eax, [edi + 9]
mov ecx, 0x200
nop word [eax + eax]
and byte [eax + 3], 8
lea eax, [eax + 0x14]
mov word [eax - 0x17], dx
mov word [eax - 0x14], 0
mov byte [eax - 0x12], 0
mov byte [eax - 0xa], 0
sub ecx, 1
jne 0x408f90
mov ecx, 0x4d98ec
mov esi, 0x1fe
nop dword [eax + eax]
movzx edx, word [ecx]
lea eax, [edx - 1]
cmp ax, si
ja 0x408fd5
mov eax, edx
lea eax, [eax + eax*4]
mov byte [edi + eax*4 + 0x13], 1
add ecx, 8
cmp ecx, 0x4d9954
jl 0x408fc0
mov edi, dword [0x4de994]
mov eax, 0x7fff7fff
mov ecx, 0x8000
rep stosd dword es:[edi], eax
mov edi, dword [0x4de998]
mov ecx, 0x10000
rep stosd dword es:[edi], eax
xor eax, eax
cmp dword [0x4dcf04], eax
jle 0x40901d
mov ecx, 0x7fff
nop
mov word [ebx + eax*2], cx
inc eax
cmp eax, dword [0x4dcf04]
jl 0x409010
movzx eax, word [0x4dcf10]
xor ecx, ecx
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00495cc0
mov dword [esp + 0x38], eax
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], eax
jle 0x4097bd
mov ecx, dword [esp + 0x34]
mov edx, 0x1ff
mov ebx, dword [0x4de9a0]
add ecx, 6
mov edi, dword [0x4de9a4]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
nop dword [eax]
mov esi, dword [ebp + eax*4]
mov al, byte [esi + 0x12]
dec al
cmp al, 2
ja 0x409107
cmp byte [0x4dcd95], 0
je 0x4090b2
mov ecx, esi
call fcn.004059a0
mov ebx, dword [0x4de9a0]
mov edi, dword [0x4de9a4]
test al, al
je 0x409103
mov edx, 0x1ff
cmp word [esi + 6], 0
je 0x4090ef
cmp byte [esi + 0x19], 0
je 0x409103
mov al, byte [esi + 0x10]
test al, al
jne 0x4090cd
cmp word [esi + 8], 0
je 0x409103
movzx ecx, word [esi + 8]
cmp cx, dx
ja 0x409103
test al, al
jne 0x4091dc
mov eax, ecx
lea eax, [eax + eax*4]
lea ebp, [edi + eax*4]
mov byte [ebp + 0x13], 1
jmp 0x4092bd
mov eax, dword [esi + 0x20]
test eax, eax
je 0x409103
cmp byte [eax + 0x1c], 0
jne 0x4090bf
mov eax, dword [eax + 8]
test eax, eax
jne 0x4090f6
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, 0x1ff
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x409080
test esi, esi
je 0x4097bd
mov ebx, dword [esp + 0x34]
push 0x408a30
push 0xc
push esi
push ebx
call fcn.0049b940
add esp, 0x10
test esi, esi
jle 0x4097bd
mov ecx, dword [0x4de994]
mov edi, ebx
mov eax, dword [0x4de998]
mov esi, 0x7ff9
mov edx, dword [0x4de9a0]
mov ebp, dword [0x4de99c]
mov dword [esp + 0x48], eax
add eax, 0x270
mov dword [esp + 0x3c], eax
lea eax, [ecx + 0x14a]
mov dword [esp + 0x40], eax
mov eax, 0xfffffeb6
sub eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x4de9a4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], ecx
nop dword [eax + eax]
movzx ebx, word [edi + 0xa]
mov ax, bx
and ebx, 0x7fff
shr ax, 0xf
mov word [esp + 0x12], ax
mov dword [esp + 0x28], ebx
cmp bx, si
ja 0x409470
mov al, byte [edi + 6]
test al, al
je 0x409411
movzx eax, al
lea eax, [eax + eax*4]
lea esi, [edx + eax*4]
jmp 0x40941b
movzx ecx, al
lea eax, [ecx + ecx*4]
lea ebp, [ebx + eax*4]
sub ecx, 0x10
je 0x40927f
sub ecx, 1
je 0x40923f
sub ecx, 1
jne 0x4092bd
mov byte [ebx + 0xcda], 1
mov byte [ebx + 0xcee], 1
mov byte [edi + 0x46a], 1
mov byte [edi + 0x186a], 1
cmp byte [esi + 0x16], cl
je 0x4092bd
mov byte [ebx + 0xcdb], 1
mov byte [ebx + 0xcef], 1
mov byte [edi + 0x46b], 1
mov byte [edi + 0x186b], 1
jmp 0x4092bd
mov byte [ebx + 0xcb2], 1
mov byte [ebx + 0xcc6], 1
mov byte [edi + 0x24e], 1
mov byte [edi + 0x164e], 1
cmp byte [esi + 0x16], 0
je 0x4092bd
mov byte [ebx + 0xcb3], 1
mov byte [ebx + 0xcc7], 1
mov byte [edi + 0x24f], 1
mov byte [edi + 0x164f], 1
jmp 0x4092bd
mov byte [ebx + 0xc8a], 1
mov byte [ebx + 0xc9e], 1
mov byte [edi + 0x352], 1
mov byte [edi + 0x1842], 1
cmp byte [esi + 0x16], 0
je 0x4092bd
mov byte [ebx + 0xc8b], 1
mov byte [ebx + 0xc9f], 1
mov byte [edi + 0x353], 1
mov byte [edi + 0x1843], 1
mov byte [ebp + 0xa], 1
cmp byte [esi + 0x16], 0
movzx eax, word [esi + 4]
mov dword [esp + 0x30], eax
je 0x4092dc
or eax, 0x8000
mov byte [ebp + 0xb], 1
mov dword [esp + 0x30], eax
mov cl, byte [esi + 0x11]
test cl, cl
jne 0x4092ee
cmp word [esi + 0xa], 0
jne 0x4092ee
xor al, al
jmp 0x4092f0
mov al, 1
cmp byte [ebp + 8], 0
je 0x409389
cmp byte [esi + 0xf], 0
jne 0x409389
test al, al
jne 0x40938d
test byte [esi + 0x13], 2
jne 0x409323
mov dx, word [esi + 8]
mov cl, byte [esi + 0x10]
push 0
call fcn.00408ba0
add esp, 4
cmp byte [esi + 0xf], 0
jne 0x409333
test byte [esi + 0x13], 2
je 0x409333
or byte [ebp + 0xc], 1
movzx ecx, word [esi + 6]
mov eax, dword [esp + 0x30]
mov edx, ecx
mov ebp, dword [esp + 0x2c]
test cx, cx
mov ecx, dword [esp + 0x28]
movzx eax, ax
cmove edx, eax
mov word [ecx + 4], dx
mov al, byte [esi + 0x10]
mov byte [ecx], al
mov ax, word [esi + 8]
mov word [ecx + 2], ax
mov eax, dword [esi]
mov dword [ecx - 6], eax
mov al, byte [esi + 0xe]
mov byte [ecx - 2], al
mov al, byte [esi + 0x15]
mov esi, dword [esp + 0x24]
mov byte [ecx - 1], al
inc esi
add ecx, 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x20]
jmp 0x40910b
test al, al
je 0x409323
test cl, cl
je 0x4093c7
movzx eax, cl
lea eax, [eax + eax*4]
cmp byte [ebx + eax*4 + 8], 0
lea eax, [ebx + eax*4]
je 0x4093af
push 1
xor edx, edx
call fcn.00408ba0
add esp, 4
jmp 0x4093f8
mov byte [eax + 9], 1
test byte [esi + 0x13], 1
je 0x4093f8
movzx eax, byte [esi + 0x11]
lea eax, [eax + eax*4]
or byte [ebx + eax*4 + 0xc], 1
jmp 0x4093f8
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*4]
mov byte [edi + eax*4 + 9], 1
cmp byte [edi + eax*4 + 8], 0
jne 0x4093f8
test byte [esi + 0x13], 1
je 0x4093ec
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*4]
or byte [edi + eax*4 + 0xc], 1
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*4]
mov byte [edi + eax*4 + 0x13], 1
movzx eax, word [ebp + 6]
mov word [esi + 0xc], ax
movzx eax, word [esi + 4]
mov word [ebp + 6], ax
mov ebp, dword [esp + 0x2c]
jmp 0x409103
movzx eax, word [edi + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
movzx eax, word [esi + 6]
add esi, 6
mov ecx, 0x7fff
mov edx, eax
cmp ax, cx
je 0x40945f
mov ebx, dword [esp + 0x2c]
mov ecx, eax
movzx eax, cx
mov eax, dword [ebx + eax*4]
cmp byte [eax + 0x11], 0
jne 0x40944a
cmp word [eax + 0xa], 0
movzx edx, cx
je 0x40945b
lea esi, [eax + 0xc]
movzx eax, word [esi]
mov ecx, eax
mov edx, eax
cmp ax, word [esp + 0x38]
jne 0x409434
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movzx eax, bx
mov eax, dword [ecx + eax*4]
mov word [eax + 0xc], dx
mov word [esi], bx
mov bl, byte [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], bl
test bl, bl
je 0x4094bf
mov al, bl
and al, 0xc0
movzx ecx, al
mov al, bl
neg ecx
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
and al, 0xc
mov al, bl
cmove edx, ecx
mov esi, edx
or esi, 4
and al, 0x30
mov al, bl
cmove esi, edx
mov ecx, esi
or ecx, 2
and al, 3
mov eax, dword [esp + 0x20]
cmove ecx, esi
or dword [esp + 0x30], ecx
cmp byte [edi + 5], 0
je 0x4094c9
xor cl, cl
jmp 0x409515
mov ebx, eax
mov ecx, eax
and bl, 8
neg bl
sbb bl, bl
and bl, 0xc0
mov al, bl
or al, 0xc
and cl, 1
mov ecx, dword [esp + 0x20]
movzx edx, al
movzx eax, bl
cmove edx, eax
mov al, dl
or al, 3
and cl, 2
movzx ebx, al
movzx eax, dl
mov edx, dword [esp + 0x20]
cmove ebx, eax
mov al, bl
or al, 0x30
and dl, 4
movzx ecx, al
movzx eax, bl
cmove ecx, eax
or cl, byte [esp + 0x10]
not cl
mov eax, dword [esp + 0x3c]
xor ebx, ebx
movzx esi, cl
mov ecx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test esi, ebx
jne 0x409778
mov al, bl
and al, 0xc0
movzx ecx, al
mov al, bl
neg ecx
sbb ecx, ecx
and ecx, 8
mov edx, ecx
or edx, 1
and al, 0xc
mov al, bl
cmove edx, ecx
mov esi, edx
or esi, 4
and al, 0x30
mov al, bl
cmove esi, edx
mov ecx, esi
or ecx, 2
and al, 3
cmove ecx, esi
and ecx, dword [esp + 0x30]
cmp dword [esp + 0x30], ecx
jne case.0x4096aa.19
mov al, byte [edi + 4]
test al, al
je 0x409596
movzx ecx, al
mov eax, ecx
and eax, ebx
cmp ecx, eax
jne case.0x4096aa.19
mov al, byte [edi + 6]
test al, al
jne 0x409629
movzx eax, word [edi + 8]
add eax, dword [esp + 0x44]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
lea esi, [ecx + eax*2]
mov ecx, 0x7fff
movzx eax, word [esi]
mov edx, eax
cmp ax, cx
jne 0x4095cf
mov ax, word [edi + 0xa]
mov word [esi], ax
jmp case.0x4096aa.19
shr ax, 0xf
cmp byte [esp + 0x12], 0
je 0x4095ee
test al, al
jne 0x40960a
mov ax, word [edi + 0xa]
and edx, ecx
mov word [ebp + edx*2], ax
jmp case.0x4096aa.19
test al, al
je 0x40960a
mov eax, dword [esp + 0x28]
movzx eax, ax
mov word [ebp + eax*2], dx
mov ax, word [edi + 0xa]
mov word [esi], ax
jmp case.0x4096aa.19
mov eax, dword [esp + 0x28]
and edx, ecx
movzx ecx, ax
movzx eax, word [ebp + edx*2]
mov word [ebp + ecx*2], ax
movzx eax, word [edi + 0xa]
mov word [esi], ax
jmp case.0x4096aa.19
mov ecx, dword [esp + 0x4c]
movzx eax, al
add eax, dword [esp + 0x1c]
lea esi, [ecx + eax*2]
mov ecx, 0x7fff
movzx eax, word [esi]
mov edx, eax
cmp ax, cx
je 0x40968a
shr ax, 0xf
cmp byte [esp + 0x12], 0
je 0x409665
test al, al
jne 0x409677
mov ax, word [edi + 0xa]
and edx, ecx
mov word [ebp + edx*2], ax
jmp case.0x4096aa.19
test al, al
je 0x409677
mov eax, dword [esp + 0x28]
movzx eax, ax
mov word [ebp + eax*2], dx
jmp 0x40968a
mov eax, dword [esp + 0x28]
and edx, ecx
movzx ecx, ax
mov ax, word [ebp + edx*2]
mov word [ebp + ecx*2], ax
mov ax, word [edi + 0xa]
mov word [esi], ax
movzx eax, byte [edi + 6]
add eax, 0xfffffff0
cmp eax, 0x95
ja case.0x4096aa.19
movzx eax, byte [eax + 0x40984c]
jmp dword [eax*4 + 0x409830]
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov edx, dword [esp + 0x18]
mov word [ecx - 2], ax
movzx eax, word [edi + 0xa]
mov word [edx - 0x200], ax
cmp byte [edi + 6], 0xa4
je 0x40976c
jmp 0x4096dc
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov word [ecx], ax
mov ecx, dword [esp + 0x18]
movzx eax, word [edi + 0xa]
mov word [ecx], ax
jmp case.0x4096aa.19
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov edx, dword [esp + 0x18]
mov word [ecx - 0xa], ax
movzx eax, word [edi + 0xa]
mov word [edx - 0x21c], ax
cmp byte [edi + 6], 0xa0
je 0x40976c
jmp 0x409717
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov word [ecx - 8], ax
mov ecx, dword [esp + 0x18]
movzx eax, word [edi + 0xa]
mov word [ecx - 4], ax
jmp case.0x4096aa.19
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov edx, dword [esp + 0x18]
mov word [ecx - 6], ax
movzx eax, word [edi + 0xa]
mov word [edx - 0x236], ax
cmp byte [edi + 6], 0xa2
je 0x40976c
jmp 0x409754
mov ecx, dword [esp + 0x14]
movzx eax, word [edi + 0xa]
mov word [ecx - 4], ax
mov ecx, dword [esp + 0x18]
movzx eax, word [edi + 0xa]
mov word [ecx - 0x36], ax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add ecx, 0x100
add eax, 0x200
add edx, 0x400
mov dword [esp + 0x1c], ecx
inc ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp ecx, 0xff00
jle 0x409538
mov ecx, dword [esp + 0x50]
add edi, 0xc
sub dword [esp + 0x24], 1
mov esi, 0x7ff9
mov edx, dword [esp + 0x54]
jne 0x4091a0
push dword [esp + 0x34]
call fcn.00495cc9
mov esi, dword [0x4de9a0]
add esp, 4
cmp byte [esi + 0x14a], 0
je 0x4097e9
push 0xa1
mov dl, 0xa0
mov cl, 0x10
call fcn.004098f0
add esp, 4
cmp byte [esi + 0x15e], 0
je 0x409803
push 0xa3
mov dl, 0xa2
mov cl, 0x11
call fcn.004098f0
add esp, 4
cmp byte [esi + 0x172], 0
je 0x40981d
push 0xa5
mov dl, 0xa4
mov cl, 0x12
call fcn.004098f0
add esp, 4
mov cl, byte [esp + 0x11]
xor dl, dl
call fcn.00409990
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret