joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4144d8
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4146dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.004043cc
mov eax, dword [ebp - 4]
add eax, 0x10
call fcn.004043cc
mov eax, dword [ebp - 4]
add eax, 0x14
call fcn.004043cc
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.004043cc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 0x248], 0xb
lea edx, [ebp - 0x24c]
xor ecx, ecx
mov eax, 0x4146f0
call fcn.0040bc08
mov eax, dword [ebp - 0x10]
call fcn.0040489c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4146bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CreateFileA_1
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x414595
call fcn.0040c1f4
lea eax, [ebp - 0x20]
mov edx, 0xc
call fcn.004067d4
lea eax, [ebp - 0x244]
mov edx, 0x224
call fcn.004067d4
mov dword [ebp - 0x240], 0x224
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x240]
push eax
lea eax, [ebp - 0x244]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_DeviceIoControl
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4145f5
call fcn.0040c1f4
cmp dword [ebp - 0x238], 0
je 0x41461d
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x238]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.004045d4
cmp dword [ebp - 0x234], 0
je 0x414645
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x234]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 0x14]
call fcn.004045d4
cmp dword [ebp - 0x230], 0
je 0x41466d
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x230]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0xc
mov edx, dword [ebp - 0x14]
call fcn.004045d4
cmp dword [ebp - 0x22c], 0
je 0x414695
lea eax, [ebp - 0x244]
mov edx, dword [ebp - 0x22c]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
add eax, 0x14
mov edx, dword [ebp - 0x14]
call fcn.004045d4
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4146c6
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4146be
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x414790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414800
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
mov dl, byte [ebp - 0x105]
call fcn.004045b4
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
mov ecx, 0x414814
call fcn.004046e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414807
lea eax, [ebp - 0x10c]
call fcn.004043cc
ret

Function at 0x414ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040488c
mov eax, dword [ebp - 8]
call fcn.0040488c
xor eax, eax
push ebp
push 0x414b63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b214
test al, al
je 0x414b3c
push 5
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040b758
mov eax, dword [ebp - 0x14]
call fcn.0040489c
push eax
mov eax, dword [ebp - 8]
call fcn.0040489c
push eax
mov eax, dword [ebp - 4]
call fcn.0040489c
push eax
push 0x414b74
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 0x10], eax
mov byte [ebp - 9], 1
jmp 0x414b40
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414b6a
lea eax, [ebp - 0x14]
call fcn.004043cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043f0
ret
Function at 0x414c1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 1], cl
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0040488c
xor eax, eax
push ebp
push 0x414d46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.004043cc
lea eax, [ebp - 0x10]
call fcn.004043cc
mov dl, 1
mov eax, dword [0x406b54]
call fcn.00407d08
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dl, 1
call fcn.00414d54
xor eax, eax
push ebp
push 0x414d19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x414cef
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
call fcn.00407d6c
mov eax, dword [ebp - 0x18]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp al, 7
ja 0x414cbe
and eax, 0x7f
bt dword [ebp - 9], eax
jae 0x414ce7
mov eax, dword [ebp - 0x18]
call fcn.00414e58
test al, al
je 0x414ce7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00414b7c
pop ecx
test al, al
je 0x414ce7
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00404464
jmp 0x414cef
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x414c97
cmp dword [ebp - 0x10], 0
je 0x414d03
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004046e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414d20
mov eax, dword [ebp - 0x1c]
call fcn.00403674
ret

Function at 0x414d54
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x414e4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407eb8
mov eax, pe_nt_image_headers32
call fcn.00402a38
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x414e28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x414e12
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x414e0a
cmp byte [ebp - 5], 0
je 0x414de6
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
add al, 0xbf
sub al, 2
jb 0x414dfe
add al, 0xe2
sub al, 2
jb 0x414dfe
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004045d4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407df4
jmp 0x414dfe
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.004045d4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00407df4
mov eax, dword [ebp - 0x10]
call fcn.0040afec
inc eax
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x414db5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414e2f
mov eax, dword [ebp - 0xc]
call fcn.00402a68
ret
Function at 0x414e58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040488c
xor eax, eax
push ebp
push 0x414ee1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0040469c
dec eax
jne 0x414e99
lea eax, [ebp - 4]
mov edx, 0x414ef8
call fcn.004046a4
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414ee8
lea eax, [ebp - 4]
call fcn.004043cc
ret

Function at 0x414fb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4150cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.004043cc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
call fcn.004043cc
mov al, byte [0x4150d8]
mov byte [ebp - 0x21], al
mov dl, 1
mov eax, dword [0x406b54]
call fcn.00407d08
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dl, 1
call fcn.00414d54
xor eax, eax
push ebp
push 0x4150a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x415080
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
call fcn.00407d6c
mov eax, dword [ebp - 0x20]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp al, 7
ja 0x41505c
and eax, 0x7f
bt dword [ebp - 0x21], eax
jae 0x415078
mov eax, dword [ebp - 0x20]
call fcn.00414e58
test al, al
je 0x415078
push ebp
mov eax, dword [ebp - 0x20]
call fcn.00414efc
pop ecx
test al, al
jne 0x415080
inc dword [ebp - 0x1c]
dec dword [ebp - 0x2c]
jne 0x415035
cmp dword [ebp - 4], 0
je 0x415091
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.00404420
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4150ae
mov eax, dword [ebp - 0x28]
call fcn.00403674
ret
Function at 0x4151cc
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040488c
xor eax, eax
push ebp
push 0x41523b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExA
test eax, eax
jne 0x415219
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp 0x415225
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415242
lea eax, [ebp - 4]
call fcn.004043cc
ret

Function at 0x415688
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040488c
xor eax, eax
push ebp
push 0x4157a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.0040b214
test al, al
je 0x4156f7
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040b758
push dword [ebp - 0x14]
push 0x4157c0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.004149dc
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040475c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040b2ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp word [eax + 0x1a], 0
je 0x415721
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x4157d0
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
jmp 0x415779
lea edx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00415c84
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, 0x4157d0
call fcn.004046e8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040b758
mov eax, dword [ebp - 0x20]
mov dl, 1
call fcn.00414818
mov eax, dword [ebp - 0xc]
call fcn.0040b214
test al, al
je 0x415779
push 0
mov eax, dword [ebp - 4]
call fcn.0040489c
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040489c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 4]
call fcn.0040b214
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4157ae
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.004043f0
lea eax, [ebp - 4]
call fcn.004043cc
ret
Function at 0x415d6c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4160b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004043cc
mov eax, dword [ebp - 0xc]
call fcn.004043cc
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402d3c
cmp dword [ebp - 0x14], 0
je 0x415e03
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
call fcn.004045b4
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov ecx, 0x4160cc
call fcn.004046e8
mov eax, dword [ebp - 0x14]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x415e03
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00404420
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x415e44
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov dl, byte [0x4160d0]
mov eax, 0x4160dc
call fcn.00414c1c
cmp dword [ebp - 0x14], 0
je 0x415e44
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
call fcn.004045b4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, 0x4160cc
call fcn.004046e8
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41608a
mov dl, 1
mov eax, dword [0x412d1c]
call fcn.00413190
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x415ea8
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 0x24]
call fcn.00414198
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00404420
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
setne byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415eaf
mov eax, dword [ebp - 0x24]
call fcn.00403674
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4160b9
lea eax, [ebp - 0x40]
mov edx, 6
call fcn.004043f0
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004043f0
ret
Function at 0x416108
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x416260
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx - 4]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp word [eax + 0x22], 0
jne 0x416153
mov byte [ebp - 5], 0
jmp 0x416245
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp eax, dword [ebp - 4]
jbe 0x416184
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [eax + 0x28], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, 8
mov edx, 0x416278
call fcn.00404420
mov byte [ebp - 5], 0
jmp 0x416245
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp word [eax + 0x22], 0
je 0x416215
mov eax, dword [ebp + 8]
push dword [eax - 8]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, dword [ebp + 8]
mov dword [edx - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 0x10]
je 0x416215
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [ebp + 8]
mov dword [edx - 0x14], eax
mov eax, dword [ebp + 8]
mov byte [eax - 0x15], 1
push 0x416294
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.0040a784
push dword [ebp - 0x10]
push 0x4162c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040475c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
xor edx, edx
mov eax, dword [ebx + 0x24]
call dword [ebx + 0x20]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx - 0x1c], eax
jmp 0x416235
mov eax, dword [0x424e7c]
mov eax, dword [eax]
call fcn.0040f5c4
push 1
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x1c]
cmp eax, 0x64
jb 0x416222
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416267
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004043f0
ret
Function at 0x4167cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4168bc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x406b54]
call fcn.00407d08
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dl, 1
call fcn.00414d54
xor eax, eax
push ebp
push 0x416897
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x416881
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00407d6c
mov eax, dword [ebp - 0x10]
call fcn.00414e58
test al, al
je 0x416879
mov eax, dword [ebp - 0x10]
call fcn.0040489c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x416879
lea eax, [ebp - 0x1c]
mov ecx, 0x4168d4
mov edx, dword [ebp - 0x10]
call fcn.004046e8
mov eax, dword [ebp - 0x1c]
call fcn.0040b214
test al, al
je 0x416879
inc dword [ebp - 8]
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x41682d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41689e
mov eax, dword [ebp - 0xc]
call fcn.00403674
ret
Function at 0x418040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41813d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x425660]
call fcn.0040b49c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040b714
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404b64
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00404664
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00417fa4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00404b64
mov eax, dword [ebp - 4]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404a10
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404a10
mov eax, dword [ebp - 4]
add eax, 0x24
call fcn.00404a10
mov eax, dword [ebp - 4]
mov byte [eax + 0x3c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], 0x7d000000
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0x20000
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 2
mov eax, dword [0x4245b8]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [0x4245bc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418144
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004043f0
lea eax, [ebp - 0xc]
call fcn.004043cc
lea eax, [ebp - 8]
call fcn.004043cc
ret

Function at 0x4186dc
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x20000005
mov eax, dword [ebp - 4]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ebp - 0x10], 0x10
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x4000000b
mov eax, dword [ebp - 4]
push eax
call sub.Winhttp.dll_WinHttpQueryHeaders
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x418763
lea eax, [ebp - 0x28]
call fcn.0040bb28
mov eax, dword [ebp - 0xc]
fstp qword [eax]
wait
mov esp, ebp
pop ebp
ret
Function at 0x42065c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jb 0x4206b8
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
and edx, 0xff
xor eax, edx
mov eax, dword [eax*4 + 0x424a4c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
shr edx, 8
xor eax, edx
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x420684
mov esp, ebp
pop ebp
ret