joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fcd2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 8]
test eax, eax
je 0x43fdb1
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43fd3b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 0x219e
push dword [ebp - 0x18]
push 1
call fcn.0043fdca
add esp, 0x10
jmp 0x43fdaf
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43fda9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.00430996
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x50]
call fcn.00430996
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x43fdaf
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x43fdc6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
push 0
push dword [ebp - 0x54]
push 1
call fcn.00445f75
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x4422f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4423b8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x442333
push 1
call fcn.004423d8
pop ecx
jmp 0x4423b6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x44239c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x44236b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x16
jg 0x44239a
mov dword [ebp - 0x20], 0xac7eb236
lea eax, [ebp - 0x20]
push eax
push 7
push 0x5dd1
push 1
push 0
push 0x1753
push 1
call fcn.004444cf
add esp, 0x1c
jmp 0x442360
jmp 0x4423b6
push 0x518
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4423d4
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
call fcn.0043e783
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x445f97
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44603b
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44601f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x44600c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44600a
push 1
push 0x618b
push 0x25b4
push 0x46dc
push 1
push 0x16e7
push 0x1125
push 1
push 1
call fcn.0043a149
add esp, 0x24
jmp 0x44601d
push 0
push 0x1707
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x446039
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
push 0x4669
push 0
push dword [ebp - 0x18]
call fcn.00448097
add esp, 0x10
jmp 0x446057
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0044ca1f
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x45066e
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4506d2
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x45069c
push 1
call fcn.00450712
pop ecx
jmp 0x4506d0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4506b8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x4506d0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4506d0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
jmp 0x45070e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0x7b6a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0
push dword [ebp - 0x1c]
push 0x106f
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
push eax
call fcn.0043fca9
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x452d0b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x452e60
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x452de2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x452d86
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x452de0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x452de0
push 0x5f7a
push 0x5d2
push 0x7b13
push 0x188c
push 0x210a
push 0
push 1
push 0x31b
push 0x5ef9
push 1
push 0x4386
push 1
push 0x4206
push 0x7c40
push 0
push 0x7045
push 0x3bf8
call fcn.0044fb03
add esp, 0x44
jmp 0x452e5e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x452e30
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x452e2e
push 0x1804
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x452e5e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
push dword [eax + 0x18]
push 0
call fcn.00432531
pop ecx
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
jmp 0x452ebf
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x452ea0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x68]
push 1
push dword [ebp - 0x6c]
call fcn.0043f0a5
add esp, 0xc
jmp 0x452ebf
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x74]
push 0x3a73
push 0
push 0x751e
push 1
call fcn.0043aabb
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x453e79
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x453eba
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x24]
push 0x3331
push dword [ebp - 0x28]
push 1
call fcn.00453fea
add esp, 0x14
jmp 0x453fe6
lea eax, [ebp + 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x453fd5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x453fc9
mov dword [ebp - 4], 0
mov dword [ebp - 8], 2
mov dword [ebp - 0xc], 0x51af7f3
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x40], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
je 0x453f28
cmp dword [ebp - 8], 0
je 0x453f28
mov dword [ebp - 0x10], 1
jmp 0x453f2c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jl 0x453f40
mov dword [ebp - 0x14], 1
jmp 0x453f44
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jl 0x453f55
mov dword [ebp - 0x18], 1
jmp 0x453f59
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
jl 0x453f6a
mov dword [ebp - 0x1c], 1
jmp 0x453f6e
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 5
jae 0x453f7d
mov dword [ebp - 0x38], 1
jmp 0x453f81
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
push 0
push 0x1ff6
push 0x7eb1
push 0
push 0x7407
push 1
push 0x24f1
push 0x1c25
push 1
push 0x42ce
call fcn.004439f0
add esp, 0x28
jmp 0x453fd3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x453fe6
push 0
push 0x5a64
push 0
call fcn.004397bd
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x465688
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], ebx
call fcn.004308a8
xor edx, edx
mov dword [ebp - 8], ebx
inc edx
jmp 0x4656b4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x10], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x4656aa
mov dword [ebp - 8], ebx
jmp 0x4656cc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x4656be
mov dword [ebp - 8], ebx
jmp 0x4656e7
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov dword [eax + ecx*4], 0x3afc
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x4656d7
mov dword [ebp - 0x14], ebx
jmp 0x465700
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x10], 0x7730f94f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x4656f2
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x28]
sub ecx, dword [eax]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, esi
setne al
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebp - 0x1c]
setg cl
xor edx, edx
cmp ecx, esi
lea ecx, [ebp - 0x28]
setle dl
sub edx, esi
imul eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
call fcn.0043097a
push 0x3e8b
push edi
push 1
push 1
push 0x2364
push 1
push 0x408
call fcn.00458b6c
mov dword [ebp - 8], 0xfffffffa
add esp, 0x1c
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x46577c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 8], ebx
jmp 0x4657a2
mov dword [ebp - 0xc], 0xe17ca002
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x46579a
push ebx
push 5
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
cmp dword [ebp - 0xc], ebx
jne 0x4657a8
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff2
jl 0x465781
push edi
call fcn.0042c55c
mov dword [ebp - 8], 0xffffffff
mov esi, eax
pop ecx
mov dword [ebp - 8], ebx
jmp 0x4657cb
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x38], 2
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x4657bd
mov dword [ebp - 8], 0xffffffe2
jmp 0x465803
mov dword [ebp - 0xc], 1
mov dword [ebp - 0xc], ebx
jmp 0x4657fa
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x4657f7
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffffb
jge 0x4657e6
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jg 0x4657da
mov dword [ebp - 8], 0xfffffff9
jmp 0x465821
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 5
jge 0x465811
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48803d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x49606f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00485ee4
mov dword [ebp - 0x14], eax
cmp dword [0xaa39b0], esi
jne 0x496162
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4960ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x496242
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x496242
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x496242
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaa39b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaa39b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaa39b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa39c0], eax
test eax, eax
je 0x49615f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaa39bc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x496187
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x49617a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x49619c
push 4
pop eax
jmp 0x496244
cmp dword [ebp - 0x14], esi
je 0x49619c
push dword [0xaa39b0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x496181
mov eax, dword [0xaa39bc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4961fa
cmp dword [0xaa39c0], edi
je 0x4961fa
push eax
call ebx
push dword [0xaa39c0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4961fa
test eax, eax
je 0x4961fa
call ecx
test eax, eax
je 0x4961ef
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4961ef
test byte [ebp - 8], 1
jne 0x4961fa
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x49622a
mov eax, dword [0xaa39b4]
cmp eax, edi
je 0x496227
push eax
call ebx
test eax, eax
je 0x496227
call eax
mov esi, eax
test esi, esi
je 0x496227
mov eax, dword [0xaa39b8]
cmp eax, edi
je 0x496227
push eax
call ebx
test eax, eax
je 0x496227
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaa39b0]
call ebx
test eax, eax
je 0x496242
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x496244
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048538b
mov esp, ebp
pop ebp
ret
Function at 0x1000f0ef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100ac06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x1000f114
xor eax, eax
jmp 0x1000f170
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000f141
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x1000f141
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x1000f1f5
cmp dword [edi + 0x4c], 0
je 0x1000f16a
mov ecx, edi
call fcn.1000ed69
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1000f180
push dword [edi + 0x4c]
push ebx
call fcn.1000e88a
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x1000f16f
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100108b6
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x100891c8]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x1000f16a
cmp eax, 1
jle 0x1000f1c8
cmp eax, 3
jne 0x1000f16a
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1000f15c
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x1000f1e5
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.1001c33a
add esp, 0x10
cmp esi, eax
jne 0x1000f16a
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x1000f16a
mov ax, bx
jmp 0x1000f16f

Function at 0x10024488
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002414b

Function at 0x10024493
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100242cc
Function at 0x402203
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004023b3
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402301
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4022a4
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4022e7
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4022bb
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4022d6
test al, 0x40
je 0x4022cd
mov ecx, dword [edi + 0x20]
jmp 0x4022d4
test al, 0x80
je 0x4022e7
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4022e7
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x402273
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4421b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x65e998]
xor edx, edx
cmp eax, edx
jne 0x4421d6
xor eax, eax
mov byte [eax + 0x65e898], al
inc eax
cmp eax, 0x100
jl 0x4421be
mov dword [0x65e998], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x65e898
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x442267
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x44223a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x442208
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4422e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x442333
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x44231a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret