Function at 0x41ea00
Capabilities:
Create mailslot
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov dword [ebp - 0xc], 0x178f7
mov dword [ebp - 0x28], 0xb746
mov dword [ebp - 0x24], 0x4b71
mov dword [ebp - 4], 0x255b
mov dword [ebp - 0x94], 0xa639
mov dword [ebp - 0x30], 0x139d1
mov dword [ebp - 0x50], 0x10587
mov dword [ebp - 0x48], 0x1664
mov dword [ebp - 0x3c], 0xd4d
mov dword [ebp - 0x14], 0x62fe
mov dword [ebp - 0x54], 0x187
mov dword [ebp - 0x18], 0x121ca
mov dword [ebp - 8], 0x55cf
mov dword [ebp - 0x1c], 0xcb46
mov dword [ebp - 0x38], 0x13912
mov dword [ebp - 0x68], 0xca72
mov dword [ebp - 0x44], 0x60e1
mov dword [ebp - 0x40], 0x15a6
mov dword [ebp - 0x10], 0x14e3e
mov dword [ebp - 0x2c], 0x12a76
mov dword [ebp - 0x20], 0x33c8
mov dword [ebp - 0x34], 0x13965
mov dword [ebp - 0x58], 0x1f36
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x4c], 0
jmp 0x41eac8
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp + 0x14]
sub edx, 0xeb5e
cmp dword [ebp - 0x4c], edx
jge 0x41f036
mov eax, dword [ebp - 4]
and eax, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x34]
jge 0x41eaee
mov dword [ebp - 0x60], 1
jmp 0x41eaf5
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x41eb06
mov dword [ebp - 0x64], 1
jmp 0x41eb0d
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0xc]
or eax, dword [ebp - 0x60]
or eax, dword [ebp - 0x64]
je 0x41f031
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x20]
jge 0x41f031
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 8]
jne 0x41f031
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jne 0x41f031
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 8]
jne 0x41f031
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x3c]
jne 0x41f031
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp + 0x18]
add edx, 1
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jge 0x41eb9a
mov dword [ebp - 0x6c], 1
jmp 0x41eba1
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp - 0x68]
and ecx, dword [ebp - 0x24]
or ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x6c]
je 0x41f031
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x20]
jne 0x41f031
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jne 0x41f031
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0x50]
jne 0x41f031
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x18]
jne 0x41f031
push 0x483a
push 0x5a95
push 0x1714
push 0x4a7d
push 0x1bd0
push 0x107e4
push 0x16bbf
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
add esp, 0x1c
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 8]
jge 0x41f023
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x54]
jge 0x41ec38
mov dword [ebp - 0x70], 1
jmp 0x41ec3f
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0xc]
jge 0x41ec53
mov dword [ebp - 0x74], 1
jmp 0x41ec5a
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp + 0x18]
and ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x74]
je 0x41f023
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x14]
jne 0x41f023
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x18]
jne 0x41f023
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp + 0xc]
jne 0x41f023
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x48]
jne 0x41f023
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jne 0x41f023
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa8]
jge 0x41ecdd
mov dword [ebp - 0x78], 1
jmp 0x41ece4
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x58]
jge 0x41ecf5
mov dword [ebp - 0x7c], 1
jmp 0x41ecfc
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x7c]
je 0x41f023
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 8]
jne 0x41f023
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 4]
jne 0x41f023
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x54]
jne 0x41f023
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 8]
jne 0x41f023
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x50]
jne 0x41f023
push 0x15a46
push 0x15e84
push 0x98a6
push 0x7a08
push 0x58ec
call dword [sym.imp.KERNEL32.dll_GetDevicePowerState]
add esp, 0x14
mov eax, dword [ebp + 0x18]
add eax, 1
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x18]
and ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jge 0x41ed86
mov dword [ebp - 0x88], 1
jmp 0x41ed90
mov dword [ebp - 0x88], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xb0]
jge 0x41edc2
mov dword [ebp - 0x80], 1
jmp 0x41edc9
mov dword [ebp - 0x80], 0
mov eax, dword [ebp - 8]
or eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x1c]
jge 0x41ede0
mov dword [ebp - 0x84], 1
jmp 0x41edea
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x80]
and ecx, dword [ebp - 0x84]
or ecx, dword [ebp - 0x88]
je 0x41eff7
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x28]
jne 0x41eff7
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x50]
jne 0x41eff7
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x20]
jge 0x41ee2b
mov dword [ebp - 0x8c], 1
jmp 0x41ee35
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x44]
jge 0x41ee49
mov dword [ebp - 0x90], 1
jmp 0x41ee53
mov dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x8c]
and eax, dword [ebp - 0x90]
je 0x41eff7
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x24]
jne 0x41eff7
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0xc]
jne 0x41eff7
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x3c]
jne 0x41eff7
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x54]
jne 0x41eff7
push 0x906f
push 0xab7d
push 0x1821a
push 0x483f
push 0x35c0
call dword [sym.imp.KERNEL32.dll_WerGetFlags]
add esp, 0x14
mov edx, dword [ebp - 0x20]
xor edx, dword [ebp - 4]
je 0x41efcb
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
or ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
imul edx, dword [ebp - 0x24]
or ecx, edx
je 0x41efcb
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x14]
jne 0x41efcb
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x28]
jne 0x41efcb
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 0x14]
jne 0x41efcb
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
jne 0x41efcb
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0xc]
jne 0x41efcb
push 0xf4ea
push 0xaa55
push 0x7c3b
push 0xfa7a
push 0xc3cd
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
add esp, 0x14
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x48]
jge 0x41ef59
mov dword [ebp - 0x98], 1
jmp 0x41ef63
mov dword [ebp - 0x98], 0
mov eax, dword [ebp + 8]
xor eax, dword [ebp - 0x14]
and eax, dword [ebp - 8]
xor eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x98]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
cmp dword [ebp - 0xb4], 0
je 0x41efcb
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x3c]
jne 0x41efcb
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x41efcb
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 4]
jne 0x41efcb
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
push 0x785a
push 0xfad7
push 0x41e6
push 0x180b0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
add esp, 0x10
push 0x1129d
push 0x16e8c
push 0x36a5
push 0xf021
push 0x17167
push 0xadf9
push 0xab97
call dword [sym.imp.KERNEL32.dll_GetSystemPreferredUILanguages]
add esp, 0x1c
push 0x6ec1
push 0x1154e
push 0x16097
push 0x1f6a
push 0x6ff6
push 0x129b
push 0xa7f
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
add esp, 0x1c
push 0xa9b9
call dword [sym.imp.KERNEL32.dll__lclose]
add esp, 4
jmp 0x41eabf
mov dword [ebp - 0x5c], 0
jmp 0x41f048
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 0xb745
cmp dword [ebp - 0x5c], ecx
jge 0x41f061
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
jmp 0x41f03f
mov esp, ebp
pop ebp
ret