joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10100c3
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.0100d3f0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1010129
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1016ddc]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x101012d
xor eax, eax
jmp 0x101013a
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1010416
Capabilities:
Check os version
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101203c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp dword [0x10122b0], eax
push esi
push edi
mov dword [ebp - 0x218], eax
je 0x1010470
push 0x1016fd0
mov dword [0x10122b0], eax
mov dword [0x1016fd0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1010470
mov dword [0x1016fe0], 1
cmp dword [0x1016fe0], 2
jne 0x1010585
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, 0x104
push esi
lea eax, [ebp - 0x110]
push eax
push 0x100682c
call edi
test eax, eax
je 0x10104b9
push 0x100681c
lea eax, [ebp - 0x110]
push eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.01010369
test eax, eax
jne 0x1010524
cmp dword [0x1016fd4], 5
jb 0x10104f3
push esi
lea eax, [ebp - 0x110]
push eax
push 0x10067d0
call edi
test eax, eax
je 0x10104f3
push 0x100680c
lea eax, [ebp - 0x110]
push eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.01010369
test eax, eax
jne 0x1010524
push esi
lea eax, [ebp - 0x110]
push eax
push 0x1006800
call edi
test eax, eax
je 0x1010559
push 0x10067f0
lea eax, [ebp - 0x110]
push eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.01010369
test eax, eax
je 0x1010559
mov dword [ebp - 0x218], 1
lea ebx, [ebp - 0x214]
push dword [ebp + 0x10]
push ebx
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
pop ebx
call fcn.0100d038
leave
ret 0xc
push 5
lea eax, [ebp - 0xc]
push eax
push 0x10067c4
call edi
test eax, eax
je 0x1010585
push 0x10067e0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
lea eax, [ebp - 0x214]
push eax
call fcn.01010369
test eax, eax
jne 0x1010524
cmp dword [ebp - 0x21c], ebx
je 0x1010544
jmp 0x1010534
Function at 0x402752
Capabilities:
Encode data using xor

Disassembly:
call 0x402642
mov ecx, 0x1f7
call 0x402752
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x402755
sub bl, cl
sub ch, 0x8d
out dx, al
clc
div esi
cmc
retf

Function at 0x40a3c0
Capabilities:
Terminate process

Disassembly:
xor ebp, ebp
add al, 0x6b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0xa53100
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, 0xa7d664
mov dword [esp], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0xa53112
sub eax, edx
sar eax, 1
jne 0xa53129
xor eax, eax
add esp, 0x18
ret
push 0xa7d51c
lea eax, [esp + 4]
push 0xa7d664
push eax
call fcn.00a6468f
add esp, 0xc
test eax, eax
jne 0xa53123
mov edx, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov word [esp + 0x14], ax
mov eax, dword [esp]
push eax
mov ecx, 0x4d42
push 1
mov word [esp + 0x10], cx
lea ecx, [esp + 0x10]
add edx, 0xe
push 0xe
push ecx
mov dword [esp + 0x1a], edx
mov dword [esp + 0x22], 0x36
call fcn.00a64844
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
push 1
push eax
push ecx
call fcn.00a64844
mov edx, dword [esp + 0x20]
push edx
call fcn.00a6493d
add esp, 0x24
mov eax, 1
add esp, 0x18
ret

Function at 0xa534a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xa82c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00a666f0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xa5356f
mov eax, 0xa7d860
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xa534e5
sub eax, edx
sar eax, 1
je 0xa5356f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00a7824c]
push 0xa7d860
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00a64162
push 0xa7d894
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00a6468f
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xa5356f
push eax
push 1
push 0x200
push esi
call fcn.00a6565d
mov eax, dword [esp + 0x14]
push eax
call fcn.00a6493d
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00a64153
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00a64153
add esp, 0x214
ret
Function at 0xa53f50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xa82c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00a666f0
add esp, 0xc
cmp edi, esi
je 0xa54038
mov eax, 0xa7d914
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0xa53f95
sub eax, edx
sar eax, 1
je 0xa53fbf
push 0xa7d918
lea edx, [esp + 8]
push 0xa7d914
push edx
call fcn.00a6468f
add esp, 0xc
jmp 0xa53ffa
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.00a7824c]
push 0xa7d860
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00a64162
push 0xa7d918
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00a6468f
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0xa5401d
push eax
push 1
push 0x200
push edi
call fcn.00a64844
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00a6493d
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00a64153
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00a64153
add esp, 0x214
ret

Function at 0xa54050
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0xa7d894
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00a6468f
add esp, 0xc
test eax, eax
je 0xa54074
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00a65bc6
mov eax, dword [esp + 0x1c]
push eax
call fcn.00a65a5a
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00a65bc6
lea ebp, [esi + 0x32]
push ebp
call fcn.00a644ff
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.00a6565d
mov eax, dword [esp + 0x40]
push eax
call fcn.00a6493d
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.00a54120
mov ecx, dword [esp + 0x4c]
push 0xa7d918
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00a6468f
add esp, 0x40
test eax, eax
je 0xa540f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00a64844
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00a6493d
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x6b0444e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6b04453b
cmp byte [esi + ebx - 1], 0xa
je 0x6b04450f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6b045194], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x40334c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.004033d0
jae 0x40335b
xor ecx, ecx
call fcn.004033d0
jae 0x40338a
xor eax, eax
call fcn.004033d0
jae 0x40339a
mov bl, 2
inc ecx
mov al, 0x10
call fcn.004033d0
adc al, al
jae 0x40337c
jne 0x4033c6
stosb byte es:[edi], al
jmp 0x40335e
call fcn.004033dc
sub ecx, ebx
jne 0x4033a3
call fcn.004033da
jmp 0x4033c2
lodsb al, byte [esi]
shr eax, 1
je 0x4033ec
adc ecx, ecx
jmp 0x4033bf
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.004033da
cmp eax, 0x7d00
jae 0x4033bf
cmp ah, 5
jae 0x4033c0
cmp eax, 0x7f
ja 0x4033c1
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40335e
popal
pop ebp
ret 8
Function at 0x401a79
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41f044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0040c1f0
add esp, 0xc
mov dword [ebp - 0x210], ebx
cmp edi, ebx
je 0x401b22
push esi
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [fcn.004190ac]
push 0x41b344
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00408d89
push 0x41b360
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004092bf
add esp, 0x18
pop esi
cmp dword [ebp - 0x210], ebx
je 0x401b22
push dword [ebp - 0x210]
inc ebx
push ebx
push 0x200
push edi
call fcn.00409550
push dword [ebp - 0x210]
call fcn.004095da
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00408d7a
leave
ret

Function at 0x401b31
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41f044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0040c1f0
add esp, 0xc
mov dword [ebp - 0x210], ebx
cmp edi, ebx
je 0x401c08
cmp dword [0x41ff3c], 3
push esi
mov esi, 0x104
lea eax, [ebp - 0x20c]
jne 0x401ba7
push esi
push eax
call dword [0x419028]
push 0x41b368
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00408d89
add esp, 0xc
jmp 0x401baf
push eax
push esi
call dword [fcn.004190ac]
push 0x41b28c
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00408d89
push 0x41b360
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004092bf
add esp, 0x18
pop esi
cmp dword [ebp - 0x210], ebx
je 0x401c08
push dword [ebp - 0x210]
xor ebx, ebx
inc ebx
push ebx
push 0x200
push edi
call fcn.00409550
push dword [ebp - 0x210]
call fcn.004095da
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00408d7a
leave
ret
Function at 0x401000
Capabilities:
Parse pe header

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp word [eax], 0x5a4d
push edi
je 0x401018
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [esp + 0x10], edi
cmp dword [edi], 0x4550
je 0x401031
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov ebp, eax
test ebp, ebp
jne 0x401068
mov edx, dword [edi + 0x50]
jmp loc.00431960
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x50]
push eax
push ebp
call esi
mov ecx, dword [edi + 0x54]
push 4
push 0x1000
push ecx
push ebp
call esi
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x54]
mov edi, eax
push ebx
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push esi
push ecx
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], ebp
call fcn.00401150
mov ecx, dword [esi + 0x34]
mov eax, ebp
add esp, 0xc
sub eax, ecx
je 0x4010f1
push eax
push ebx
call fcn.004012e0
add esp, 8
push ebx
call fcn.00401360
add esp, 4
test eax, eax
je 0x401121
push ebx
call fcn.00401220
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x401139
add eax, ebp
test eax, eax
je 0x401121
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x401132
push ebx
call fcn.00401520
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x401150
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x401211
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x4011bb
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4011ef
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4011ef
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40117e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401220
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x4012d9
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
jmp loc.00431af0
pop ebp
pop ebx
pop ecx
ret

Function at 0x4015b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0xc]
jmp loc.00432770

Function at 0x401630
Capabilities:
Check if file exists
Check os version
Get common file path
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 6
je 0x4016f7
push edi
nop
nop
nop
jmp 0x431e10
nop
nop
nop
nop
nop
lea edx, [ebp - 8]
mov byte [ebp - 8], 0x48
push edx
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x73
mov byte [ebp - 5], 0x74
mov byte [ebp - 4], 0
call fcn.004015e0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4010a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 0x410078
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x42
call fcn.00402520
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov al, 0x45
mov byte [ebp - 0x23], al
mov byte [ebp - 0x20], al
mov al, 0x6c
push str.HeapFree
push str.kernel32.dll
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x22], 0x52
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], 0
call esi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov edi, eax
nop
nop
nop
nop
nop
nop
mov cl, 0x73
lea edx, [ebp - 0x24]
mov byte [ebp - 0x2c], cl
mov byte [ebp - 0x2b], cl
lea ecx, [ebp - 0x34]
mov al, 0x65
push ecx
push edx
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], al
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x63
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2a], 0x48
mov byte [ebp - 0x29], al
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x70
mov byte [ebp - 0x26], 0
call esi
push eax
call ebx
mov ecx, eax
nop
nop
nop
nop
nop
nop
inc eax
inc ebx
sub ebx, 2
dec eax
inc ebx
mov eax, dword [ebp + 8]
push eax
push 0
call ecx
push eax
call edi
mov eax, 0x40119c
ret
Function at 0x401580
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
inc eax
inc ebx
sub ebx, 2
dec eax
inc ebx
push str.VirtualAlloc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
mov si, word [eax + 0x14]
lea esi, [esi + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [ecx]
xor ecx, ecx
mov cx, word [eax + 6]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jge 0x4016da
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x401640
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4016c2
mov ecx, dword [esi + 0xc]
push 4
push 0x1000
add ecx, edx
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4016c2
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
push 4
push 0x1000
add ecx, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x1c], eax
inc eax
inc ebx
sub ebx, 2
dec eax
inc ebx
lea edx, [ebp - 0x20]
push 0x410078
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x55
call fcn.00402520
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, ecx
add esi, edi
mov edi, dword [ebp - 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x4016b2
and ecx, 3
rep movsb byte es:[edi], byte [esi]
ret
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
inc ecx
add esi, 0x28
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x4015e8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
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, 0x4b5c782f
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
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 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x381f48ba
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403a60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4d7064]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.00460000
add esp, 0xc
lea eax, [ebp - 0x804]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.AnythingInstaller
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x808], esi
test esi, esi
je 0x403b47
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403b14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4b7724
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x403b02
push 0
push 0
push 0x1400
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043427a
mov esp, ebp
pop ebp
ret
push edi
lea edi, [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 8]
lea ecx, [ebx + 4]
cmp dword [ecx + 8], eax
je 0x403b32
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x403b3f
lea edx, [ebp - 0x808]
push edx
push eax
call fcn.00403550
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0043427a
mov esp, ebp
pop ebp
ret