Function at 0x40e3f0
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 0x40ea90
test ebx, ebx
je 0x40ea90
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 0x40e6df
cmp edi, dword [ecx + 0x10]
jae 0x40e6df
mov eax, dword [eax + 0x10]
mov edx, dword [eax + edi*4]
mov eax, dword [ecx + 0x48]
add edx, dword [eax]
je 0x40e6df
movzx eax, byte [edx + 0x1d]
shl eax, 8
mov dword [ebp - 0x30], eax
movzx eax, byte [edx + 0x1c]
or dword [ebp - 0x30], eax
je 0x40e6d3
mov eax, dword [ebp - 0x30]
cmp byte [eax + edx + 0x2d], 0x2f
jne 0x40e6d3
mov eax, 1
jmp 0x40e6e8
movzx eax, byte [edx + 0x26]
shr eax, 4
and eax, 1
jmp 0x40e6e8
mov dword [ecx + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x44], eax
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x40e70f
cmp edi, dword [ecx + 0x10]
jae 0x40e70f
mov eax, dword [edx + 0x10]
mov eax, dword [eax + edi*4]
add eax, dword [edx]
je 0x40e70f
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x40e718
mov dword [ecx + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x48], eax
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x40e773
cmp edi, dword [ecx + 0x10]
jae 0x40e773
mov eax, dword [edx + 0x10]
mov edi, dword [eax + edi*4]
add edi, dword [edx]
je 0x40e773
movzx edx, byte [edi + 0xb]
movzx eax, byte [edi + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 8]
je 0x40e752
cmp edx, 8
je 0x40e752
mov dword [ecx + 0x1c], 4
jmp 0x40e77a
test al, 0x41
je 0x40e75f
mov dword [ecx + 0x1c], 5
jmp 0x40e77a
test al, 0x20
je 0x40e76c
mov dword [ecx + 0x1c], 6
jmp 0x40e77a
mov eax, 1
jmp 0x40e77c
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 0x40e79d
ja 0x40e795
cmp eax, edx
jbe 0x40e79d
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x40e7a3
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 0x40e7cb
ja 0x40e7bb
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebx + 0x38]
mov esi, dword [ebp - 0x2c]
jbe 0x40e7cb
cmp ecx, edi
jb 0x40e7c5
ja 0x40e7d1
cmp eax, edx
ja 0x40e7d1
mov eax, edx
mov ecx, edi
jmp 0x40e7d1
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
cmp eax, 0xffffffff
jne 0x40e842
test ecx, ecx
jne 0x40e842
movzx edi, byte [esi + 0x1f]
movzx eax, byte [esi + 0x1e]
shl edi, 8
or edi, eax
je 0x40e842
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 0x40ea73
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
lea eax, [ecx + 4]
cmp eax, edi
ja 0x40ea73
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
or edx, eax
cmp edx, 1
je 0x40e858
add esi, 4
mov eax, 0xfffffffc
sub eax, ecx
add esi, ecx
add edi, eax
jne 0x40e800
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041083d
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x28], 0xffffffff
lea edi, [esi + 4]
mov dword [ebp - 0x2c], edi
jne 0x40e91a
cmp dword [ebx + 0x2c], 0
jne 0x40e91a
cmp ecx, 8
jb 0x40ea73
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 0x40e9d3
cmp dword [ebx + 0x24], 0
jne 0x40e9d3
cmp ecx, 8
jb 0x40ea73
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 0x40e842
cmp dword [ebx + 0x3c], 0
jne 0x40e842
cmp ecx, 8
jb 0x40ea73
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 0x40e842
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.0041083d
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x40ea9b
mov dword [ecx + 0x1c], 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0041083d
mov esp, ebp
pop ebp
ret