joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c004]
jne 0x40100a
repz ret
jmp fcn.004017a7

Function at 0x408585
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404264
and dword [ebp - 4], 0
cmp dword [0x41e188], 0
mov ebx, eax
jne 0x408636
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086e7
push eax
call fcn.004041f2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e188], eax
call esi
push eax
call fcn.004041f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e18c], eax
call esi
push eax
call fcn.004041f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41e190], eax
call esi
push eax
call fcn.004041f2
pop ecx
mov dword [0x41e198], eax
test eax, eax
je 0x408636
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004041f2
pop ecx
mov dword [0x41e194], eax
mov eax, dword [0x41e194]
cmp eax, ebx
je 0x40868e
cmp dword [0x41e198], ebx
je 0x40868e
push eax
call fcn.0040426d
push dword [0x41e198]
mov esi, eax
call fcn.0040426d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40868e
test edi, edi
je 0x40868e
call esi
test eax, eax
je 0x408685
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408685
test byte [ebp - 0xc], 1
jne 0x40868e
or dword [ebp + 0x10], 0x200000
jmp 0x4086c7
mov eax, dword [0x41e18c]
cmp eax, ebx
je 0x4086c7
push eax
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086c7
mov eax, dword [0x41e190]
cmp eax, ebx
je 0x4086c7
push eax
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e188]
call fcn.0040426d
pop ecx
test eax, eax
je 0x4086e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406e3b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4278a4], 0
jne 0x406e79
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406e4f
mov dword [ecx*4 + 0x4278a0], eax
inc ecx
cmp ecx, 0x100
jl 0x406e4a
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406ea6
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4278a0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406e87
not eax
pop ebp
ret 0xc

Function at 0x1ed5e70
Capabilities:
Encode data using base64

Disassembly:
add cl, cl
push esi
mov esi, ecx
lea esi, [esi + ecx*4 + 0x36c913cf]
lea esi, [esi*8 + 0x1c76116e]
mov ecx, dword [esp + 8]
or esi, esi
call fcn.01da65c3
Function at 0x9de210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9de25c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9de222
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9de2c0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9de312
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9de318
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f6815
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f64d5

Function at 0x9fb60f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009fb48e

Function at 0xa00bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa00bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa00bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x588218ec
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7d072930
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
mov ecx, 0x470f24cc
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2ba34a0f
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0xe37058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e371a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe3707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3706a
add dl, dl
jne 0xe37089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe370dc
xor eax, eax
add dl, dl
jne 0xe37096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3717d
add dl, dl
jne 0xe370a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe370b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe370bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe370c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe370d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe37075
mov eax, 1
add dl, dl
jne 0xe370ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe370f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe370e1
sub eax, ebx
mov ebx, 1
jne 0xe37128
mov ecx, 1
add dl, dl
jne 0xe3710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe37119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe37105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe37075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe3713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe3714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe37136
cmp eax, 0x7d00
jae 0xe3716d
cmp eax, 0x500
jb 0xe37168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe37075
cmp eax, 0x7f
ja 0xe37170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe37075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe3719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe37075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4127af
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x42ada8
push 1
push 0
push 0x42ae78
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.ROOTCIMV2
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push dword [ebp - 0x1c]
call dword [eax + 0xc]
test eax, eax
jl 0x41297e
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.Select__From_Win32_OperatingSystem
lea eax, [ebp - 0x24]
push eax
push 0
push 0x20
push dword [ebp - 0x20]
push 0x429328
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x50]
test eax, eax
jl 0x41296a
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x412968
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
jne 0x4128bd
jmp 0x412968
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea eax, [ebp - 0x58]
push eax
push 0
push str.InstallDate
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x10]
push 1
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.004126a3
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push 0
call dword [0x641870]
push eax
call dword [0x641800]
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
movzx eax, word [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0x3a]
push eax
movzx eax, word [ebp - 0x36]
push eax
push 0x4292fc
push dword [ebp - 0x5c]
call dword [0x641680]
add esp, 0x20
push dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
call fcn.00411668
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x41297c
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x412990
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x4129b0
jmp 0x41299c
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4129bf
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424992
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x42ada8
push 1
push 0
push 0x42ae78
call dword [sym.imp.ole32.dll_CoCreateInstance]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.rootSecurityCenter2
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push dword [ebp - 0x1c]
call dword [eax + 0xc]
test eax, eax
jl 0x412b22
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], str.Select__From_AntiVirusProduct
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x20
push dword [ebp - 0x20]
push 0x429328
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x50]
test eax, eax
jl 0x412b0e
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x24], 0
je 0x412b0c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
jne 0x412ac2
jmp 0x412b0c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push 0
push str.displayName
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x10]
push dword [ebp - 0x38]
call fcn.00412ef6
pop ecx
push eax
mov ecx, dword [ebp + 8]
call fcn.00411668
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b20
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b34
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
jmp 0x412b54
jmp 0x412b40
or dword [ebp - 4], 0xffffffff
push str.Unknown
mov ecx, dword [ebp + 8]
call fcn.00411668
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413878
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x425200
mov eax, 0x414
mov word [ebp - 0x10], ax
and dword [ebp - 0xe], 0
and dword [ebp - 0xa], 0
mov dword [ebp - 6], 0x425200
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret
Function at 0x416b15
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
and dword [ebp - 4], 0
and dword [ebp - 0x74], 0
and dword [ebp - 0x78], 0
push 0
push str._DRIVE_FIXED_
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
call dword [0x64179c]
test eax, eax
je 0x416b4b
mov dword [ebp - 4], 1
push 0
push str._DRIVE_REMOVABLE_
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
call dword [0x64179c]
test eax, eax
je 0x416b73
mov dword [ebp - 4], 1
mov dword [ebp - 0x74], 1
cmp dword [ebp - 4], 0
je 0x416cf3
lea eax, [ebp - 0x70]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x80], eax
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x88], eax
jmp 0x416bba
push dword [ebp - 0x88]
call dword [0x641724]
mov ecx, dword [ebp - 0x88]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movsx eax, byte [eax]
test eax, eax
je 0x416cf1
push 0x3e8
push 0
lea eax, [ebp - 0x470]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x478], eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x74], 0
je 0x416c4e
cmp dword [ebp - 0x474], 2
jne 0x416c4e
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push dword [ebp - 0x478]
push 0x429744
lea eax, [ebp - 0x470]
push eax
call fcn.004133a2
add esp, 0xc
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
jmp 0x416c8c
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push dword [ebp - 0x478]
push 0x429734
lea eax, [ebp - 0x470]
push eax
call fcn.004133a2
add esp, 0xc
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x6418b8]
push 0
push dword [ebp + 0xa0]
push dword [ebp - 4]
push dword [ebp + 0x98]
push dword [ebp - 0x78]
push dword [ebp + 0x94]
lea ecx, [ebp + 0x88]
call fcn.0041193a
push eax
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp + 0x70]
call fcn.0041193a
push eax
push 0x425200
lea ecx, [ebp + 0xa4]
call fcn.0041193a
push eax
sub esp, 0x68
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040134c
call fcn.004165f0
add esp, 0x94
jmp 0x416b9e
jmp 0x416d55
push 0
push dword [ebp + 0xa0]
push dword [ebp - 4]
push dword [ebp + 0x98]
push dword [ebp - 0x78]
push dword [ebp + 0x94]
lea ecx, [ebp + 0x88]
call fcn.0041193a
push eax
lea ecx, [ebp + 0x7c]
call fcn.0041193a
push eax
lea ecx, [ebp + 0x70]
call fcn.0041193a
push eax
push 0x425200
lea ecx, [ebp + 0xa4]
call fcn.0041193a
push eax
sub esp, 0x68
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.0040134c
call fcn.004165f0
add esp, 0x94
mov eax, dword [ebp + 0xb0]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp + 0x68]
jbe 0x416d7a
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00416d8c
jmp 0x416d8a
lea ecx, [ebp + 8]
call fcn.0040131a
lea ecx, [ebp + 0x70]
call fcn.00416d8c
leave
ret
Function at 0x418ee2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x48]
call fcn.00419000
mov eax, dword [0x64161c]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x418f08
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x48], eax
jmp 0x418f0e
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041177a
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x10], eax
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041177a
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041177a
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041177a
xor eax, eax
inc eax
je 0x418fd6
cmp dword [0x64161c], 2
jae 0x418fc9
mov eax, dword [0x64161c]
inc eax
mov dword [0x64161c], eax
cmp dword [0x641618], 0
je 0x418f9d
push dword [ebp + 0x84]
push dword [ebp + 0x80]
lea ecx, [ebp + 0x74]
call fcn.0041193a
push eax
push dword [0x641620]
call fcn.0042186d
add esp, 0x10
push 0
push 0
lea eax, [ebp - 0x48]
push eax
push 0x418d8e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x4c], eax
push 0x3e8
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x418fd6
push 0x3e8
call dword [0x641698]
jmp 0x418f58
push 0x425200
mov ecx, dword [ebp + 8]
call fcn.00411668
lea ecx, [ebp - 0x48]
call fcn.00419038
lea ecx, [ebp + 0xc]
call fcn.0040131a
lea ecx, [ebp + 0x74]
call fcn.00411701
mov eax, dword [ebp + 8]
leave
ret