Function at 0x10039b30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100b0270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
test esi, esi
je 0x10039ead
test ebx, ebx
je 0x10039ead
mov dword [ebx], eax
lea edx, [eax*4]
mov eax, dword [ecx + 0x48]
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 0
movzx eax, word [esi + 4]
mov word [ebx + 0x10], ax
movzx eax, word [esi + 6]
mov word [ebx + 0x12], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x14], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x16], ax
movzx ecx, word [esi + 0xe]
movzx edx, word [esi + 0xc]
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 + 0x18], eax
mov edi, 0x1ff
mov dword [ebx + 0x1c], edx
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], 0
movzx eax, word [esi + 0x24]
mov word [ebx + 0x38], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0
movzx eax, word [esi + 0x1c]
mov esi, edi
cmp eax, edi
cmovb esi, eax
mov eax, dword [ebp - 0x30]
add eax, 0x2e
push esi
push eax
lea eax, [ebx + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [ebx + esi + 0x58], 0
mov esi, dword [ebp - 0x30]
movzx eax, word [esi + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [ebx + 0x48], edi
push edi
movzx ecx, word [esi + 0x1c]
movzx eax, word [esi + 0x1e]
add ecx, esi
add eax, 0x2e
add eax, ecx
push eax
lea eax, [ebx + 0x258]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
mov byte [ebx + edi + 0x258], 0
mov edi, dword [ebp - 0x34]
mov edx, dword [edi + 0x48]
test edx, edx
je 0x10039cd5
cmp ecx, dword [edi + 0x10]
jae 0x10039cd5
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x10039cd5
movzx edx, word [eax + 0x1c]
test edx, edx
je 0x10039cc9
cmp byte [edx + eax + 0x2d], 0x2f
jne 0x10039cc9
mov eax, 1
jmp 0x10039cde
movzx eax, byte [eax + 0x26]
shr eax, 4
and eax, 1
jmp 0x10039cde
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x4c], eax
mov edx, dword [edi + 0x48]
test edx, edx
je 0x10039d05
cmp ecx, dword [edi + 0x10]
jae 0x10039d05
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x10039d05
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x10039d0e
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov dword [ebx + 0x50], eax
mov edx, dword [edi + 0x48]
test edx, edx
je 0x10039d63
cmp ecx, dword [edi + 0x10]
jae 0x10039d63
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x10039d63
movzx ecx, word [eax + 0xa]
movzx eax, word [eax + 8]
test cx, cx
je 0x10039d42
cmp ecx, 8
je 0x10039d42
mov dword [edi + 0x1c], 4
jmp 0x10039d6a
test al, 0x41
je 0x10039d4f
mov dword [edi + 0x1c], 5
jmp 0x10039d6a
test al, 0x20
je 0x10039d5c
mov dword [edi + 0x1c], 6
jmp 0x10039d6a
mov eax, 1
jmp 0x10039d6c
mov dword [edi + 0x1c], 0x18
xor eax, eax
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x30]
cmp dword [ebx + 0x2c], edx
jb 0x10039d91
ja 0x10039d83
cmp ecx, eax
jbe 0x10039d91
mov esi, dword [ebx + 0x2c]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
jmp 0x10039d97
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], edx
mov edi, dword [ebx + 0x44]
cmp dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x34]
jb 0x10039dc1
ja 0x10039daf
mov edi, dword [ebx + 0x40]
cmp dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x34]
jbe 0x10039dc1
cmp dword [ebx + 0x2c], edx
jb 0x10039dc7
ja 0x10039dba
cmp ecx, eax
jbe 0x10039dc7
mov edx, dword [ebx + 0x2c]
mov eax, ecx
jmp 0x10039dc7
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
cmp eax, 0xffffffff
jne 0x10039e0f
test edx, edx
jne 0x10039e0f
movzx edx, word [esi + 0x1e]
test edx, edx
je 0x10039e0f
movzx eax, word [esi + 0x1c]
add esi, 0x2e
add esi, eax
cmp edx, 4
jb 0x10039e93
movzx eax, word [esi + 2]
lea ecx, [eax + 4]
cmp ecx, edx
ja 0x10039e93
cmp word [esi], 1
je 0x10039e25
add esi, 4
mov ecx, 0xfffffffc
sub ecx, eax
add esi, eax
add edx, ecx
jne 0x10039de1
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908b3
mov esp, ebp
pop ebp
ret
add esi, 4
cmp dword [ebx + 0x30], 0xffffffff
jne 0x10039e4c
cmp dword [ebx + 0x34], 0
jne 0x10039e4c
cmp eax, 8
jb 0x10039e93
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [ebx + 0x30], ecx
add eax, 0xfffffff8
mov dword [ebx + 0x34], edx
cmp dword [ebx + 0x28], 0xffffffff
jne 0x10039e70
cmp dword [ebx + 0x2c], 0
jne 0x10039e70
cmp eax, 8
jb 0x10039e93
mov edx, dword [esi + 4]
xor ecx, ecx
or ecx, dword [esi]
add esi, 8
mov dword [ebx + 0x28], ecx
sub eax, 8
mov dword [ebx + 0x2c], edx
cmp dword [ebx + 0x40], 0xffffffff
jne 0x10039e0f
cmp dword [ebx + 0x44], 0
jne 0x10039e0f
cmp eax, 8
jb 0x10039e93
mov ecx, dword [esi + 4]
xor eax, eax
or eax, dword [esi]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
jmp 0x10039e0f
mov dword [edi + 0x1c], 9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908b3
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x10039eb8
mov dword [ecx + 0x1c], 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.100908b3
mov esp, ebp
pop ebp
ret