Function at 0x40dcc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x46b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x40e38b
test ebx, ebx
je 0x40e38b
mov dword ds:[ebx], edx
mov eax, dword [ecx + 0x48]
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 8], 0xffffffff
mov eax, dword [eax + edx*4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
movzx ecx, byte [edi + 5]
movzx eax, byte [edi + 4]
shl cx, 8
or cx, ax
mov word [ebx + 0x10], cx
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl cx, 8
or cx, ax
mov word [ebx + 0x12], cx
movzx ecx, byte [edi + 9]
movzx eax, byte [edi + 8]
shl cx, 8
or cx, ax
mov word [ebx + 0x14], cx
movzx ecx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl cx, 8
or cx, ax
mov word [ebx + 0x16], cx
movzx ecx, byte [edi + 0xf]
movzx eax, byte [edi + 0xe]
movzx edx, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 0xc]
or edx, eax
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [ebp - 0x1c], ecx
dec eax
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, 0xb
mov dword [ebp - 0x20], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], edx
call fcn.00429cd5
mov dword [ebx + 0x450], eax
mov dword [ebx + 0x454], edx
movzx ecx, byte [edi + 0x13]
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x18], ecx
movzx eax, byte [edi + 0x17]
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 8
shl ecx, 8
movzx eax, byte [edi + 0x16]
cdq
or ecx, eax
or esi, edx
shld esi, ecx, 8
movzx eax, byte [edi + 0x15]
shl ecx, 8
cdq
or ecx, eax
or esi, edx
shld esi, ecx, 8
movzx eax, byte [edi + 0x14]
shl ecx, 8
cdq
or ecx, eax
or esi, edx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], esi
movzx eax, byte [edi + 0x1b]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi + 0x1a]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 0x19]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 0x18]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x28], ecx
movzx ecx, byte [edi + 0x25]
movzx eax, byte [edi + 0x24]
shl cx, 8
or cx, ax
mov word [ebx + 0x30], cx
movzx ecx, byte [edi + 0x29]
movzx eax, byte [edi + 0x28]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x26]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x34], ecx
movzx eax, byte [edi + 0x2d]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi + 0x2c]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 0x2b]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 0x2a]
shld esi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or esi, edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], esi
movzx ecx, byte [edi + 0x1d]
movzx eax, byte [edi + 0x1c]
mov edi, 0x1ff
shl ecx, 8
mov esi, edi
or ecx, eax
mov eax, dword [ebp - 0x2c]
cmp ecx, esi
cmovb esi, ecx
add eax, 0x2e
push esi
push eax
lea eax, [ebx + 0x50]
push eax
call fcn.00423850
mov byte [ebx + esi + 0x50], 0
mov esi, dword [ebp - 0x2c]
movzx ecx, byte [esi + 0x21]
movzx eax, byte [esi + 0x20]
shl ecx, 8
or ecx, eax
cmp ecx, edi
cmovb edi, ecx
mov dword [ebx + 0x40], edi
movzx edx, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
movzx ecx, byte [esi + 0x1d]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [esi + 0x1c]
or ecx, eax
add ecx, 0x2e
lea eax, [esi + edx]
add eax, ecx
push edi
push eax
lea eax, [ebx + 0x250]
push eax
call fcn.00423850
mov esi, dword [ebp - 0x38]
add esp, 0x1c
mov byte [ebx + edi + 0x250], 0
mov edi, dword [ebp - 0x30]
cmp dword [esi + 0x48], 0
je 0x40dfb1
cmp edi, dword [esi + 0x10]
jae 0x40dfb1
lfence
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + edi*4]
add edx, dword [ecx]
je 0x40dfb1
movzx ecx, byte [edx + 0x1d]
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
je 0x40dfa5
cmp byte [ecx + edx + 0x2d], 0x2f
jne 0x40dfa5
mov eax, 1
jmp 0x40dfba
movzx eax, byte [edx + 0x26]
shr eax, 4
and eax, 1
jmp 0x40dfba
mov dword [esi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x44], eax
cmp dword [esi + 0x48], 0
je 0x40dfe6
cmp edi, dword [esi + 0x10]
jae 0x40dfe6
lfence
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [ecx]
je 0x40dfe6
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x40dfef
mov dword [esi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x48], eax
cmp dword [esi + 0x48], 0
je 0x40e054
cmp edi, dword [esi + 0x10]
jae 0x40e054
lfence
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + edi*4]
add edx, dword [ecx]
je 0x40e054
movzx ecx, byte ds:[edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
je 0x40e030
cmp ecx, 8
je 0x40e030
mov dword [esi + 0x1c], 4
jmp 0x40e05b
test al, 0x41
je 0x40e03d
mov dword [esi + 0x1c], 5
jmp 0x40e05b
lea ecx, [ecx]
test al, 0x20
je 0x40e04d
mov dword [esi + 0x1c], 6
jmp 0x40e05b
mov eax, 1
jmp 0x40e05d
mov dword [esi + 0x1c], 0x18
xor eax, eax
mov ecx, dword [ebx + 0x24]
mov esi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x20]
cmp ecx, esi
jb 0x40e07e
ja 0x40e076
cmp eax, edx
jbe 0x40e07e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x40e084
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esi
mov edx, dword [ebx + 0x3c]
cmp dword [ebp - 0x30], edx
mov edi, dword [ebx + 0x38]
mov edx, dword [ebx + 0x28]
jb 0x40e0aa
ja 0x40e099
cmp dword [ebp - 0x34], edi
jbe 0x40e0aa
cmp ecx, esi
jb 0x40e0a4
ja 0x40e0af
nop
cmp eax, edx
ja 0x40e0af
mov eax, edx
mov ecx, esi
jmp 0x40e0af
mov ecx, dword [ebx + 0x3c]
mov eax, edi
cmp eax, 0xffffffff
jne 0x40e129
test ecx, ecx
jne 0x40e129
mov edx, dword [ebp - 0x2c]
movzx edi, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl edi, 8
or edi, eax
je 0x40e129
movzx esi, byte [edx + 0x1d]
movzx eax, byte [edx + 0x1c]
shl esi, 8
or esi, eax
add esi, 0x2e
add esi, edx
lea esp, [esp]
cmp edi, 4
jb 0x40e36c
movzx ecx, byte ds:[esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
lea eax, [ecx + 4]
cmp eax, edi
ja 0x40e36c
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
or edx, eax
cmp edx, 1
je 0x40e143
add esi, 4
mov eax, 0xfffffffc
sub eax, ecx
add esi, ecx
add edi, eax
jne 0x40e0e0
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420701
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x28], 0xffffffff
lea edi, [esi + 4]
mov dword [ebp - 0x2c], edi
jne 0x40e208
cmp dword [ebx + 0x2c], 0
jne 0x40e208
lea ecx, [ecx]
cmp ecx, 8
jb 0x40e36c
movzx eax, byte [edi + 7]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 6]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 5]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 4]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 3]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 2]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 1]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax]
cdq
or edi, edx
or esi, eax
mov dword [ebx + 0x2c], edi
mov edi, dword [ebp - 0x2c]
add edi, 8
mov dword [ebx + 0x28], esi
mov dword [ebp - 0x2c], edi
add ecx, 0xfffffff8
cmp dword [ebx + 0x20], 0xffffffff
jne 0x40e2c5
cmp dword [ebx + 0x24], 0
jne 0x40e2c5
lea esp, [esp]
cmp ecx, 8
jb 0x40e36c
movzx eax, byte [edi + 7]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 6]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 5]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 4]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 3]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 2]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax + 1]
cdq
or esi, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, esi, 8
shl esi, 8
movzx eax, byte [eax]
cdq
or edi, edx
or esi, eax
mov dword [ebx + 0x24], edi
mov edi, dword [ebp - 0x2c]
add edi, 8
mov dword [ebx + 0x20], esi
sub ecx, 8
cmp dword [ebx + 0x38], 0xffffffff
jne 0x40e129
cmp dword [ebx + 0x3c], 0
jne 0x40e129
lea esp, [esp]
cmp ecx, 8
jb 0x40e36c
movzx eax, byte [edi + 7]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi + 6]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 5]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 4]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 3]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 2]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi + 1]
shld esi, ecx, 8
cdq
shl ecx, 8
or esi, edx
or ecx, eax
movzx eax, byte [edi]
shld esi, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or esi, edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], esi
jmp 0x40e129
mov ecx, dword [ebp - 0x38]
xor eax, eax
pop esi
pop edi
pop ebx
mov dword [ecx + 0x1c], 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420701
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
je 0x40e396
mov dword [ecx + 0x1c], 0x18
mov ecx, dword ds:[ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00420701
mov esp, ebp
pop ebp
ret 0xc