joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427083
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041cd53
and dword [ebp - 4], 0
cmp dword [0x440e00], 0
mov ebx, eax
jne 0x427134
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4271e5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4271e5
push eax
call fcn.0041cce1
mov dword [esp], 0x434590
push edi
mov dword [0x440e00], eax
call esi
push eax
call fcn.0041cce1
mov dword [esp], 0x43457c
push edi
mov dword [0x440e04], eax
call esi
push eax
call fcn.0041cce1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x440e08], eax
call esi
push eax
call fcn.0041cce1
pop ecx
mov dword [0x440e10], eax
test eax, eax
je 0x427134
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041cce1
pop ecx
mov dword [0x440e0c], eax
mov eax, dword [0x440e0c]
cmp eax, ebx
je 0x42718c
cmp dword [0x440e10], ebx
je 0x42718c
push eax
call fcn.0041cd5c
push dword [0x440e10]
mov esi, eax
call fcn.0041cd5c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42718c
test edi, edi
je 0x42718c
call esi
test eax, eax
je 0x427183
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x427183
test byte [ebp - 0xc], 1
jne 0x42718c
or dword [ebp + 0x10], 0x200000
jmp 0x4271c5
mov eax, dword [0x440e04]
cmp eax, ebx
je 0x4271c5
push eax
call fcn.0041cd5c
pop ecx
test eax, eax
je 0x4271c5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4271c5
mov eax, dword [0x440e08]
cmp eax, ebx
je 0x4271c5
push eax
call fcn.0041cd5c
pop ecx
test eax, eax
je 0x4271c5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440e00]
call fcn.0041cd5c
pop ecx
test eax, eax
je 0x4271e5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4271e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438cc8
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
add ebx, ebx
call fcn.00438cf7
sub ecx, 0xe538a708
xor dword [edi], esi
add ebx, 1
or ebx, ecx
or ebx, ebx
inc edi
add ecx, ecx
mov ebx, ecx
or ebx, ecx
cmp edi, edx
jne fcn.00438cc8
or ecx, ebx
dec ecx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
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
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0xd6f54eb
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
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
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x434655ba
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x46661d
Capabilities:
Parse pe header

Disassembly:
push 0
call fcn.004fe4bc
nop
test eax, eax
je 0x46665d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x46665d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x46665d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x46665d
cmp dword [ecx + 0x74], 0xe
jbe 0x46665d
cmp dword [ecx + 0xe8], 0
je 0x46665d
mov al, 1
ret
xor al, al
ret
Function at 0x4c2bd4
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
call 0x4cd6f0
movsd dword es:[edi], dword [esi]
test dword [ebx - 0xbe19728], edi
bnd jle 0x4c2bcb
add cl, ch
cmp ecx, dword [ecx + 1]
add byte [eax], al
add byte [eax], al
call fcn.00512f00
loopne 0x4c2c55
push 0x35
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0xfffec060
xchg dword [esp], ebx
push ebp
mov ebp, esp
leave
xchg dword [esp + 4], ebx
lea eax, [eax]
xchg dword [esp], ebx
push ebp
mov ebp, esp
leave
popfd
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0x6b]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
jmp 0x4c2bbc

Function at 0x4c7210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 4
mov esi, dword [esp]
lea esp, [esp + 4]
add esi, 1
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 0xf]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
jmp fcn.004c6b4c
call fcn.004a23b8
mov bh, dl
inc edx
jo 0x4a1622
pop edx
invalid
jmp 0x4a164c
Function at 0x4d3884
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x4d38df
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x4d38a4
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x4d4808
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x5029b4
add al, 0x89
je 0x502968
add al, 0x8b
xor al, 0x24
lea esp, [esp + 4]
add dword [esp], 0xfffd5007
xchg dword [esp], ecx
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x5b]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], ecx
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x7a]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], ecx
lea ecx, [ecx]
popfd
pushfd
add ebp, 0x6f
popfd
lea ebp, [ebp - 0x6f]
ret
call 0x501774
movsd dword es:[edi], dword [esi]
jp 0x502940
imul eax, dword [edi - 0x27], 0x24
inc esi
jno 0x5029f0
and byte [0xa8082535], bl
jns 0x5029d0
jno 0x502a0e
and al, 4
and al, 4
call dword [esp + eax*4]
add byte [eax], al
add byte [ebp + 0x51042464], cl
mov ecx, dword [esp + 6]
pop ecx
pushfd
lea edi, [edi]
call 0x502a26
push ebp
Function at 0x4dbfe4
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushfd
pushfd
add ebp, 0x53
popfd
lea ebp, [ebp - 0x53]
xchg edi, eax
lea esp, [esp - 4]
mov dword [esp], edi
mov edi, eax
mov eax, dword [esp]
xchg edx, eax
lea esp, [esp - 4]
mov dword [esp], eax
mov eax, edx
mov edx, dword [esp]
rdtsc
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x15]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
and eax, 1
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x2f]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
xchg edx, eax
xchg dword [esp], eax
xchg edx, eax
lea esp, [esp + 4]
xchg edx, eax
xchg dword [esp], edx
xchg edx, eax
lea esp, [esp + 4]
je 0x4ca5b8
jne 0x519fd0
jmp 0x4ca5b6
add byte [eax], al
popfd
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x6a]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
je 0x50bf68
jne 0x50bf68
jmp 0x50bf66
xchg ecx, eax
mov ecx, dword [edx + ebx + 4]
push eax
xchg ecx, eax
pop ecx
xchg esi, eax
lea esp, [esp - 4]
mov dword [esp], eax
mov eax, esi
mov esi, dword [esp]
lea esi, [edx + ebx]
push ebp
mov ebp, esp
leave
test eax, eax
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x5b]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
je 0x4f3385
jmp 0x4a21c4
jmp 0x510cc4
in al, 0x33
mov ecx, dword [ebp + 8]
call fcn.004ce278
stosd dword es:[edi], eax
jne 0x4f3383
daa
xchg esp, eax
fdiv dword [esi + eax - 0x1a]
push 0xd42c4904
jl 0x4f3416
test byte [esi - 0x3b7cbefc], cl
adc al, ch
lahf
jp 0x4f33a6
invalid
push esp
and al, 0
push ebx
mov ebx, dword [esp + 4]
lea ebx, [ebx + 0x3f]
xchg dword [esp + 4], ebx
mov dword [esp + 4], ebx
mov ebx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], edx
lea edi, [edi]
xchg dword [esp], edx
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x4c]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
popfd
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x35]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
jmp 0x4fd1b8
outsb dx, byte [esi]
add byte [ebp + 0x1b8df878], cl
call fcn.00509848
arpl cx, cx
dec ecx
loopne 0x510d1a
mov gs, word [edx + 9]
sbb dword es:[edx + 0x3e7825e6], ebx
lds eax, [ecx - 0x79]
ror dword [ebx - 0x78acf3ab], cl
rcr dword [edx - 0x79], cl
ror dword [ebx - 0x78aec3ad], 1
rcr dword [edx - 0x6e], 1
mov eax, dword [ecx + ebx + 0xa0]
push edx
xchg edx, eax
pop eax
test edx, edx
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0xd]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
je 0x4fc3b8
xchg esi, eax
mov esi, ebx
push eax
push eax
xchg esi, eax
pop esi
push dword [ecx + ebx + 0x34]
cmp eax, dword [esp]
pushfd
not dword [esp + 4]
inc dword [esp + 4]
add eax, dword [esp + 4]
popfd
lea esp, [esp + 4]
xchg dword [ebp - 4], ebx
mov ebx, eax
push dword [ebp - 4]
xchg dword [ebp - 4], ebx
pop ebx
jmp 0x4cef58

Function at 0x4f3b5c
Capabilities:
Encode data using xor

Disassembly:
call fcn.0051b8a0
invalid
jmp 0x4d29c8
Function at 0x51382c
Capabilities:
Encode data using xor

Disassembly:
add al, 0x8d
push edx
adc al, 0x87
push esp
and al, 4
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], edi
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x3a]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
ret
call fcn.004c38f4
scasb al, byte es:[edi]
test eax, 0xbc56ad01
jbe 0x5016e2
mov word [ebx + 0x48], gs
stosd dword es:[edi], eax
invalid
jmp 0x501744

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x77272d5e
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
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
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x50d67f7e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x6bca50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
jmp 0x6bca59
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax]
test ch, 0x80
jne 0x6bca90
mov ecx, dword [edi + 0xc0]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
add eax, edx
mov edx, dword [edi + 0xbc]
push edx
push ecx
push eax
call fcn.006bcaf0
add esp, 0xc
jmp 0x6bca98
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
not eax
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x6bcace
mov edx, dword [edi + 0xc0]
mov eax, dword [edx]
mov edx, dword [esi]
add eax, edx
mov edx, dword [edi + 0xbc]
push edx
push ecx
push eax
call fcn.006bcaf0
mov ecx, dword [esi + 0xc]
add esi, 8
add esp, 0xc
xor ebx, eax
test ecx, ecx
jne 0x6bcaa5
call fcn.006bcad4
push 0x8b04c483
add esp, 4
mov ecx, dword [ebp + 0x10]
mov eax, ebx
pop edi
pop esi
xor eax, ecx
pop ebx
pop ebp
ret
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x6bcafc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call 0x6bcafc
push 0x8b04c483
dec ebp
or al, 0x8b
push ebp
or byte [ebx - 0x9cc0038], al
test ecx, ecx
jbe 0x6bcb39
mov edi, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov cl, byte [edx]
inc edx
mov ebx, ecx
add esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [edi + ebx*4]
xor eax, ebx
dec ecx
mov dword [ebp + 8], ecx
jne 0x6bcb14
mov ecx, dword [ebp + 0xc]
not eax
xor eax, ecx
mov esi, eax
call 0x6bcb46
pop ecx
push 0x8b04c483
invalid

Function at 0x6bcbc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
jmp 0x6bcbc9
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc0]
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx]
mov esi, dword [eax]
add edx, esi
mov esi, dword [eax + 4]
shr esi, 2
xor ecx, ecx
test esi, esi
jle 0x6bcc0b
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edx]
add edx, 4
xor eax, edi
add edi, ecx
mov ebx, eax
shr ebx, 0x15
shl eax, 0xb
or ebx, eax
sub ebx, ecx
inc ecx
mov dword [edx - 4], ebx
cmp ecx, esi
jl 0x6bcbec
pop edi
pop ebx
jmp 0x6bcc0e
pop esi
pop ebp
ret
Function at 0x71dfe0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x2d5000]
push edi
jmp 0x71dffa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71e001
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dff0
mov eax, 1
add ebx, ebx
jne 0x71e013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71e024
jne 0x71e043
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e043
dec eax
add ebx, ebx
jne 0x71e030
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71e008
add ebx, ebx
jne 0x71e03f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71e095
xor ecx, ecx
sub eax, 3
jb 0x71e05b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71e0ca
sar eax, 1
mov ebp, eax
jmp 0x71e066
add ebx, ebx
jne 0x71e066
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e034
inc ecx
add ebx, ebx
jne 0x71e074
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e034
add ebx, ebx
jne 0x71e081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71e076
jne 0x71e092
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71e076
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71e0b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71e0a6
jmp 0x71dff6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71e0b4
add edi, ecx
jmp 0x71dff6
pop esi
mov edi, esi
mov ecx, 0x3bf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71e0d2
cmp byte [edi], 7
jne 0x71e0d2
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 0x71e0d7
lea edi, [esi + 0x31b000]
mov eax, dword [edi]
or eax, eax
je 0x71e146
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a81bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a81f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71e104
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a8200]
or eax, eax
je 0x71e140
mov dword [ebx], eax
add ebx, 4
jmp 0x71e121
call dword [esi + 0x3a81fc]
mov ebp, dword [esi + 0x3a8204]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x71e17a
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x41b549
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041c630
cmp byte [0x449118], 0
je 0x41b5d3
cmp word [0x455808], 0
je 0x41b5d3
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x455808
call fcn.0041a204
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41b5d2
push dword [ebp + 8]
call fcn.00421845
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41b5d9
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041c630
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0040eb20
mov esi, eax
test esi, esi
je 0x41b631
movzx ecx, word [esi]
push ecx
jmp 0x41b61c
add esi, 2
movzx eax, word [esi]
push eax
call fcn.0040ec17
test al, al
jne 0x41b615
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x57630325
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xcda16cb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
call fcn.0040895c
xor dword [edx], edi
and ebx, eax
sub eax, 0xcbb03d2
add edx, 1
add ebx, 0x651b9653
cmp edx, ecx
jne fcn.00408933
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.Printers
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 0x104
mov edi, 0x10003030
push edi
push dword [0x10003020]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [0x10003036], ax
xor ebx, ebx
movzx ecx, word [eax + 0x10002040]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x1000118a
push 1
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x10003036], ax
movzx ecx, word [eax + str.desktop.ini]
mov word [eax + 0x10003030], cx
add eax, 2
cmp cx, bx
jne 0x100011b5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push edi
mov dword [0x10003018], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
push ebx
cmp eax, 0xffffffff
jne 0x10001208
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10003024
push esi
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402b3c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046c0
test esi, esi
jne 0x402b72
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004047b0
jmp 0x402b90
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029f0
mov edi, eax
test esi, esi
je 0x402b90
cmp dword [ebx], 0
je 0x402b90
dec esi
jmp 0x402b79
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4c1008], 0x8088405
inc edx
mov dword [ebx + 0x4c1008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40373c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c1024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4037b4
xor eax, eax
push ebp
push 0x4037ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037f0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x4c1024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c1024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4044a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c704c], 0
je 0x404501
cmp word [0x4c7220], 0xd7b2
jne 0x4044c9
cmp dword [0x4c7228], 0
jbe 0x4044c9
mov eax, 0x4c721c
call dword [0x4c7238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c1074
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404528
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4c1034], 0
jne 0x40451d
push 0
push 0x4c106c
push 0x4c1074
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x404674
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027b4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40463c
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread_1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc