Function at 0x40ce30
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2f10
call fcn.004ab360
mov al, byte [0x4dd213]
or al, byte [0x4dd212]
mov dword [esp + 4], edx
mov byte [esp + 0x17], al
jne 0x40ce5f
xor dl, dl
xor cl, cl
call fcn.0040da50
add esp, 0x2f10
ret
push ebx
push ebp
push esi
mov esi, dword [0x4dc230]
test esi, esi
jne 0x40cfd1
push 0x1400
call fcn.00490f3f
add esp, 4
mov dword [0x4dc230], eax
test eax, eax
je 0x40cfc2
push 0x2800
call fcn.00490f3f
add esp, 4
mov dword [0x4dc22c], eax
test eax, eax
je 0x40cfc2
push 0x20000
call fcn.00490f3f
add esp, 4
mov dword [0x4dc23c], eax
test eax, eax
je 0x40cfc2
push 0x40000
call fcn.00490f3f
add esp, 4
mov dword [0x4dc238], eax
test eax, eax
je 0x40cfc2
push 0x7d0
call fcn.00490f3f
mov ebp, eax
add esp, 4
mov dword [0x4dc234], ebp
test ebp, ebp
je 0x40cfc2
push 0x1400
push esi
mov esi, dword [0x4dc230]
push esi
call fcn.00493930
mov ebx, dword [0x4dc22c]
push 0x2800
push 0
push ebx
call fcn.00493930
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 [ebx + 0x24c], 1
mov byte [ebx + 0x164c], 2
mov byte [ebx + 0x468], 4
mov byte [ebx + 0x1868], 8
mov byte [ebx + 0x350], 0x10
mov byte [ebx + 0x1840], 0x20
mov byte [ebx + 0x1b24], 0x40
mov byte [ebx + 0x1b38], 0x80
mov dword [esi + 0xb54], 0x4d8e64
mov dword [esi + 0x190], 0x4d9ac4
mov dword [esi + 0xb40], 0x4d9ac8
jmp 0x40cfdd
call fcn.0040e130
pop esi
pop ebp
pop ebx
add esp, 0x2f10
ret
mov ebx, dword [0x4dc22c]
mov ebp, dword [0x4dc234]
lea eax, [esi + 9]
mov ecx, 0x100
mov edx, 0x3fff
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 0x40cff0
lea eax, [ebx + 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 0x40d020
mov ecx, 0x4d89d4
mov edx, 0x1ff
movzx eax, word [ecx]
test ax, ax
je 0x40d05d
cmp ax, dx
ja 0x40d05d
lea eax, [eax + eax*4]
mov byte [ebx + eax*4 + 0x13], 1
add ecx, 8
cmp ecx, 0x4d8a3c
jl 0x40d048
push edi
mov edi, dword [0x4dc23c]
mov eax, 0x3fff3fff
mov ecx, 0x8000
rep stosd dword es:[edi], eax
mov edi, dword [0x4dc238]
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
mov edi, ebp
push 0x2ee0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00493930
xor ecx, ecx
mov dword [esp + 0x2c], 0
add esp, 0xc
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], ecx
jle 0x40d89d
lea eax, [esp + 0x46]
mov dword [esp + 0x28], eax
nop word [eax + eax]
mov edi, dword [ecx*4 + 0x4dc268]
mov al, byte [edi + 0x12]
test al, al
je 0x40d13f
cmp al, 4
jae 0x40d13f
cmp byte [0x4dc0e5], 0
je 0x40d23d
cmp word [edi + 6], 0
jne 0x40d13f
mov ebp, dword [edi + 0x20]
test ebp, ebp
je 0x40d13f
nop dword [eax]
mov esi, dword [ebp]
mov ecx, esi
call fcn.00473080
sub eax, 0
je 0x40d114
sub eax, 1
jne 0x40d128
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40d128
call fcn.0046fd30
test al, al
jne 0x40d22d
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x40d100
mov esi, dword [0x4dc230]
mov ebx, dword [0x4dc22c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x14]
jl 0x40d0d0
test edi, edi
je 0x40d89d
push 0x40cb00
push 0xc
lea eax, [esp + 0x48]
push edi
push eax
call fcn.0049d9f0
add esp, 0x10
test edi, edi
jle 0x40d897
mov ecx, dword [0x4dc23c]
mov esi, dword [0x4dc238]
mov ebp, dword [0x4dc234]
add esi, 0x270
mov dword [esp + 0x34], esi
lea eax, [ecx + 0x14a]
mov dword [esp + 0x38], eax
mov eax, 0xfffffeb6
sub eax, ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4a]
movzx ecx, word [eax]
mov bl, byte [eax - 6]
mov edx, ecx
shr edx, 0xe
and ecx, 0x3fff
and edx, 0xffffff01
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax - 0xa]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x26], bl
test bl, bl
je 0x40d21c
mov cl, bl
and cl, 0xc0
movzx edx, cl
mov cl, bl
neg edx
sbb edx, edx
and edx, 8
mov esi, edx
or esi, 1
and cl, 0xc
mov cl, bl
cmove esi, edx
mov edi, esi
or edi, 4
and cl, 0x30
mov cl, bl
cmove edi, esi
mov esi, dword [esp + 0x34]
mov edx, edi
or edx, 2
and cl, 3
cmove edx, edi
or dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
cmp byte [eax - 5], 0
je 0x40d577
xor cl, cl
jmp 0x40d5d9
mov esi, dword [0x4dc230]
mov ebx, dword [0x4dc22c]
mov ecx, dword [esp + 0x10]
cmp word [edi + 6], 0
je 0x40d28c
cmp byte [edi + 0x19], 0
sete al
test al, al
jne 0x40d13f
mov al, byte [edi + 0x10]
test al, al
jne 0x40d265
cmp word [edi + 8], 0
je 0x40d13f
movzx ecx, word [edi + 8]
mov edx, 0x1ff
cmp cx, dx
ja 0x40d13b
test al, al
jne 0x40d2a9
mov eax, ecx
lea eax, [eax + eax*4]
lea ebp, [ebx + eax*4]
mov byte [ebp + 0x13], 1
jmp 0x40d38a
mov eax, dword [edi + 0x20]
test eax, eax
je 0x40d13f
cmp byte [eax + 0x1c], 0
jne 0x40d253
mov eax, dword [eax + 8]
test eax, eax
jne 0x40d297
jmp 0x40d13f
movzx ecx, al
lea eax, [ecx + ecx*4]
lea ebp, [esi + eax*4]
sub ecx, 0x10
je 0x40d34c
sub ecx, 1
je 0x40d30c
sub ecx, 1
jne 0x40d38a
mov byte [esi + 0xcda], 1
mov byte [esi + 0xcee], 1
mov byte [ebx + 0x46a], 1
mov byte [ebx + 0x186a], 1
cmp byte [edi + 0x16], cl
je 0x40d38a
mov byte [esi + 0xcdb], 1
mov byte [esi + 0xcef], 1
mov byte [ebx + 0x46b], 1
mov byte [ebx + 0x186b], 1
jmp 0x40d38a
mov byte [esi + 0xcb2], 1
mov byte [esi + 0xcc6], 1
mov byte [ebx + 0x24e], 1
mov byte [ebx + 0x164e], 1
cmp byte [edi + 0x16], 0
je 0x40d38a
mov byte [esi + 0xcb3], 1
mov byte [esi + 0xcc7], 1
mov byte [ebx + 0x24f], 1
mov byte [ebx + 0x164f], 1
jmp 0x40d38a
mov byte [esi + 0xc8a], 1
mov byte [esi + 0xc9e], 1
mov byte [ebx + 0x352], 1
mov byte [ebx + 0x1842], 1
cmp byte [edi + 0x16], 0
je 0x40d38a
mov byte [esi + 0xc8b], 1
mov byte [esi + 0xc9f], 1
mov byte [ebx + 0x353], 1
mov byte [ebx + 0x1843], 1
mov byte [ebp + 0xa], 1
cmp byte [edi + 0x16], 0
movzx edx, word [edi + 4]
mov dword [esp + 0x2c], edx
je 0x40d3aa
or edx, 0x4000
mov byte [ebp + 0xb], 1
mov dword [esp + 0x2c], edx
mov cl, byte [edi + 0x11]
test cl, cl
jne 0x40d3bc
cmp word [edi + 0xa], 0
jne 0x40d3bc
xor al, al
jmp 0x40d3be
mov al, 1
cmp byte [ebp + 8], 0
je 0x40d448
cmp byte [edi + 0xf], 0
jne 0x40d448
test al, al
jne 0x40d44c
test byte [edi + 0x13], 2
jne 0x40d3ed
mov dx, word [edi + 8]
mov cl, byte [edi + 0x10]
push 0
call fcn.0040cc80
mov edx, dword [esp + 0x30]
add esp, 4
cmp byte [edi + 0xf], 0
jne 0x40d3fd
test byte [edi + 0x13], 2
je 0x40d3fd
or byte [ebp + 0xc], 1
movzx eax, word [edi + 6]
test ax, ax
jne 0x40d409
movzx eax, dx
mov ecx, dword [esp + 0x28]
mov word [ecx + 4], ax
mov al, byte [edi + 0x10]
mov byte [ecx], al
mov ax, word [edi + 8]
mov word [ecx + 2], ax
mov eax, dword [edi]
mov dword [ecx - 6], eax
mov al, byte [edi + 0xe]
mov byte [ecx - 2], al
mov al, byte [edi + 0x15]
mov edi, dword [esp + 0x20]
mov byte [ecx - 1], al
inc edi
add ecx, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
jmp 0x40d143
test al, al
je 0x40d3ed
test cl, cl
je 0x40d521
movzx eax, cl
lea eax, [eax + eax*4]
cmp byte [esi + eax*4 + 8], 0
lea eax, [esi + eax*4]
je 0x40d509
mov al, cl
sub al, 0x10
cmp al, 2
movzx eax, cl
ja 0x40d4ff
sub eax, 0x10
je 0x40d4da
sub eax, 1
je 0x40d4b2
sub eax, 1
jne 0x40d562
mov byte [esi + 0x171], 2
mov byte [esi + 0xcd9], 2
mov byte [esi + 0xced], 2
mov byte [ebx + 0x469], 2
mov byte [ebx + 0x1869], 2
jmp 0x40d562
mov byte [esi + 0x15d], 2
mov byte [esi + 0xcb1], 2
mov byte [esi + 0xcc5], 2
mov byte [ebx + 0x24d], 2
mov byte [ebx + 0x164d], 2
jmp 0x40d562
mov byte [esi + 0x149], 2
mov byte [esi + 0xc89], 2
mov byte [esi + 0xc9d], 2
mov byte [ebx + 0x351], 2
mov byte [ebx + 0x1841], 2
jmp 0x40d562
lea eax, [eax + eax*4]
mov byte [esi + eax*4 + 9], 1
jmp 0x40d562
mov byte [eax + 9], 1
test byte [edi + 0x13], 1
je 0x40d562
movzx eax, byte [edi + 0x11]
lea eax, [eax + eax*4]
or byte [esi + eax*4 + 0xc], 1
jmp 0x40d562
movzx ecx, word [edi + 0xa]
mov eax, ecx
lea eax, [eax + eax*4]
cmp byte [ebx + eax*4 + 8], 0
lea eax, [ebx + eax*4]
je 0x40d540
mov eax, ecx
lea eax, [eax + eax*4]
mov byte [ebx + eax*4 + 9], 1
jmp 0x40d562
mov byte [eax + 9], 1
test byte [edi + 0x13], 1
je 0x40d556
movzx eax, word [edi + 0xa]
lea eax, [eax + eax*4]
or byte [ebx + eax*4 + 0xc], 1
movzx eax, word [edi + 0xa]
lea eax, [eax + eax*4]
mov byte [ebx + eax*4 + 0x13], 1
movzx eax, word [ebp + 6]
mov word [edi + 0xc], ax
movzx eax, word [edi + 4]
mov word [ebp + 6], ax
jmp 0x40d13b
mov ecx, edx
and cl, 8
neg cl
sbb cl, cl
and ecx, 0xffffffc0
mov dword [esp + 0x14], ecx
or cl, 0xc
movzx ebx, cl
and dl, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movzx ecx, cl
cmove ebx, ecx
mov cl, bl
or cl, 3
and dl, 2
movzx ecx, cl
mov dword [esp + 0x14], ecx
mov edx, ecx
movzx ecx, bl
cmove edx, ecx
and byte [esp + 0x10], 4
mov cl, dl
or cl, 0x30
cmp byte [esp + 0x10], 0
movzx ebx, cl
movzx ecx, dl
cmove ebx, ecx
or bl, byte [esp + 0x26]
not bl
mov dword [esp + 0x10], ebx
mov ecx, ebx
xor ebx, ebx
movzx edi, cl
mov ecx, dword [esp + 0x38]
mov edx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
test ebx, edi
jne 0x40d85a
mov cl, bl
and cl, 0xc0
movzx edx, cl
mov cl, bl
neg edx
sbb edx, edx
and edx, 8
mov esi, edx
or esi, 1
and cl, 0xc
mov cl, bl
cmove esi, edx
mov edi, esi
or edi, 4
and cl, 0x30
mov cl, bl
cmove edi, esi
mov edx, edi
or edx, 2
and cl, 3
mov ecx, dword [esp + 0x2c]
cmove edx, edi
and edx, ecx
cmp ecx, edx
jne case.0x40d787.19
mov cl, byte [eax - 6]
test cl, cl
je 0x40d656
movzx edx, cl
mov ecx, edx
and ecx, ebx
cmp edx, ecx
jne case.0x40d787.19
mov cl, byte [eax - 4]
test cl, cl
jne 0x40d6f2
movzx ecx, word [eax - 2]
add ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x18]
mov edx, dword [0x4dc238]
movzx esi, word [edx + ecx*2]
lea edi, [edx + ecx*2]
mov ecx, 0x3fff
cmp si, cx
jne 0x40d68f
mov cx, word [eax]
mov word [edi], cx
jmp case.0x40d787.19
mov ecx, esi
shr ecx, 0xe
and cl, 1
cmp byte [esp + 0x30], 0
je 0x40d6b5
test cl, cl
jne 0x40d6d0
mov cx, word [eax]
and esi, 0x3fff
mov word [ebp + esi*2], cx
jmp case.0x40d787.19
test cl, cl
je 0x40d6d0
mov ecx, dword [esp + 0x28]
movzx ecx, cx
mov word [ebp + ecx*2], si
mov cx, word [eax]
mov word [edi], cx
jmp case.0x40d787.19
mov ecx, dword [esp + 0x28]
and esi, 0x3fff
movzx edx, cx
movzx ecx, word [ebp + esi*2]
mov word [ebp + edx*2], cx
movzx ecx, word [eax]
mov word [edi], cx
jmp case.0x40d787.19
mov edx, dword [0x4dc23c]
movzx ecx, cl
add ecx, dword [esp + 0x14]
movzx esi, word [edx + ecx*2]
lea edi, [edx + ecx*2]
mov ecx, 0x3fff
cmp si, cx
jne 0x40d715
mov cx, word [eax]
jmp 0x40d76a
mov ecx, esi
shr ecx, 0xe
and cl, 1
cmp byte [esp + 0x30], 0
je 0x40d73b
test cl, cl
jne 0x40d750
mov cx, word [eax]
and esi, 0x3fff
mov word [ebp + esi*2], cx
jmp case.0x40d787.19
test cl, cl
je 0x40d750
mov ecx, dword [esp + 0x28]
movzx ecx, cx
mov word [ebp + ecx*2], si
mov cx, word [eax]
jmp 0x40d76a
mov ecx, dword [esp + 0x28]
and esi, 0x3fff
movzx edx, cx
movzx ecx, word [ebp + esi*2]
mov word [ebp + edx*2], cx
movzx ecx, word [eax]
mov word [edi], cx
movzx ecx, byte [eax - 4]
add ecx, 0xfffffff0
cmp ecx, 0x95
ja case.0x40d787.19
movzx ecx, byte [ecx + 0x40d920]
jmp dword [ecx*4 + 0x40d904]
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov esi, dword [esp + 0x1c]
mov word [edx - 2], cx
movzx ecx, word [eax]
mov word [esi - 0x200], cx
cmp byte [eax - 4], 0xa4
je 0x40d84e
movzx ecx, word [eax]
mov word [edx], cx
mov edx, esi
movzx ecx, word [eax]
mov word [edx], cx
jmp case.0x40d787.19
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov word [edx], cx
mov edx, dword [esp + 0x1c]
movzx ecx, word [eax]
mov word [edx], cx
jmp case.0x40d787.19
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov esi, dword [esp + 0x1c]
mov word [edx - 0xa], cx
movzx ecx, word [eax]
mov word [esi - 0x21c], cx
cmp byte [eax - 4], 0xa0
je 0x40d84e
jmp 0x40d7ff
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov word [edx - 8], cx
mov edx, dword [esp + 0x1c]
movzx ecx, word [eax]
mov word [edx - 4], cx
jmp case.0x40d787.19
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov esi, dword [esp + 0x1c]
mov word [edx - 6], cx
movzx ecx, word [eax]
mov word [esi - 0x236], cx
cmp byte [eax - 4], 0xa2
je 0x40d84e
jmp 0x40d838
mov edx, dword [esp + 0x18]
movzx ecx, word [eax]
mov word [edx - 4], cx
mov edx, dword [esp + 0x1c]
movzx ecx, word [eax]
mov word [edx - 0x36], cx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
add edx, 0x100
add ecx, 0x200
add esi, 0x400
mov dword [esp + 0x14], edx
inc ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
cmp edx, 0xff00
jle 0x40d5f4
mov esi, dword [esp + 0x34]
add eax, 0xc
sub dword [esp + 0x20], 1
jne 0x40d1a8
mov esi, dword [0x4dc230]
cmp byte [esi + 0x14a], 0
pop edi
je 0x40d8b8
push 0xa1
mov dl, 0xa0
mov cl, 0x10
call fcn.0040d9c0
add esp, 4
cmp byte [esi + 0x15e], 0
je 0x40d8d2
push 0xa3
mov dl, 0xa2
mov cl, 0x11
call fcn.0040d9c0
add esp, 4
cmp byte [esi + 0x172], 0
je 0x40d8ec
push 0xa5
mov dl, 0xa4
mov cl, 0x12
call fcn.0040d9c0
add esp, 4
mov cl, byte [esp + 0x23]
xor dl, dl
call fcn.0040da50
pop esi
pop ebp
pop ebx
add esp, 0x2f10
ret