Function at 0x100c8da9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov edi, dword [edx + 8]
lea ebx, [edx + 8]
mov dword [esp + 4], ecx
mov esi, edx
mov ecx, ebx
shr edi, 0xd
call fcn.100c82ef
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.100c830e
movzx eax, al
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.100c8302
mov esi, dword [esi]
mov dword [esp + 0x20], eax
mov ebx, 0xe10
xor edx, edx
mov eax, esi
div ebx
mov ebx, eax
push 0x3c
pop ecx
mov eax, esi
xor edx, edx
div ecx
mov esi, edx
xor edx, edx
div ecx
cmp byte [ebp + 8], 0
lea eax, [esp + 0x3c]
je 0x100c8eca
mov ecx, dword [esp + 0x28]
mov word [eax], di
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x20]
mov word [eax + 6], cx
mov word [eax + 8], bx
mov word [eax + 0xa], dx
mov word [eax + 0xc], si
and word [eax + 0xe], 0
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
call sub.KERNEL32.dll_TzSpecificLocalTimeToSystemTime
test eax, eax
je 0x100c8f62
lea esi, [esp + 0x10]
lea edx, [esp + 0x2c]
movzx eax, word [esi]
mov edi, dword [esi + 6]
mov ebx, dword [esi + 2]
movzx ecx, word [esi + 0xe]
mov word [edx], ax
mov dword [edx + 6], edi
mov edi, dword [esi + 0xa]
mov dword [edx + 2], ebx
mov word [edx + 0xe], cx
mov ecx, esi
mov dword [edx + 0xa], edi
call fcn.100c8fd3
cmp dword [esi], 0
jne 0x100c8f58
lea esi, [esp + 0x10]
lea edx, [esp + 0x3c]
mov ebx, dword [esi + 8]
mov ecx, esi
call fcn.100c8fd3
cmp dword [esi], 0
jne 0x100c8f58
mov edi, dword [esp + 0x18]
xor ecx, ecx
sub edi, ebx
lea eax, [edi + 0x1517f]
mov edx, edi
cmp eax, 0x2a2ff
setb cl
push 0x1017034c
jmp 0x100c8fc0
mov ecx, dword [esp + 0x28]
mov word [eax], di
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov word [eax + 4], cx
mov ecx, dword [esp + 0x20]
mov word [eax + 6], cx
mov word [eax + 8], bx
mov word [eax + 0xa], dx
mov word [eax + 0xc], si
and word [eax + 0xe], 0
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
call sub.KERNEL32.dll_SystemTimeToTzSpecificLocalTime
test eax, eax
je 0x100c8f62
lea esi, [esp + 0x10]
movzx eax, word [esi]
mov edx, dword [esi + 6]
mov edi, dword [esi + 2]
movzx ecx, word [esi + 0xe]
mov word [esp + 0x2c], ax
mov dword [esp + 0x32], edx
mov edx, dword [esi + 0xa]
mov dword [esp + 0x2e], edi
mov word [esp + 0x3a], cx
mov ecx, esi
mov dword [esp + 0x36], edx
lea edx, [esp + 0x3c]
call fcn.100c8fd3
cmp dword [esi], 0
jne 0x100c8f58
lea esi, [esp + 0x10]
lea edx, [esp + 0x2c]
mov ebx, dword [esi + 8]
mov ecx, esi
call fcn.100c8fd3
cmp dword [esi], 0
je 0x100c8fa3
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
jmp 0x100c8f72
lea esi, [esp + 0x4c]
mov ecx, esi
call fcn.100c62e4
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov esi, dword [esp + 4]
cmp al, 4
jne 0x100c8f8d
mov dword [esi + 4], edi
mov dword [esi], 1
jmp 0x100c8f90
and dword [esi], 0
lea ecx, [esp + 8]
call fcn.10009c38
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x18]
xor ecx, ecx
sub edi, ebx
lea eax, [edi + 0x1517f]
mov edx, edi
cmp eax, 0x2a2ff
setb cl
push 0x1017033c
call fcn.100c6397
pop ecx
mov dword [esp + 0xc], edi
mov byte [esp + 8], 4
mov al, 4
jmp 0x100c8f7a