Function at 0x40102d
Capabilities:
Access the windows event log
Get disk information
Query or enumerate registry key
Read .ini file

Disassembly:
jmp 0x401200
mov eax, 0x183c
call fcn.00404110
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
push 0x436554
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x4685e0
mov dl, 0x63
mov cl, 0x6c
push eax
mov dword [0x469fc0], eax
mov byte [0x4685e9], dl
mov dword [0x4685e0], 0x61636f4c
mov dword [0x4685e5], 0x6f6c6c41
mov byte [0x4685e4], cl
mov byte [0x4685ea], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x469fb4], eax
mov ecx, dword [esi]
push ecx
push 0
call eax
mov edx, dword [esp + 0x14]
xor esi, esi
xor edi, edi
mov ebp, eax
cmp dword [edx], esi
jbe 0x40141c
nop
xor ecx, ecx
mov dword [0x4684a4], ecx
mov eax, dword [ebx]
movzx edx, byte [eax + edi]
mov byte [esp + 0x12], dl
movzx edx, byte [eax + edi + 1]
mov al, byte [eax + edi + 2]
mov byte [esp + 0x11], dl
mov byte [esp + 0x13], al
mov dword [esp + 0x1c], ecx
sub dword [esp + 0x1c], 0x789ec46a
cmp dword [0x469fc4], 0xb1
mov ecx, dword [esp + 0x1c]
mov dword [0x4685d8], ecx
mov edx, dword [ebx]
mov bl, byte [edx + edi + 3]
jne 0x4012dd
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov dl, bl
and dl, 0xf0
mov al, bl
add dl, dl
and al, 0xfc
add dl, dl
or byte [esp + 0x12], dl
shl al, 4
or byte [esp + 0x11], al
cmp dword [0x469fc4], 0x2c5
mov dword [0x43fcc8], 0xa810d550
jne 0x401330
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp dword [0x469fc4], 0x6ac
jne 0x401354
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
xor eax, eax
shl bl, 6
cmp dword [0x469fc4], 0x30d
mov dword [0x4684a8], eax
mov dword [0x4684ac], eax
jne 0x4013ab
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x860]
push edx
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x30]
push eax
push 0
lea ecx, [esp + 0x1054]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov dl, byte [esp + 0x12]
mov al, byte [esp + 0x11]
mov byte [esi + ebp], dl
and bl, 0xc0
or byte [esp + 0x13], bl
mov byte [esi + ebp + 1], al
cmp dword [0x469fc4], 0x708
mov dword [0x469fb8], 0xcef226d6
mov dword [0x469fbc], 0xffffffff
jne 0x4013fe
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x58]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov byte [esi + ebp + 2], cl
add edi, 4
add esi, 3
cmp edi, dword [edx]
jb 0x401280
cmp dword [0x469fc4], 0xdd1
jne 0x401463
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0
push 0
lea eax, [esp + 0x1054]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebx], ebp
cmp dword [0x469fc4], 0x691
jne 0x4014a1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
push 0
lea ecx, [esp + 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionA]
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
add esp, 0x183c
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x183c
ret