joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1015edf2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1017592c], 0
mov dword [0x10175930], 0
mov dword [0x1017593c], 0
mov ebx, dword [0x10175928]
add ebx, 0xfffff338
mov dword [0x10175924], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1015ee74
jmp 0x1015ee7c
mov eax, dword [0x1017592c]
mov ecx, dword [0x10175930]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1015ee7c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10175924], 0x20d1
mov dword [0x10175928], 0x7e7
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1017592c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10175930], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10175934], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10175934]
mov edx, dword [0x10175930]
mov byte [edi + edx], cl
mov dword [0x10175928], 0x2664
mov edx, dword [0x1017592c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10175930]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1017593c], ebx
mov dword [0x10175924], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x10175941], ch
mov byte [0x10175942], cl
xor ch, cl
mov byte [0x10175940], ch
mov dword [0x10175924], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10175928], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x1015ee74
jmp 0x1015ee5b
Function at 0x1015f0b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10175924], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1015e490
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], 0x134800
mov edx, dword [0x10175910]
mov dword [esp + 0x64], edx
mov edx, dword [0x10175914]
add ecx, 0x24
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [0x1015ea1e]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov esi, dword [0x10175918]
mov dword [esp + 0x4c], esi
mov esi, dword [0x1017591c]
mov dword [esp + 0x84], esi
mov esi, dword [0x10175920]
mov dword [esp + 0x60], esi
mov dword [0x10175928], 0x4bf
mov dword [esp + 0x14], eax
jmp 0x1015f19a
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov dword [0x10175928], 0xe73
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
call fcn.1015ea70
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1015f1bd
jmp 0x1015f1f1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1015f152
jmp 0x1015f1a9
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1015f184
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1015f19a
lea eax, [esp + 0x38]
mov dword [0x10175928], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1015eba8
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x408cd4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00408a47
out dx, al
clc
inc eax
xchg ecx, eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408a57
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00408a0c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x408d35
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00408a47
fist word [ebx - 0x42]
mov bh, 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x40916d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40911e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40913c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40919a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], ah
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x409181
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40918a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x409194
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409176
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x409100
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4091e7
dec eax
je 0x4091de
sub eax, 3
je 0x4091d5
mov dword [ebp - 4], 0x40
jmp 0x409204
mov dword [ebp - 4], 4
jmp 0x4091ea
mov dword [ebp - 4], 0x20
jmp 0x4091ea
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x409236
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4091b6
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00408a47
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40928a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
invalid
invalid
mov ch, 0xfc
invalid

Function at 0x40d5a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401420
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x138
mov eax, dword [0x40a004]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4014b5
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4014ae
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x34]
push str.CrossEXService.exe
push ecx
call fcn.00401809
add esp, 8
test eax, eax
jne 0x40148d
mov edx, dword [esp + 0x18]
push edx
push eax
push 0x1fffff
call edi
mov esi, eax
test esi, esi
jne 0x40149e
lea eax, [esp + 0x10]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401464
jmp 0x4014ae
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040164c
add esp, 0x138
ret

Function at 0x40255a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004022be
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00402273
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40259c
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004022ae
adc al, 0x92
add ch, byte [ebx + 0x50c0458d]
call fcn.004022be
push eax
push esi
push dword [ebp + 8]
call fcn.00402273
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004022ae
iretd

Function at 0x403719
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004022ae
dec eax
ja 0x4037a4
lea eax, [ebp - 0x72c]
push eax
call fcn.004022be
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00402273
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.004022ae
js 0x4037b9
jmp 0x4037a5
invalid
sbb al, 0xf9
invalid
xor eax, 0xe8858d33
clc
invalid
Function at 0x40bf20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40bf2f
pop dword [ebp - 0x10]
mov eax, 0x84e52c4e
add eax, 0x7b5b92e1
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x94c252b
add dword [ebp - 0x20], 0x45062020
mov dword [ebp - 0x1c], 0xb44cd147
add dword [ebp - 0x1c], 0x7de67afe
mov dword [ebp - 0x18], 0xdc758f46
sub dword [ebp - 0x18], 0x90294b18
mov dword [ebp - 0x14], 0x1f9aea1f
add dword [ebp - 0x14], 0xe06515e1
lea eax, [ebp - 0x20]
push eax
mov eax, 0x5735b171
add eax, 0xa90b8f1f
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x69a7183d
sub dword [ebp - 0x20], 0xf534aee7
mov dword [ebp - 0x1c], 0x866ff4c7
sub dword [ebp - 0x1c], 0x45039352
mov dword [ebp - 0x18], 0xbaf6bf97
add dword [ebp - 0x18], 0xa878acd5
mov dword [ebp - 0x14], 0xb21e0262
sub dword [ebp - 0x14], 0xb21e0262
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3afb4
push 0
call eax
mov ecx, 0x48be
xor esi, esi
add esi, eax
mov edi, 0x41c000
add edi, dword [ebp - 0x10]
mov ebx, 0x2f477e6e
sub ebx, 0xa66d8a94
mov edx, dword [edi]
mov dword [ebp - 8], 0x279c115d
add edx, ebx
add dword [ebp - 4], 0x8c8c852b
mov dword [esi], edx
xor dword [ebp - 4], edi
add esi, 4
add edi, 0x3c65b28a
add edi, 0xc39a4d7a
loop 0x40c042
add eax, 0x115cb
xor ebx, ebx
add ebx, eax
add eax, 0x69e093da
add eax, 0x961f6c2b
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x5e97cf
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa61cdc
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x5e984f
arpl word [edx + esi], si
sbb byte [eax - 0x1b45581f], cl
jne 0x5e97e9
enter 0x207, 0xffffffffffffffa1
jle 0x5e97fa
movsd dword es:[edi], dword [esi]
cmc
daa
mov word [0x9fdd8ed2], ds
mov dword [0x78b683ac], eax
xchg ebp, eax
mov dl, 0x40
invalid
rcr ecx, cl
xchg ebp, eax
in eax, 0xd0
and dword [edx - 0x7d2f74d1], ebp
in al, 0xa4
invalid
cmp byte [edi], cl
in al, 0x1f
pushfd
sub dword [eax - 0x1d], ebp
movsb byte es:[edi], byte [esi]
rcl byte [esi]
inc ecx
sub dword [edi + 0x3b21bc41], edi
xor byte [ebx], 0xbc
jle 0x5e98c2
div al
inc esi
push ebx
stosd dword es:[edi], eax
lds esp, [edx]
enter 0x5b0d, 0x67
imul esp, dword [esp], 0x36cb5fc3
scasd eax, dword es:[edi]
inc esi
add eax, 0x327669f3
jp 0x5e98a3
xor ecx, dword [esi]
pop es
cmp bl, byte [edx]
jecxz 0x5e981d
pop eax
aad 0xea
add eax, 0x425fae88
jmp 0x5e98d5
pop eax
cmpsd dword [esi], dword es:[edi]
add cl, byte [ecx - 0x48]
jmp 0x41c6ea90
invalid
cmpsd dword [esi], dword es:[edi]
adc byte [edi - 0x41290b3a], 0xfe
dec esi
and ebx, eax
xchg esp, eax
xchg ecx, eax
inc esi
push ebx
inc esi
add dword [ebx - 0x77], esp
or esi, eax
cmp eax, 0xf5e6ec5c
xchg ebp, eax
cmc
and dword [esi - 0x5e], ebp
xlatb
retf
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x10f2205e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0xa3452be
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100016e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [0x10275eec], esp
dec eax
xor edx, 5
mov ecx, 2
loop 0x10001715
mov edx, eax
inc eax
sub eax, 6
inc edx
add dword [0x10275ee8], ebp
add eax, 7
lea eax, [0x10275ee4]
add dword [eax], ebx
xor dword [0x10275ee0], edi
jmp fcn.100011b0
add dword [0x10275edc], esi
mov ecx, 2
loop 0x100016f1
mov dword [ebp], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, 1
pop ebp
ret

Function at 0x10230690
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10275ef0], 0x795
mov dword [0x10275efc], 0
mov byte [0x10275f00], 0
mov dword [0x10275ef8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10230701
mov dword [0x10275ef0], 0x9b7
mov dword [0x10275ef8], 0
xor eax, eax
mov ecx, dword [0x10275ef4]
add ecx, 0x146c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10230733
mov eax, dword [ebp - 0x1c]
mov dword [0x10275ef0], 0xc9a
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10275ef8]
add eax, 1
mov dword [0x10275ef8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10230701
jmp 0x102306d7
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xf92
mov esi, 0x100
mov dword [0x10275f04], 0
mov dword [0x10275ef4], eax
mov eax, dword [0x10275efc]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x28], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x10275f04], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x10275efc], edx
mov dword [0x10275ef0], 0x1e22
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x10275f00], bl
mov dword [0x10275ef0], 0x112f
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x10275f00]
mov ecx, dword [0x10275efc]
mov byte [esi + ecx], bl
mov dword [0x10275ef0], 0xa8a
mov dword [0x10275ef4], 0xfffffb26
mov ecx, dword [0x10275ef8]
add ecx, 1
mov dword [0x10275ef8], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10230733
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102311e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x10275ef0], 0xa55
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10275ef0], 0xa74
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10231252
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
jl 0x1023121e
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x10275ef0], 0x21ff
mov edx, dword [0x10275ef4]
add edx, 0xfffffbd3
mov dword [0x10275ef4], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x10231344
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x10231344
xor eax, eax
mov dword [0x10275ef0], 0xfffffc44
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x10231344
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
jne 0x10231344
xor eax, eax
mov dword [0x10275ef0], 0xfffff436
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
jne 0x10231344
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff8
mov dword [ebp - 0x28], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x24], eax
jne 0x10231344
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x2a], dx
xor eax, eax
mov cx, word [ebp - 0x2a]
cmp cx, 0x6c
mov dword [ebp - 0x24], eax
jne 0x10231344
mov eax, 1
mov dword [0x10275ef0], 0x12d7
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop ebp
ret