Function at 0x40dc10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
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 0x40e2b0
test ebx, ebx
je 0x40e2b0
mov dword [ebx], edx
xorps xmm0, xmm0
mov eax, dword [ecx + 0x48]
push esi
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [eax + 0x10]
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 dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
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 sub.VCRUNTIME140.dll_memcpy
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 sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x38]
add esp, 0x1c
mov byte [ebx + edi + 0x250], 0
mov edi, dword [ebp - 0x30]
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x40deff
cmp edi, dword [ecx + 0x10]
jae 0x40deff
mov eax, dword [eax + 0x10]
mov edx, dword [eax + edi*4]
mov eax, dword [ecx + 0x48]
add edx, dword [eax]
je 0x40deff
movzx eax, byte [edx + 0x1d]
shl eax, 8
mov dword [ebp - 0x30], eax
movzx eax, byte [edx + 0x1c]
or dword [ebp - 0x30], eax
je 0x40def3
mov eax, dword [ebp - 0x30]
cmp byte [eax + edx + 0x2d], 0x2f
jne 0x40def3
mov eax, 1
jmp 0x40df08
movzx eax, byte [edx + 0x26]
shr eax, 4
and eax, 1
jmp 0x40df08
mov dword [ecx + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x44], eax
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x40df2f
cmp edi, dword [ecx + 0x10]
jae 0x40df2f
mov eax, dword [edx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [edx]
je 0x40df2f
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x40df38
mov dword [ecx + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x48], eax
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x40df93
cmp edi, dword [ecx + 0x10]
jae 0x40df93
mov eax, dword [edx + 0x10]
mov edi, dword [eax + edi*4]
add edi, dword [edx]
je 0x40df93
movzx edx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 8]
je 0x40df72
cmp edx, 8
je 0x40df72
mov dword [ecx + 0x1c], 4
jmp 0x40df9a
test al, 0x41
je 0x40df7f
mov dword [ecx + 0x1c], 5
jmp 0x40df9a
test al, 0x20
je 0x40df8c
mov dword [ecx + 0x1c], 6
jmp 0x40df9a
mov eax, 1
jmp 0x40df9c
mov dword [ecx + 0x1c], 0x18
xor eax, eax
mov ecx, dword [ebx + 0x24]
mov edi, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0x20]
cmp ecx, edi
jb 0x40dfbd
ja 0x40dfb5
cmp eax, edx
jbe 0x40dfbd
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x40dfc3
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov edx, dword [ebx + 0x3c]
cmp dword [ebp - 0x30], edx
mov edx, dword [ebx + 0x28]
jb 0x40dfeb
ja 0x40dfdb
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebx + 0x38]
mov esi, dword [ebp - 0x2c]
jbe 0x40dfeb
cmp ecx, edi
jb 0x40dfe5
ja 0x40dff1
cmp eax, edx
ja 0x40dff1
mov eax, edx
mov ecx, edi
jmp 0x40dff1
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, 0xffffffff
jne 0x40e062
test ecx, ecx
jne 0x40e062
movzx edi, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
shl edi, 8
or edi, eax
je 0x40e062
movzx ecx, byte [esi + 0x1d]
movzx eax, byte [esi + 0x1c]
add esi, 0x2e
shl ecx, 8
or ecx, eax
add esi, ecx
nop dword [eax + eax]
cmp edi, 4
jb 0x40e293
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
lea eax, [ecx + 4]
cmp eax, edi
ja 0x40e293
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
or edx, eax
cmp edx, 1
je 0x40e078
add esi, 4
mov eax, 0xfffffffc
sub eax, ecx
add esi, ecx
add edi, eax
jne 0x40e020
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041005d
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x28], 0xffffffff
lea edi, [esi + 4]
mov dword [ebp - 0x2c], edi
jne 0x40e13a
cmp dword [ebx + 0x2c], 0
jne 0x40e13a
cmp ecx, 8
jb 0x40e293
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 0x40e1f3
cmp dword [ebx + 0x24], 0
jne 0x40e1f3
cmp ecx, 8
jb 0x40e293
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 0x40e062
cmp dword [ebx + 0x3c], 0
jne 0x40e062
cmp ecx, 8
jb 0x40e293
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 0x40e062
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.0041005d
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x40e2bb
mov dword [ecx + 0x1c], 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0041005d
mov esp, ebp
pop ebp
ret