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

Disassembly:
push edi
mov edi, dword [0x427c2e]
test edi, edi
jg 0x406285
and dword [0x427d68], 0
xor eax, eax
pop edi
ret
mov eax, 0x800
cmp edi, eax
push esi
cmova edi, eax
push edi
push dword [0x427d70]
push dword [0x424b20]
call dword [sym.imp.KERNEL32.dll__lread]
cmp dword [0x424b3c], 0
mov esi, eax
mov dword [0x427d68], esi
je 0x406303
cmp esi, 0xffffffff
je 0x406303
cmp esi, edi
je 0x406314
test esi, esi
js 0x406303
mov ax, word [0x424060]
push dword [0x424b40]
inc ax
movzx eax, ax
push eax
call fcn.004039e4
mov esi, dword [0x427d68]
test esi, esi
jne 0x4062fd
push edi
push dword [0x427d70]
push dword [0x424b20]
call dword [sym.imp.KERNEL32.dll__lread]
mov esi, eax
mov dword [0x427d68], esi
cmp esi, 0xffffffff
cmovne edi, esi
cmp esi, edi
je 0x406314
push 2
call fcn.00401780
mov esi, dword [0x427d68]
sub dword [0x427c2e], esi
cmp dword [0x424b30], 0
mov edi, dword [0x427d70]
mov dword [0x427d6c], edi
je 0x406350
test esi, esi
je 0x406350
call fcn.00408167
xor byte [edi], al
movzx eax, byte [edi]
push eax
call fcn.00408241
inc edi
pop ecx
sub esi, 1
jne 0x406333
mov esi, dword [0x427d68]
mov eax, esi
dec esi
mov dword [0x427d68], esi
pop esi
pop edi
ret
Function at 0x4081b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [0x424b38]
mov esi, dword [ebp + 8]
call fcn.00408181
push 0xc
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004037c5
add esp, 0x10
xor esi, esi
call fcn.00408167
movzx ecx, byte [ebp + esi - 0x10]
xor eax, ecx
mov byte [ebp + esi - 0x10], al
movzx eax, al
push eax
call fcn.00408241
inc esi
pop ecx
cmp esi, 0xc
jl 0x4081e9
cmp dword [0x424b34], 0
movzx ecx, byte [ebp - 5]
pop esi
je 0x408228
movzx eax, byte [0x427c27]
cmp cx, ax
je 0x408231
or eax, 0xffffffff
jmp 0x408233
movzx eax, byte [0x427c2d]
jmp 0x40821e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408a7f
mov esp, ebp
pop ebp
ret

Function at 0x408241
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x427330]
mov eax, ecx
xor eax, dword [esp + 4]
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x427380]
movzx eax, cl
add eax, dword [0x427334]
imul eax, eax, 0x8088405
mov dword [0x427330], ecx
mov ecx, dword [0x427338]
inc eax
mov dword [0x427334], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x427380]
mov dword [0x427338], ecx
ret
Function at 0x1085d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1085d1a8
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 0x1085d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1085d06a
add dl, dl
jne 0x1085d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1085d0dc
xor eax, eax
add dl, dl
jne 0x1085d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1085d17d
add dl, dl
jne 0x1085d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1085d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1085d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1085d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1085d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1085d075
mov eax, 1
add dl, dl
jne 0x1085d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1085d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1085d0e1
sub eax, ebx
mov ebx, 1
jne 0x1085d128
mov ecx, 1
add dl, dl
jne 0x1085d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1085d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1085d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1085d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1085d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1085d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1085d136
cmp eax, 0x7d00
jae 0x1085d16d
cmp eax, 0x500
jb 0x1085d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1085d075
cmp eax, 0x7f
ja 0x1085d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1085d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1085d19e
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 0x1085d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403590
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.004100b0
mov eax, dword [0x45a9f4]
mov ecx, dword [0x45a484]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x4036a7
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x45a9f4], 0x959
jne 0x403690
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004032d0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4035ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4036c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get disk size
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x449ae8
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
xor esi, esi
jmp 0x4036f0
push ebx
call edi
cmp esi, 0xb7e4ee2
jg 0x403704
inc esi
cmp esi, 0x73f04bd
jl 0x4036f0
cmp dword [0x45a9f4], 0x400
jne 0x403741
Function at 0x40543b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b168]
jne 0x405445
repz ret
jmp fcn.0040a8cc

Function at 0x40ae5e
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.00409569
and dword [ebp - 4], 0
cmp dword [0x4519b4], 0
mov ebx, eax
jne 0x40af0f
push 0x401ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40afc0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401acc
push edi
call esi
test eax, eax
je 0x40afc0
push eax
call fcn.004094f7
mov dword [esp], 0x401abc
push edi
mov dword [0x4519b4], eax
call esi
push eax
call fcn.004094f7
mov dword [esp], 0x401aa8
push edi
mov dword [0x4519b8], eax
call esi
push eax
call fcn.004094f7
mov dword [esp], 0x401a8c
push edi
mov dword [0x4519bc], eax
call esi
push eax
call fcn.004094f7
pop ecx
mov dword [0x4519c4], eax
test eax, eax
je 0x40af0f
push 0x401a74
push edi
call esi
push eax
call fcn.004094f7
pop ecx
mov dword [0x4519c0], eax
mov eax, dword [0x4519c0]
cmp eax, ebx
je 0x40af67
cmp dword [0x4519c4], ebx
je 0x40af67
push eax
call fcn.00409572
push dword [0x4519c4]
mov esi, eax
call fcn.00409572
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40af67
test edi, edi
je 0x40af67
call esi
test eax, eax
je 0x40af5e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40af5e
test byte [ebp - 0xc], 1
jne 0x40af67
or dword [ebp + 0x10], 0x200000
jmp 0x40afa0
mov eax, dword [0x4519b8]
cmp eax, ebx
je 0x40afa0
push eax
call fcn.00409572
pop ecx
test eax, eax
je 0x40afa0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40afa0
mov eax, dword [0x4519bc]
cmp eax, ebx
je 0x40afa0
push eax
call fcn.00409572
pop ecx
test eax, eax
je 0x40afa0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4519b4]
call fcn.00409572
pop ecx
test eax, eax
je 0x40afc0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40afc2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x2e060ed6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x4ddf7de8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x432006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, reloc.ole32.dll_CoTaskMemAlloc
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x418010
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x634042]
mov ecx, dword [0x634034]
sub esp, 0x14
mov edx, dword [0x63403c]
and ecx, 4
and edx, 0xc
push ebx
mov bl, byte [0x634048]
xor bl, al
mov eax, dword [0x634030]
add eax, ecx
mov ecx, dword [0x634038]
mov dword [0x634030], eax
mov eax, dword [0x63cf54]
and eax, 0xff
push esi
imul edx, eax
xor ecx, edx
push 0
mov byte [0x634048], bl
mov dword [0x634038], ecx
call sub.comdlg32.dll_FindTextW
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x637c2c
mov esi, eax
call fcn.00629c44
add esp, 4
test eax, eax
je 0x418089
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x634030]
mov eax, dword [0x634034]
mov dword [esp + 0x18], 0
mov ebx, 1
lea edx, [ecx + ecx]
mov dword [esp + 8], 0
or edx, eax
lea eax, [esp + 8]
mov dword [esp + 0x14], edx
push eax
fild qword [esp + 0x18]
push ebx
push 0
push str.CLSIDa893aa73_054f_4dbc_9e53_f4ee5fe07fd3InProcServer32
push SysReAllocStringLen
fadd qword [0x634058]
fstp qword [0x634058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [0x63cf4c], eax
jne 0x418152
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push 0x637c2c
push edx
push eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x208
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x63cf4c], eax
jne 0x41811a
cmp dword [esp + 0xc], ebx
je 0x41811c
xor bl, bl
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x418133
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [0x63cf4c]
test eax, eax
jne 0x418152
test esi, esi
jle 0x41814c
and esi, 0xffff
or esi, 0x80070000
mov dword [0x63cf4c], esi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x14
ret
Function at 0x62b031
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6343d8
cmp edx, dword [eax]
je 0x62b053
add eax, 8
inc ecx
cmp eax, 0x634468
jl 0x62b044
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6343d8]
jne 0x62b181
mov eax, dword [0x63cf68]
cmp eax, 1
je 0x62b15b
test eax, eax
jne 0x62b084
cmp dword [0x634304], 1
je 0x62b15b
cmp edx, 0xfc
je 0x62b181
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62b0bb
lea eax, [ebp - 0x1a4]
push 0x630b78
push eax
call fcn.0062ba10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bea0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62b0fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bea0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x630b74
push edi
call fcn.0062dd70
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x630b58
push eax
call fcn.0062ba10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062ba20
lea eax, [ebp - 0xa0]
push 0x630b54
push eax
call fcn.0062ba20
push dword [esi + 0x6343dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062ba20
push 0x12010
lea eax, [ebp - 0xa0]
push 0x630b2c
push eax
call fcn.0062dce4
add esp, 0x2c
pop edi
jmp 0x62b181
lea eax, [ebp + 8]
lea esi, [esi + 0x6343dc]
push 0
push eax
push dword [esi]
call fcn.0062bea0
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 0x484d0f
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x484a08
inc eax
add eax, 0x2647ee4b
mov ecx, 0xe8bc37de
call fcn.00484d49
sub eax, eax
xor dword [esi], edi
dec ecx
sub ecx, eax
add esi, 2
and ecx, eax
sub eax, ecx
dec ecx
cmp esi, ebx
jl fcn.00484d0f
sub ecx, 0x8781a07f
inc ecx
ret
Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
jmp loc.00409000
Function at 0x402e41
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063a9
xor ebx, ebx
cmp eax, ebx
jne 0x402f24
test byte [ebp + 0x10], 2
je 0x402ea2
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f09
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ede
test edi, edi
jne 0x402f09
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402e41
test eax, eax
jne 0x402ee7
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402eb7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406931
test eax, eax
jne 0x402f19
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f24
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403309
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403334
mov ecx, dword [0x4702d8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4326f4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403411
cmp eax, esi
jl 0x40340b
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004060b5
test eax, eax
je 0x4033fb
push dword [ebp + 8]
add dword [0x4326f4], 4
call fcn.00403411
mov ebx, eax
cmp ebx, esi
jl 0x403409
cmp dword [ebp + 0x10], esi
jne 0x4033d7
cmp dword [ebp + 8], esi
jle 0x403409
mov esi, 0x4266f0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403399
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004060b5
test eax, eax
je 0x4033fb
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.004060e4
test eax, eax
je 0x4033d3
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4326f4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x403388
jmp 0x403409
push 0xfffffffffffffffe
jmp 0x4033fd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x4033e2
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403400
push 0xfffffffffffffffd
pop eax
jmp 0x40340b
mov ebx, dword [ebp - 4]
add dword [0x4326f4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x403bab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
les edx, [eax]
mov dword [ebp - 0x88], eax
call fcn.00403855
dec edx
stosd dword es:[edi], eax
mov edi, 0xe8458d97
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00403865
push eax
push esi
push dword [ebp + 8]
call fcn.0040381a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00403865
push eax
push esi
push dword [ebp + 8]
call fcn.0040381a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00403865
push eax
push esi
push dword [ebp + 8]
call fcn.0040381a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00403855
pop ebx
retf 0xe532

Function at 0x405a73
Capabilities:
Create directory

Disassembly:
add al, 0x8b
add eax, edi
push eax
call fcn.00403855
add al, dh
test al, 0x5d
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.00404055
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ac4
xor eax, eax
jmp 0x405aeb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405aeb
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405ac0
call esi
pop esi
leave
ret 4
Function at 0x405b25
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x45e750], 0x44
push eax
xor eax, eax
push 0x45e750
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405b64
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405b68
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405c06
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.0040600d
mov edi, eax
cmp edi, 0xffffffff
je 0x405c47
test byte [esp + 0x10], 1
push esi
je 0x405c29
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405c2f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405c38
xor eax, eax
inc eax
jmp 0x405c49
test byte [esp + 0x10], 4
jne 0x405c47
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8