joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x22b96100
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x71081e4d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407c5d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esi, [ebx]
lea edi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
jmp 0x407bd2
je 0x407b91
push 0
pop eax
imul eax, eax, 0xf
jmp 0x407b69
xor eax, 0x1d0e5297
sbb eax, dword [esp + 4]
jne 0x407c1e
jmp 0x407b0b
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
jmp 0x407d7e
ret
push ebx
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
ret 4
add esi, dword [edx + 0x20]
pop ecx
lodsd eax, dword [esi]
jmp 0x407d04
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
push 0xffffffffffffffff
jmp 0x407c1a
mov edx, ebx
mov esi, ebx
jmp 0x407c30
inc ecx
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
jmp 0x407b1d
sub dword [esp], eax
pop eax
cmp byte [edi], 1
ja 0x407b26
jmp 0x407b55
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004082e9
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004082e9
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004082e9
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004082e9
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004082e9
mov dword [0x41203c], eax
call fcn.004082e9
test eax, eax
jge 0x402550
push 8
call fcn.004082e9
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004082e9
pop ecx
push 1
call fcn.004082e9
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004082e9
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004082e9
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004082e9
jmp 0x402495

Function at 0x4082e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4082f8
pop dword [ebp - 0x4c]
mov eax, 0x5e70fc1c
sub eax, 0x5e307924
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3d1e2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xe78861d9
sub ecx, 0xe7880a4d
mov edi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x4c]
mov esi, 0x694ba2b9
sub esi, 0x91d6792c
xor dword [ebp - 0x14], 0x9588913b
mov ebx, dword [edx]
xor dword [ebp - 0x20], 0x3b8287a
add ebx, esi
xor dword [ebp - 0x10], edx
mov dword [edi], ebx
add edi, 4
add edx, 0x728aae73
add edx, 0x8d755191
loop 0x40834c
add eax, 0x6e7b5f9
add eax, 0xf9199b0a
mov ebx, eax
add eax, 0x1d30ab67
sub eax, 0x1d30ab62
mov ecx, 0xca85508e
add ecx, 0x35baaf72
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x45cf70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x32000]
push edi
or ebp, 0xffffffff
jmp 0x45cf92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45cf99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45cf88
mov eax, 1
add ebx, ebx
jne 0x45cfab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45cfa0
jne 0x45cfbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cfa0
xor ecx, ecx
sub eax, 3
jb 0x45cfd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45d042
mov ebp, eax
add ebx, ebx
jne 0x45cfdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45cfe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45d00c
inc ecx
add ebx, ebx
jne 0x45cff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45cfed
jne 0x45d009
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45cfed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45d02c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45d01d
jmp 0x45cf8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45d02c
add edi, ecx
jmp 0x45cf8e
pop esi
mov edi, esi
mov ecx, 0x57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45d04a
cmp byte [edi], 0x1d
jne 0x45d04a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45d04f
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45d0be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d25c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d2d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45d07c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d2d8]
or eax, eax
je 0x45d0b8
mov dword [ebx], eax
add ebx, 4
jmp 0x45d099
call dword [esi + 0x5d2d4]
mov ebp, dword [esi + 0x5d2dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45d0f2
sub esp, 0xffffff80
jmp 0x42c0f0

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 0x417f2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x417f3d
pop dword [ebp - 0x30]
mov eax, 0x7a762d22
sub eax, 0x7a34ade5
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x38790
push 0
mov eax, 0xc0da4dee
add eax, 0x3f68423e
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x43d9a21c
sub ecx, 0x43d95c6a
xor edx, edx
add edx, eax
mov ebx, 0x436e00
add ebx, dword [ebp - 0x30]
mov esi, 0x58309f31
add esi, 0x36e6e53e
mov dword [ebp - 0x14], 0x8a72b456
mov edi, dword [ebx]
mov dword [ebp - 0x10], 0x96f6c3bc
sub edi, esi
xor dword [ebp - 0xc], 0xb495ca53
mov dword [edx], edi
add edx, 0xeb4e406e
add edx, 0x14b1bf96
add ebx, 4
loop 0x417f98
add eax, 0xfc977a5a
add eax, 0x3698f41
mov ebx, eax
add eax, 0x158f560c
add eax, 0xea70a9f9
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x41e7e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x41e81d
push str.SetDefaultDllDirectories
push 0x429a14
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41e81d
push 0xc00
call eax
test eax, eax
jne 0x41e8b6
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41e8b6
cmp eax, 0x104
ja 0x41e8b6
cmp word [esp + eax*2 + 6], 0x5c
je 0x41e84c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41e8b6
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41e88b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41e877
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41e86c
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x10001010
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
ret

Function at 0x10001040
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
ret

Function at 0x10001080
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret

Function at 0x100010a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x100010c0
Capabilities:
Get socket status

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
ret

Function at 0x100010e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
ret

Function at 0x100011d0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10010314
push edi
mov eax, esi
sub ecx, esi
mov edx, 0x12
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x100011e2
mov eax, 0x1001035c
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x100011fa
cmp eax, 0x1001135c
jl 0x100011f5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.10001230
mov eax, esi
pop edi
pop esi
ret 8
Function at 0x10001230
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov dword [esp + 0x10], ecx
movsx edi, word [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], 0x12
movsx esi, dx
xor ebx, ebx
add ecx, 4
lea eax, [esi + 1]
cdq
idiv edi
lea eax, [esi + 2]
mov bl, byte [edx + ebp]
cdq
idiv edi
mov bh, byte [esi + ebp]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv edi
xor eax, eax
shl ebx, 8
mov al, byte [edx + ebp]
or ebx, eax
mov eax, dword [ecx - 4]
xor eax, ebx
mov dword [ecx - 4], eax
lea eax, [esi + 4]
cdq
idiv edi
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x1000124c
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov esi, edi
mov ebx, 9
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.100013b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 8
dec ebx
jne 0x100012ae
lea esi, [edi + 0x4c]
mov ebp, 4
mov ebx, 0x80
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, edi
call fcn.100013b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esi - 4], ecx
mov dword [esi], edx
add esi, 8
dec ebx
jne 0x100012df
dec ebp
jne 0x100012da
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x10002670
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x10015b6c]
push esi
or esi, 0xffffffff
test eax, eax
jne 0x1000268c
call fcn.100026c0
mov dword [0x10015b6c], 1
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
test ecx, ecx
je 0x100026b8
push ebx
mov edx, esi
xor ebx, ebx
mov bl, byte [eax]
and edx, 0xff
xor edx, ebx
shr esi, 8
mov edx, dword [edx*4 + 0x1001576c]
xor esi, edx
inc eax
dec ecx
jne 0x10002699
pop ebx
mov eax, esi
pop esi
not eax
ret

Function at 0x100026c0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x1001576c
mov eax, edx
mov esi, 8
test al, 1
je 0x100026dc
shr eax, 1
xor eax, 0xedb88320
jmp 0x100026de
shr eax, 1
dec esi
jne 0x100026cf
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x10015b6c
jl 0x100026c8
pop esi
ret

Function at 0x10003390
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
jne 0x1000339f
pop edi
xor eax, eax
pop esi
ret
cmp word [esi], 0
jne 0x100033aa
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call edi
cmp eax, 0xffffffff
jne 0x100033c8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100033e3
pop edi
pop esi
ret
test al, 0x10
jne 0x100033e6
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100033e3
pop edi
pop esi
ret
push esi
call edi
pop edi
and eax, 0x10
pop esi
ret
Function at 0x10003ba0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1000e9d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esi], vtable.DlistNode.0
mov dword [esi + 4], esi
mov dword [esi + 8], esi
lea ebp, [esi + 0xc]
xor ebx, ebx
push 0x1000
mov ecx, ebp
mov dword [esp + 0x6c], ebx
call fcn.10001bd0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x10], ebx
lea ebx, [esi + 0x28]
rep stosd dword es:[edi], eax
mov ecx, ebx
mov dword [esi], vtable.Compression.0
xor edi, edi
mov byte [esp + 0x68], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x70]
cmp eax, edi
mov dword [ebx], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
je 0x10003d6b
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x78]
add esp, 4
cmp ecx, edi
mov dword [esp + 0x14], eax
je 0x10003c4d
cmp word [ecx], di
jne 0x10003c51
mov dword [esp + 0x78], edi
mov ecx, dword [esp + 0x7c]
cmp ecx, edi
je 0x10003c5e
cmp word [ecx], di
jne 0x10003c65
mov dword [esp + 0x80], edi
mov ecx, dword [esp + 0x84]
cmp ecx, edi
je 0x10003c7c
cmp word [ecx], di
je 0x10003c7c
mov edi, dword [esp + 0x88]
test eax, eax
je 0x10003d6b
mov eax, dword [esp + 0x78]
test eax, eax
je 0x10003d6b
test edi, edi
je 0x10003d6b
mov ecx, ebp
call fcn.10001fc0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
add edx, eax
add edx, ecx
push 0
add edx, edi
lea ecx, [edx + edx + 0xdc]
push ecx
mov ecx, ebp
call fcn.10001fd0
mov edi, eax
test edi, edi
je 0x10003d6b
mov eax, dword [esp + 0x80]
test eax, eax
jbe 0x10003d02
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
push str.__s__a__av___hp_s__k__r__rr__s__y____ibck__idq___s___s
push edi
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x18
jmp 0x10003d23
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
push str.__s__a__av___h__k__r__rr__s__y____ibck__idq___s___s
push edi
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x14
lea eax, [esp + 0x1c]
push ebx
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
mov ebp, 1
push edi
push 0
mov dword [esp + 0x70], ebp
mov word [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10003d58
mov dword [esp + 0x10], ebp
jmp 0x10003d6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.10003dc0
mov ecx, dword [esp + 0x60]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x1c
Function at 0x100041b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push esi
lea eax, [esp + 8]
push edi
mov esi, ecx
xor ebx, ebx
push eax
push 0xf003f
lea edi, [esi + 0xc98]
push ebx
push str.WinRAR_shellopencommand
push closesocket
mov dword [esp + 0x20], 0
mov word [edi], bx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100042c5
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edi
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x28], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100042ba
cmp dword [esp + 0x14], 1
jne 0x100042ba
mov word [esi + 0x2c96], bx
xor ecx, ecx
mov edx, edi
mov ax, word [edx]
cmp ax, 0x20
je 0x10004241
cmp ax, 9
je 0x10004241
cmp ax, 0x22
jne 0x1000424f
cmp ecx, 0x1000
jae 0x1000424f
inc ecx
add edx, 2
jmp 0x1000422c
cmp word [esi + ecx*2 + 0xc98], 9
lea eax, [esi + ecx*2 + 0xc98]
je 0x10004291
lea edx, [esi + 0xc9a]
cmp word [eax], 0x22
je 0x1000428d
mov cx, word [eax]
test cx, cx
je 0x1000428d
cmp cx, 0x5c
mov word [edx - 2], cx
jne 0x10004281
mov ebx, edx
add eax, 2
add edx, 2
cmp word [eax], 9
jne 0x10004267
test ebx, ebx
jne 0x10004298
mov word [edi], 0
jmp 0x100042ba
mov ecx, dword [str.rar.exe]
mov dword [ebx], ecx
mov edx, dword [0x100144c8]
mov dword [ebx + 4], edx
mov eax, dword [0x100144cc]
mov dword [ebx + 8], eax
mov ecx, dword [0x100144d0]
mov dword [ebx + 0xc], ecx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [edi], 0
je 0x100042e4
push edi
call fcn.10003440
add esp, 4
test eax, eax
je 0x100042e4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, esi
call fcn.10004140
test eax, eax
je 0x1000430d
push edi
call fcn.10003440
add esp, 4
test eax, eax
je 0x10004308
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
mov word [edi], 0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x10005310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push esi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov al, 0x74
mov byte [esp + 6], al
mov byte [esp + 0xa], al
lea eax, [esp + 4]
mov cl, 0x65
push eax
push esi
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], cl
mov byte [esp + 0xf], 0x53
mov byte [esp + 0x10], 0x79
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0x6d
mov byte [esp + 0x15], 0x49
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x66
mov byte [esp + 0x18], 0x6f
mov byte [esp + 0x19], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x18]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
add esp, 0x10
ret

Function at 0x10005390
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push esi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov al, 0x6f
mov byte [esp + 6], al
mov byte [esp + 0xd], al
mov al, 0x74
mov dl, 0x6c
mov byte [esp + 0x11], al
mov byte [esp + 0x13], al
lea eax, [esp + 4]
mov cl, 0x61
push eax
push esi
mov byte [esp + 0xc], 0x47
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], 0x62
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], 0x4d
mov byte [esp + 0x13], 0x65
mov byte [esp + 0x14], 0x6d
mov byte [esp + 0x16], 0x72
mov byte [esp + 0x17], 0x79
mov byte [esp + 0x18], 0x53
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1c], 0x75
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x1c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
add esp, 0x14
ret

Function at 0x100054a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push str.Kernel32.dll
mov dword [esp + 8], 0x400
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov al, 0x65
mov byte [esp + 9], al
mov byte [esp + 0x11], al
mov byte [esp + 0x16], al
lea eax, [esp + 8]
mov dl, 0x74
mov cl, 0x6d
push eax
push esi
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x12], dl
mov byte [esp + 0x13], 0x43
mov byte [esp + 0x14], 0x6f
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x70
mov byte [esp + 0x17], 0x75
mov byte [esp + 0x18], dl
mov byte [esp + 0x1a], 0x72
mov byte [esp + 0x1b], 0x4e
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1f], 0x57
mov byte [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 4]
push ecx
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
add esp, 0x18
ret