joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d769
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482e30]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d7ac
cmp word [esi], dx
jne 0x41d7ac
or byte [edi + eax + 0x28], 4
jmp 0x41d7b1
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d904
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d8e4
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d7f3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d829
cmp eax, edx
jae 0x41d835
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d7cb
jmp 0x41d904
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d8e0
cmp dword [ebp - 0x14], 0
je 0x41d8e0
mov eax, dword [ebx*4 + 0x482e30]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d8b8
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d881
mov word [esi], cx
jmp 0x41d8b4
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482e30]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482e30]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482e30]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d904
pop ebx
cmp word [ebp - 4], bx
jne 0x41d8c9
cmp esi, dword [ebp + 0xc]
jne 0x41d8c9
mov word [esi], bx
jmp 0x41d901
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041e19d
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d904
push 0xd
jmp 0x41d8fd
mov ecx, dword [ebx*4 + 0x482e30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d8fb
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d904
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x456d00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x456d27
call fcn.0045729b
mov dword [eax], esi
call fcn.00457288
push 0x16
pop esi
mov dword [eax], esi
call fcn.0045fe5b
mov eax, esi
jmp 0x456d7c
test dword [ebp + 0xc], 0xfffffff9
jne 0x456d0d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x456d54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004572ae
pop ecx
call fcn.00457288
mov eax, dword [eax]
jmp 0x456d7c
test al, 0x10
jne 0x456d7a
test al, 1
je 0x456d7a
test byte [ebp + 0xc], 2
je 0x456d7a
call fcn.0045729b
mov dword [eax], 5
call fcn.00457288
mov dword [eax], 0xd
jmp 0x456d4b
xor eax, eax
pop esi
pop ebp
ret

Function at 0x46c45d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4934c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045e25e
and dword [ebp - 0x14], 0
cmp dword [0x49618c], 0
mov dword [ebp - 0x18], eax
jne 0x46c510
push 0x47ba78
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x46c5b8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47ba6c
push ebx
call edi
test eax, eax
je 0x46c5b8
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x47ba5c
push ebx
mov dword [0x49618c], eax
call edi
push eax
call esi
push 0x47ba48
push ebx
mov dword [0x496190], eax
call edi
push eax
call esi
push 0x47ba2c
push ebx
mov dword [0x496194], eax
call edi
push eax
call esi
mov dword [0x49619c], eax
test eax, eax
je 0x46c510
push 0x47ba14
push ebx
call edi
push eax
call esi
mov dword [0x496198], eax
mov eax, dword [0x496198]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x46c569
cmp dword [0x49619c], ecx
je 0x46c569
push eax
call esi
push dword [0x49619c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x46c569
test ebx, ebx
je 0x46c569
call edi
test eax, eax
je 0x46c560
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46c560
test byte [ebp - 8], 1
jne 0x46c569
or dword [ebp + 0x10], 0x200000
jmp 0x46c59c
mov eax, dword [0x496190]
cmp eax, dword [ebp - 0x18]
je 0x46c59c
push eax
call esi
test eax, eax
je 0x46c59c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46c59c
mov eax, dword [0x496194]
cmp eax, dword [ebp - 0x18]
je 0x46c59c
push eax
call esi
test eax, eax
je 0x46c59c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49618c]
call esi
test eax, eax
je 0x46c5b8
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x46c5ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004554c3
leave
ret
Function at 0x417e10
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push esi
push edi
push str.uxtheme.dll
pushal
dec esp
add bh, bh
adc eax, sym.imp.KERNEL32.dll_LoadLibraryW
invalid
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
invalid
mov edi, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [edi + 8]
inc edi
invalid
test eax, eax
jne 0x417e73
push 0

Function at 0x4bbd2d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c63a0
cmp edx, dword [eax]
je 0x4bbd4f
add eax, 8
inc ecx
cmp eax, 0x4c6430
jl 0x4bbd40
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c63a0]
jne 0x4bbe7d
mov eax, dword [0x4cad2c]
cmp eax, 1
je 0x4bbe57
test eax, eax
jne 0x4bbd80
cmp dword [0x4c62c8], 1
je 0x4bbe57
cmp edx, 0xfc
je 0x4bbe7d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbdb7
lea eax, [ebp - 0x1a4]
push 0x4c1d40
push eax
call fcn.004bc710
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcba0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbdfa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcba0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1d3c
push edi
call fcn.004bea70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1d20
push eax
call fcn.004bc710
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc720
lea eax, [ebp - 0xa0]
push 0x4c1d1c
push eax
call fcn.004bc720
push dword [esi + 0x4c63a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc720
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1cf4
push eax
call fcn.004be9e4
add esp, 0x2c
pop edi
jmp 0x4bbe7d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c63a4]
push 0
push eax
push dword [esi]
call fcn.004bcba0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401190
Capabilities:
Check for debugger via api
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0x16
mov dword [ebp - 0xc], 0x3f
mov dword [ebp - 0x14], 0x11
mov dword [ebp - 0x10], 0x42
mov dword [ebp - 4], 0x16
cmp dword [0x40f004], 0x3a
jge 0x4012f4
mov dword [ebp - 0x18], 3
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
je 0x4011e1
cmp dword [ebp - 0x1c], 2
je 0x4011ff
jmp 0x401257
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401410
add esp, 0x10
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov edx, dword [0x40f050]
and edx, 0x59
mov dword [0x40f050], edx
mov eax, dword [ebp - 4]
add eax, 0x60
mov ecx, dword [0x40f044]
sub ecx, eax
mov dword [0x40f044], ecx
mov edx, dword [str.2W_U9FN___]
mov ecx, dword [ebp + 0xc]
sar edx, cl
mov dword [str.2W_U9FN___], edx
mov eax, dword [0x40f060]
or eax, dword [ebp + 0x18]
mov dword [0x40f060], eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0xc
and ecx, dword [0x40f050]
mov dword [0x40f050], ecx
jmp 0x4012f4
cmp dword [ebp - 0xc], 0x3b
jge 0x40126b
push 0x20
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
add eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0xc], 0x12
jg 0x401285
push 0xe
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov ecx, dword [ebp + 0x14]
sub ecx, eax
mov dword [ebp + 0x14], ecx
cmp dword [ebp - 8], 0x18
jl 0x401294
mov edx, dword [ebp + 0x14]
sub edx, 0x42
mov dword [ebp + 0x14], edx
cmp dword [0x40f018], 0x49
jge 0x4012a6
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.004014a0
add esp, 0x18
cmp dword [ebp + 8], eax
jle 0x4012d6
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0x14]
mov dword [ebp + 0x10], ecx
jmp 0x4012f4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401410
add esp, 0x10
add eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x405b13
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.00404a03
and dword [ebp - 4], 0
cmp dword [0x542f28], 0
mov ebx, eax
jne 0x405bc4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c75
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405c75
push eax
call fcn.00404991
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x542f28], eax
call esi
push eax
call fcn.00404991
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x542f2c], eax
call esi
push eax
call fcn.00404991
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x542f30], eax
call esi
push eax
call fcn.00404991
pop ecx
mov dword [0x542f38], eax
test eax, eax
je 0x405bc4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404991
pop ecx
mov dword [0x542f34], eax
mov eax, dword [0x542f34]
cmp eax, ebx
je 0x405c1c
cmp dword [0x542f38], ebx
je 0x405c1c
push eax
call fcn.00404a0c
push dword [0x542f38]
mov esi, eax
call fcn.00404a0c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c1c
test edi, edi
je 0x405c1c
call esi
test eax, eax
je 0x405c13
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c13
test byte [ebp - 0xc], 1
jne 0x405c1c
or dword [ebp + 0x10], 0x200000
jmp 0x405c55
mov eax, dword [0x542f2c]
cmp eax, ebx
je 0x405c55
push eax
call fcn.00404a0c
pop ecx
test eax, eax
je 0x405c55
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c55
mov eax, dword [0x542f30]
cmp eax, ebx
je 0x405c55
push eax
call fcn.00404a0c
pop ecx
test eax, eax
je 0x405c55
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x542f28]
call fcn.00404a0c
pop ecx
test eax, eax
je 0x405c75
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c77
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40797e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c188]
jne 0x407988
repz ret
jmp fcn.004090a5
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
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46b53d55
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5f5f42e3
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402899
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ced85
jg 0x4028bd
inc edi
cmp edi, 0x1f6502b1
jl 0x4028a5
cmp dword [0x2be9a9c], 0x400
jne 0x402912
push str.Natipesun_subuguketevam_jutivotitag_roto_jam
push str.Ximoniwek
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push str.yogihubuwefugus
push esi
call fcn.00402f48
push esi
push esi
push esi
call fcn.00402f18
push esi
push esi
call fcn.00402d34
push esi
call fcn.0040318c
push esi
call fcn.0040319b
add esp, 0x24
xor edi, edi
cmp edi, 0xd0fe
jge 0x402923
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
cmp edi, 0x3a37ee
jg 0x40294a
inc edi
cmp edi, 0xe52f
jl 0x402914
mov eax, dword [0x42b2d4]
mov dword [0x2be9a9c], eax
call fcn.004025e3
mov edi, 0x3078f
cmp dword [0x2be9a9c], 0x51f
jne 0x402976
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x40295e
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x408ee7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a410]
jne 0x408ef1
repz ret
jmp fcn.0040b930
Function at 0x409f5f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406881
and dword [ebp - 0x14], 0
cmp dword [0x435e68], 0
mov dword [ebp - 0x18], eax
jne 0x40a012
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a0ba
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a0ba
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x435e68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x435e6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x435e70], eax
call edi
push eax
call esi
mov dword [0x435e78], eax
test eax, eax
je 0x40a012
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x435e74], eax
mov eax, dword [0x435e74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a06b
cmp dword [0x435e78], ecx
je 0x40a06b
push eax
call esi
push dword [0x435e78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a06b
test ebx, ebx
je 0x40a06b
call edi
test eax, eax
je 0x40a062
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a062
test byte [ebp - 8], 1
jne 0x40a06b
or dword [ebp + 0x10], 0x200000
jmp 0x40a09e
mov eax, dword [0x435e6c]
cmp eax, dword [ebp - 0x18]
je 0x40a09e
push eax
call esi
test eax, eax
je 0x40a09e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a09e
mov eax, dword [0x435e70]
cmp eax, dword [ebp - 0x18]
je 0x40a09e
push eax
call esi
test eax, eax
je 0x40a09e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435e68]
call esi
test eax, eax
je 0x40a0ba
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a0bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ee7
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5435519f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x516857f3
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100158c3
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100158e5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100158e3
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x100158ed
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x10015def
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015e1e
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10015e19
push 0
push 0xd1e
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x10015f8a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov esi, eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov eax, dword [eax]
sub eax, 8
cmp dword [esi], eax
jge 0x10015e8c
mov dword [ebp - 0x10], 1
jmp 0x10015e90
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jl 0x10015ea3
mov dword [ebp - 0x14], 1
jmp 0x10015ea7
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
jge 0x10015ec1
mov dword [ebp - 0xc], 1
jmp 0x10015ec5
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
je 0x10015eef
mov dword [ebp - 0x1c], 1
jmp 0x10015ef3
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
je 0x10015f1c
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
cmp dword [eax], 0
je 0x10015f1c
mov dword [ebp - 0x20], 1
jmp 0x10015f20
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jle 0x10015f3a
mov dword [ebp - 0x24], 1
jmp 0x10015f3e
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov esi, eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov ecx, dword [esi]
imul ecx, dword [eax]
cmp ecx, 0x811
jg 0x10015f72
mov dword [ebp - 0x48], 1
jmp 0x10015f76
and dword [ebp - 0x48], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10017af7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001d857
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d885
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001d883
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1001d89c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret

Function at 0x1001e46e
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001e4a3
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001e4a1
push 0
push 0xd1e
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x1001e4d0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001e4d0
push 0x2287
push 0x1450
push 0x9e
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esp, ebp
pop ebp
ret
Function at 0x1002d8ef
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002d91d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002d91b
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1002d968
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002d94b
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], 3
jge 0x1002d968
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10017af7
mov dword [eax], 1
jmp 0x1002d940
mov esp, ebp
pop ebp
ret