Function at 0x40ad10
Capabilities:
Get hostname
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov dword [ebp - 4], 0xe42
mov dword [ebp - 0x60], 0xc3a0
mov dword [ebp - 0x18], 0x213d
mov dword [ebp - 0x50], 0x9db0
mov dword [ebp - 0x1c], 0x2daf
mov dword [ebp - 0x14], 0x7e26
mov dword [ebp - 0x30], 0x1667e
mov dword [ebp - 0x48], 0x183ae
mov dword [ebp - 0x3c], 0x1dea
mov dword [ebp - 0xd0], 0x111eb
mov dword [ebp - 0x38], 0x15c62
mov dword [ebp - 0x44], 0x1455d
mov dword [ebp - 0x4c], 0x183ba
mov dword [ebp - 8], 0x7f3d
mov dword [ebp - 0xc4], 0x15119
mov dword [ebp - 0x20], 0x3de0
mov dword [ebp - 0x28], 0x637d
mov dword [ebp - 0x2c], 0x4176
mov dword [ebp - 0xc0], 0xb1ad
mov dword [ebp - 0x24], 0xb4ed
mov dword [ebp - 0x10], 0x899a
mov dword [ebp - 0xc], 0xe86d
mov dword [ebp - 0x40], 0x11c1b
mov dword [ebp - 0x84], 0x1311e
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x1c]
jge 0x40adde
mov dword [ebp - 0x54], 1
jmp 0x40ade5
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jge 0x40adf6
mov dword [ebp - 0x58], 1
jmp 0x40adfd
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xa4]
jge 0x40ae38
mov dword [ebp - 0x5c], 1
jmp 0x40ae3f
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x30]
and ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
and edx, dword [ebp - 0x5c]
or ecx, edx
je 0x40aeb0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x30]
je 0x40aeb0
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0x20]
jne 0x40aeb0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x28]
jne 0x40aeb0
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x3c]
jne 0x40aeb0
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 8]
jne 0x40aeb0
push 0x1496
push 0x8395
push 0xe659
push 0x102fe
push 0xc09f
push 0x6c55
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
add esp, 0x18
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 0x31d
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x3062
push edx
mov eax, dword [ebp + 0x10]
add eax, 0x8799
push eax
call fcn.00408d60
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x40aee7
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x60]
sub edx, 0xc39f
cmp dword [ebp - 0x34], edx
jge 0x40b1c8
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 8]
jge 0x40af0a
mov dword [ebp - 0x64], 1
jmp 0x40af11
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x1c]
jge 0x40af22
mov dword [ebp - 0x68], 1
jmp 0x40af29
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 4]
and eax, dword [ebp - 0x64]
and eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0xa8], 0
je 0x40b1c3
mov edx, dword [ebp + 0x24]
cmp edx, dword [ebp + 0x14]
jge 0x40af6e
mov dword [ebp - 0x6c], 1
jmp 0x40af75
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp + 8]
or ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
cmp dword [ebp - 0xac], 0
je 0x40b1c3
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x1c]
cmp eax, dword [ebp - 0x14]
jge 0x40b1c3
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
jne 0x40b1c3
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x48]
jne 0x40b1c3
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x50]
jge 0x40afdc
mov dword [ebp - 0x78], 1
jmp 0x40afe3
mov dword [ebp - 0x78], 0
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x28]
jge 0x40aff4
mov dword [ebp - 0x70], 1
jmp 0x40affb
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jge 0x40b00c
mov dword [ebp - 0x74], 1
jmp 0x40b013
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x70]
and eax, dword [ebp - 0x74]
or eax, dword [ebp - 0x78]
je 0x40b1c3
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp - 0xb4]
jge 0x40b054
mov dword [ebp - 0x7c], 1
jmp 0x40b05b
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 0x14]
add ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp - 0xb8]
cmp edx, dword [ebp - 0xbc]
jge 0x40b08d
mov dword [ebp - 0x80], 1
jmp 0x40b094
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x7c]
and eax, dword [ebp - 0x80]
je 0x40b1c3
mov ecx, dword [ebp + 0x24]
cmp ecx, dword [ebp + 0xc]
jne 0x40b1c3
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x2c]
jne 0x40b1c3
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 0x20]
jne 0x40b1c3
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x1c]
jne 0x40b1c3
call dword [sym.imp.KERNEL32.dll_PrepareTape]
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x84]
jge 0x40b0f0
mov dword [ebp - 0x8c], 1
jmp 0x40b0fa
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x40b10e
mov dword [ebp - 0x88], 1
jmp 0x40b118
mov dword [ebp - 0x88], 0
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x84]
and edx, dword [ebp - 0x88]
or edx, dword [ebp - 0x8c]
je 0x40b192
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x44]
jne 0x40b192
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x1c]
jne 0x40b192
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0xc]
jne 0x40b192
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xc]
jne 0x40b192
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x10]
jne 0x40b192
push 0x1787
push 0x2536
push 0x4bdc
push 0x162bc
push 0x166dd
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x14
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
push 0x14e47
push 0x14938
push 0x10b62
push 0x12eae
push 0xd8d6
push 0x17c1
push 0x17f25
push 0xa06
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 0x20
jmp 0x40aede
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jge 0x40b34b
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0xc]
jne 0x40b34b
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x2c]
jne 0x40b34b
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x40b34b
push 0x16c7b
push 0x19d7
push 0x10ae1
push 0xea6f
push 0x2d9d
push 0x7181
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
add esp, 0x18
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jge 0x40b23c
mov dword [ebp - 0x90], 1
jmp 0x40b246
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x90]
je 0x40b34b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xcc]
jge 0x40b34b
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x40]
jne 0x40b34b
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x28]
jne 0x40b34b
mov ecx, dword [ebp + 0x24]
sub ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp + 8]
jge 0x40b2b1
mov dword [ebp - 0x9c], 1
jmp 0x40b2bb
mov dword [ebp - 0x9c], 0
mov edx, dword [ebp - 0x44]
add edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x48]
jge 0x40b2d2
mov dword [ebp - 0x94], 1
jmp 0x40b2dc
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jge 0x40b2f0
mov dword [ebp - 0x98], 1
jmp 0x40b2fa
mov dword [ebp - 0x98], 0
mov ecx, dword [ebp - 0x94]
and ecx, dword [ebp - 0x98]
or ecx, dword [ebp - 0x9c]
je 0x40b345
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x10]
jne 0x40b345
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x40b345
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp + 0x14]
jne 0x40b345
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x50]
jne 0x40b345
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
jne 0x40b345
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esp, ebp
pop ebp
ret