joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d550
Capabilities:
Parse pe header

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

Function at 0x1002195
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xf0
push 4
call fcn.010012b0
test eax, eax
pop ecx
je 0x10021b6
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_void___thiscall_CLASS_DESCRIPTOR::constructor_void_]
jmp 0x10021b8
xor eax, eax
test eax, eax
mov dword [0x1004004], eax
je 0x10021c9
mov ecx, eax
call dword [sym.imp.ulib.dll_public:_unsigned_char___thiscall_CLASS_DESCRIPTOR::Initialize_void_]
lea ecx, [ebp - 0x78]
call fcn.010012ff
lea ecx, [ebp - 0x78]
call fcn.01001cd6
test al, al
je 0x10021ee
lea ecx, [ebp - 0x78]
call fcn.0100133e
test al, al
je 0x10021ee
push dword [ebp + 0x10]
jmp 0x10021f0
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x674b2a9c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2c4257db
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x10005880
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x10013008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], edx
cmp ecx, edi
je 0x100058cd
mov al, byte [ecx]
cmp al, 0x2f
je 0x100058c7
cmp al, 0x5c
je 0x100058c7
cmp al, 0x3a
je 0x100058c7
push ecx
push edi
call fcn.10008270
pop ecx
pop ecx
mov ecx, eax
cmp ecx, edi
jne 0x100058aa
mov edx, dword [ebp - 0x25c]
mov al, byte [ecx]
mov byte [ebp - 0x255], al
cmp al, 0x3a
jne 0x100058f9
lea eax, [edi + 1]
cmp ecx, eax
je 0x100058f3
push edx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.100057cd
add esp, 0x10
jmp 0x10005ac9
mov al, byte [ebp - 0x255]
xor ebx, ebx
cmp al, 0x2f
je 0x10005909
cmp al, 0x5c
je 0x10005909
cmp al, 0x3a
mov al, bl
jne 0x1000590b
mov al, 1
sub ecx, edi
movzx eax, al
inc ecx
mov dword [ebp - 0x298], ebx
neg eax
mov dword [ebp - 0x294], ebx
push esi
sbb eax, eax
mov dword [ebp - 0x290], ebx
and eax, ecx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x288], ebx
mov byte [ebp - 0x284], bl
call fcn.10005ad9
push eax
lea eax, [ebp - 0x298]
push eax
push edi
call fcn.100055bd
add esp, 0xc
lea ecx, [ebp - 0x254]
neg eax
sbb eax, eax
push ebx
push ebx
push ebx
push ecx
not eax
and eax, dword [ebp - 0x290]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10005995
push dword [ebp - 0x25c]
push ebx
push ebx
push edi
call fcn.100057cd
add esp, 0x10
mov ebx, eax
jmp fcn.10005ab1
mov eax, dword [ebp - 0x25c]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov byte [ebp - 0x260], bl
call fcn.10005ad9
push eax
lea eax, [ebp - 0x255]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.100054ee
add esp, 0x10
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x26c]
cmp byte [eax], 0x2e
jne 0x10005a12
mov cl, byte [eax + 1]
test cl, cl
je 0x10005a32
cmp cl, 0x2e
jne 0x10005a12
cmp byte [eax + 2], bl
je 0x10005a32
push dword [ebp - 0x25c]
push dword [ebp - 0x278]
push edi
push eax
call fcn.100057cd
add esp, 0x10
mov dword [ebp - 0x280], eax
test eax, eax
jne 0x10005a8e
cmp byte [ebp - 0x260], bl
je 0x10005a46
push dword [ebp - 0x26c]
call fcn.100053ea
pop ecx
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100059a9
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x27c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
cmp ecx, eax
je 0x10005aaa
push 0x10005424
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10007d20
add esp, 0x10
jmp 0x10005aaa
cmp byte [ebp - 0x260], bl
je 0x10005aa8
push dword [ebp - 0x26c]
call fcn.100053ea
mov eax, dword [ebp - 0x280]
pop ecx
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
dec ebp
or byte [edi], cl
mov bh, 0x51
push es
Function at 0x403750
Capabilities:
Write file on windows

Disassembly:
push esi
cmp dword [esp + 8], 0
je 0x4037b7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x40d0bc], eax
test eax, eax
je 0x4037b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push eax
call esi
mov dword [0x40d0c0], eax
push str.Wow64RevertWow64FsRedirection
push dword [0x40d0bc]
call esi
mov dword [0x40d0c4], eax
mov ecx, dword [0x40d0c0]
test ecx, ecx
je 0x4037d0
test eax, eax
je 0x4037d0
push 0x40d0c8
call ecx
test eax, eax
je 0x4037f3
push 0x403820
call fcn.00401310
add esp, 4
pop esi
ret
push 2
call dword [0x40d010]
add esp, 4
push eax
push 1
push 0x3f
push str.kernel32.dll_failed_to_load__failed_to_disable_FS_redirection._n
jmp 0x403808
push dword [0x40d0bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
call dword [0x40d010]
add esp, 4
push eax
push 1
push 0x53
push str.Wow64DisableWow64FsRedirection_or_Wow64RevertWow64FsRedirection_functions_missing._n
jmp 0x403808
push 2
call dword [0x40d010]
add esp, 4
push eax
push 1
push 0x27
push str.Wow64DisableWow64FsRedirection_failed._n
call sub.msvcrt.dll_fwrite
add esp, 0x10
pop esi
ret
Function at 0x404130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x404141
jmp dword [eax*4 + 0x40b454]
cmp dword [0x40d114], 0
je 0x404250
push 0x40d118
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40d130]
test edi, edi
je 0x404245
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40418b
mov edi, dword [edi + 8]
test edi, edi
je 0x404245
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x404180
test esi, esi
je 0x404180
mov ecx, dword [edi + 4]
call dword [0x40b8dc]
push esi
call ecx
add esp, 4
jmp 0x404180
call fcn.00403a50
jmp case.default.0x404141
cmp dword [0x40d114], 0
je case.default.0x404141
push 0x40d118
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40d130]
test edi, edi
je 0x404238
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4041f7
mov edi, dword [edi + 8]
test edi, edi
je 0x404238
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4041f0
test esi, esi
je 0x4041f0
mov ecx, dword [edi + 4]
call dword [0x40b8dc]
push esi
call ecx
add esp, 4
jmp 0x4041f0
cmp dword [0x40d114], 0
jne 0x40422c
push 0x40d118
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x40d114], 1
jmp case.default.0x404141
push 0x40d118
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x404141
push 0x40d118
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x40d114]
cmp eax, 1
jne case.default.0x404141
mov eax, dword [0x40d130]
test eax, eax
je 0x404282
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x404270
mov dword [0x40d130], 0
mov dword [0x40d114], 0
push 0x40d118
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4043b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x40a004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x404416
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x404416
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x404416
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x404416
mov edx, dword [esp + 0xc]
sub edx, dword [0x40a004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x404406
add esi, 0x28
dec ecx
je 0x404416
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x404400
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x404400
mov eax, esi
pop esi
pop edi
ret
Function at 0x87c985
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x85bd17
sub eax, eax
pop esi
jmp 0x8a057f
mov dword [ebp - 0xc], eax
jmp 0x952616
pop ebp
jmp 0xc9d4ef
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jmp 0x8fef7c
call fcn.00929673
add esp, 4
test eax, eax
jmp 0x95f6d5
jae 0x7c5192
mov esi, dword [edx + ecx + 0x1c]
cmp ax, sp
cmp bl, 0xc3
test esp, 0xd6c322e
lea eax, [esi + eax*4]
mov eax, dword [eax + ecx]
jmp 0xd15fce
push ebp
mov ebp, esp
bts ecx, ecx
mov ecx, dword [ebp + 8]
stc
sub esp, 0x114
clc
push esi
test ecx, ecx
je 0x774839
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x8f28c8
mov esp, ebp
movsx ebp, di
xchg bp, bp
jmp 0x846016
je 0x774839
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0x774833
jne 0x774839
mov edx, dword [eax + ecx + 0x78]
cmp dl, bl
mov dword [ebp - 4], edx
test bp, 0x563f
test edx, edx
je 0x774839
mov eax, dword [eax + ecx + 0x7c]
push ebx
clc
push edi
mov dword [ebp - 0x10], eax
cmc
test ax, ax
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
ja 0xcdb76c
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0x9206a5
add eax, ecx
jmp 0x86e96f
mov dword [ebp - 8], eax
jmp 0x96bdaa
mov eax, dword [ebp + 8]
bts dx, bx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax + 0x24]
shr cl, 0x67
jmp 0xcd90f9
js 0xcd9115
jmp 0xca4a69
jns 0xcbe56c
lea edi, [esi - 1]
jmp 0x9890a0
jmp 0xcd9115
je 0x7c5192
cmp eax, edx
jmp 0xcf0336
jmp 0xcbe57b
ret
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
cmc
clc
sar esi, 1
test bp, 0x4666
stc
mov eax, dword [eax + esi*4]
cmp sp, sp
push edx
mov edx, dword [ebp + 0xc]
test esp, 0x6b91378f
jmp 0x90538c
jle 0x94340d
lea ebx, [esi + 1]
adc ch, ch
or ch, 0x2b
dec ecx
mov ecx, dword [ebp + 8]
cmp bx, si
cmp ebx, edi
jmp 0xd022c2
lea ecx, [edx + esi*2]
movzx edx, word [ecx + eax]
mov dword [ebp - 8], edx
mov ecx, eax
not edx
shl ax, 0x17
mov edx, dword [ebp - 4]
dec al
shrd ax, di, 0xd1
mov eax, dword [ebp - 8]
clc
test cx, sp
cmp eax, dword [edx + ecx + 0x14]
jmp 0x878347
mov edi, dword [edx + ecx + 0x18]
cmp esi, 0x69617cd
test edi, edi
je 0xcd9115
mov eax, dword [edx + ecx + 0x20]
stc
cmp si, 0x543
add eax, ecx
sub ebx, ebx
jmp 0xd3a914
jle 0xca4a66
jmp 0xcd910b
test eax, eax
jmp 0x976102
dec edi
jmp 0x7bbd83

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003448
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x10003457
pop dword [ebp - 0x3c]
mov eax, 0xf564dfb8
add eax, 0x1a9b549f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa7e2caef
sub dword [ebp - 0x4c], 0x599085a4
mov dword [ebp - 0x48], 0xa0ffd68a
add dword [ebp - 0x48], 0x913375bb
mov dword [ebp - 0x44], 0x74dbecc0
sub dword [ebp - 0x44], 0x288fa892
mov dword [ebp - 0x40], 0x5ec84610
add dword [ebp - 0x40], 0xa137b9f0
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x47927af7
sub dword [ebp - 0x4c], 0xd32011a1
mov dword [ebp - 0x48], 0xa73a32e2
add dword [ebp - 0x48], 0x9a322e93
mov dword [ebp - 0x44], 0xbd43eb6c
sub dword [ebp - 0x44], 0x59d47f00
mov dword [ebp - 0x40], 0x90f8543f
sub dword [ebp - 0x40], 0x90f8543f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x4e55e7a1
add eax, 0xc1ac08fb
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b3c7
push 0
call eax
mov ecx, 0xb0283b4f
add ecx, 0x4fd80bf5
mov esi, eax
mov edi, 0x10029a00
add edi, dword [ebp - 0x3c]
mov edx, 0xdd5d7437
sub edx, 0x35af32b9
add dword [ebp - 4], esi
mov ebx, dword [edi]
sub dword [ebp - 0x1c], ebx
sub ebx, edx
add dword [ebp - 0x24], edx
mov dword [esi], ebx
xor dword [ebp - 0x10], 0x4f55b320
add esi, 4
add edi, 0x46dcf14d
add edi, 0xb9230eb7
loop 0x1000356e
add eax, 0x2a2339cb
sub eax, 0x2a2229e8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10003448
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10003448
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10003448
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10003448
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10003448
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c
Function at 0x1000e1bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1000e1cb
pop dword [ebp - 0x50]
mov eax, 0x1000e1cb
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3930d
push 0
mov eax, 0x2b05c5fd
sub eax, 0x1b048599
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xc5776efd
add ecx, 0x3a88d9c0
xor ebx, ebx
add ebx, eax
mov esi, 0x2af62d6f
add esi, 0xe50b5891
add esi, dword [ebp - 0x50]
mov edi, 0x97d64213
sub edi, 0x6c25ce2e
sub dword [ebp - 0x14], 0xe7fb3110
mov edx, dword [esi]
xor dword [ebp - 0x10], 0x6150cb86
add edx, edi
xor dword [ebp - 0x20], edx
mov dword [ebx], edx
add ebx, 0x4d2ededc
add ebx, 0xb2d12128
add esi, 0xfa7ee188
sub esi, 0xfa7ee184
loop 0x1000e227
add eax, 0x115c7
xor ebx, ebx
add ebx, eax
add eax, 0xfa4ff564
sub eax, 0xfa4ff55f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001b40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1000b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor edi, edi
push 0x3fc
lea eax, [ebp - 0x400]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x404], edi
call fcn.10005980
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov eax, ecx
div ebx
mov byte [esi + ecx], cl
inc ecx
movzx edx, byte [edx + str.a3s1df3a1sd3ad18a0s8daf0]
mov dword [ebp + ecx*4 - 0x408], edx
cmp ecx, 0x100
jl 0x10001b76
xor eax, eax
jmp 0x10001ba0
mov cl, byte [esi + eax]
mov ebx, dword [ebp + eax*4 - 0x404]
movzx edx, cl
add ebx, edx
add edi, ebx
and edi, 0x800000ff
jns 0x10001bc1
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [esi + edi]
mov byte [esi + eax], dl
inc eax
mov byte [esi + edi], cl
cmp eax, 0x100
jl 0x10001ba0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10001c64
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor ecx, ecx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0xc], ecx
jbe 0x10001c5e
push ebx
inc ecx
and ecx, 0x800000ff
jns 0x10001c12
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [ecx + eax]
movzx ebx, dl
add esi, ebx
and esi, 0x800000ff
jns 0x10001c2a
dec esi
or esi, 0xffffff00
inc esi
movzx ebx, byte [esi + eax]
mov byte [ecx + eax], bl
mov byte [esi + eax], dl
movzx ebx, byte [ecx + eax]
movzx edx, dl
add ebx, edx
and ebx, 0x800000ff
jns 0x10001c4d
dec ebx
or ebx, 0xffffff00
inc ebx
movzx ebx, byte [ebx + eax]
mov edx, dword [ebp + 8]
xor byte [edi + edx], bl
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x10001c01
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x10001c64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b018]
jne 0x10001c6e
repz ret
jmp fcn.10002543
Function at 0x1000483c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000b018]
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.1000305e
and dword [ebp - 0x14], 0
cmp dword [0x1000d6b8], 0
mov dword [ebp - 0x18], eax
jne 0x100048ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004997
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004997
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000d6b8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000d6bc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000d6c0], eax
call edi
push eax
call esi
mov dword [0x1000d6c8], eax
test eax, eax
je 0x100048ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000d6c4], eax
mov eax, dword [0x1000d6c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10004948
cmp dword [0x1000d6c8], ecx
je 0x10004948
push eax
call esi
push dword [0x1000d6c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004948
test ebx, ebx
je 0x10004948
call edi
test eax, eax
je 0x1000493f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000493f
test byte [ebp - 8], 1
jne 0x10004948
or dword [ebp + 0x10], 0x200000
jmp 0x1000497b
mov eax, dword [0x1000d6bc]
cmp eax, dword [ebp - 0x18]
je 0x1000497b
push eax
call esi
test eax, eax
je 0x1000497b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000497b
mov eax, dword [0x1000d6c0]
cmp eax, dword [ebp - 0x18]
je 0x1000497b
push eax
call esi
test eax, eax
je 0x1000497b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000d6b8]
call esi
test eax, eax
je 0x10004997
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004999
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001c64
leave
ret

Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call dword [sym.imp.ole32.dll_OleUninitialize]
leave
ret 0x10
Function at 0x4011a7
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404020
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call fcn.004012dd
push 0x404050
push 0x404040
push 0x404030
call sub.CRTDLL.DLL_____GetMainArgs
add esp, 0xc
push 0x401aac
push 0xb
call sub.CRTDLL.DLL___signal
add esp, 8
mov dword [0x404014], eax
mov dword [0x404014], 0x401aac
push dword [0x404050]
push dword [0x404040]
push dword [0x404030]
mov dword [0x404018], esp
call fcn.00401bcc
add esp, 0xc
mov dword [ebp - 4], 0
push eax
call sub.CRTDLL.DLL___exit
call sub.CRTDLL.DLL____cexit
call fcn.004013ab
call sub.kernel32.dll_ExitProcess
pop edi
leave
ret