joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ad5b3
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x65a3a7
call fcn.004ce655
mov edi, ecx
lea eax, [ebp - 0x230]
push eax
call fcn.004ad2bd
and dword [ebp - 4], 0
lea esi, [edi + 4]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ad5e5
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push 0x66d1b8
call fcn.00405ad6
push 0x66d1bc
mov ecx, esi
call fcn.00405ad6
push 0x6da5d0
mov ecx, esi
call fcn.00405ad6
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00405a78
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ad63a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ad6d2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e5a10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004ad191
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ad691
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00405ad6
push 0x6da5d0
mov ecx, esi
call fcn.00405ad6
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00405a78
cmp dword [esi + 0x14], 8
jb 0x4ad6da
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea esi, [edi + 0x1c]
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ad6f2
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push 0x66d1b8
call fcn.00405ad6
push 0x66d1bc
mov ecx, esi
call fcn.00405ad6
push 0x6da5d0
mov ecx, esi
call fcn.00405ad6
lea eax, [ebp - 0x248]
mov ecx, edi
push eax
call fcn.004ad31c
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00408034
lea ecx, [ebp - 0x248]
call fcn.00402e90
lea ecx, [ebp - 0x230]
call fcn.00402e90
call fcn.004ce5ff
ret
Function at 0x4b5240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x4b5270
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x4b526f
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x4b525f
pop edi
pop esi
pop ebp
ret 8

Function at 0x4b5491
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x65add0
call fcn.004ce621
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xf
mov byte [eax], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
cmp dword [ebp + 0x10], ebx
je 0x4b561c
mov eax, dword [ebp + 0x10]
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x4b5562
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x6f039c], 0x10
mov ecx, 0x6f0388
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x6f0388]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004089a3
inc edi
cmp edi, 4
jl 0x4b552a
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4b54cc
mov dword [ebp + 0x10], edi
test edi, edi
je 0x4b5619
mov eax, edi
cmp edi, esi
jge 0x4b5598
cmp eax, esi
jae 0x4b5622
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x4b5580
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x4b5604
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x6f039c], 0x10
mov ecx, 0x6f0388
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x6f0388]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.004089a3
inc ebx
cmp ebx, edi
jl 0x4b55d5
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x4b5619
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.004089a3
sub esi, 1
jne 0x4b560a
mov eax, dword [ebp + 8]
call fcn.004ce5ea
ret
call fcn.004ce999
int3
Function at 0x4b8e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b170
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x6f03ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x67
push 0x6f
push 0x6c
push 0x74
push 0x6e
push 0x65
push 0x74
push 0x6e
push 0x6f
push 0x43
push 0x70
push 0x74
push 0x74
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
lea eax, [ebp - 0x28]
push eax
call fcn.004ab347
add esp, 0x50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00405b6c
mov byte [ebp - 4], 1
push 0x66d1b8
lea ecx, [ebp - 0x40]
call fcn.00405ad6
push 0x66d1bc
lea ecx, [ebp - 0x40]
call fcn.00405ad6
push 0x6da5d0
lea ecx, [ebp - 0x40]
call fcn.00405ad6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408034
lea ecx, [ebp - 0x40]
call fcn.0040599e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b8f83
push 0x208
push 0
lea eax, [ebp - 0x248]
push eax
call fcn.004e5a10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x40]
call fcn.004b8030
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405ad6
push 0x6da5d0
lea ecx, [ebp - 0x40]
call fcn.00405ad6
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408034
lea ecx, [ebp - 0x40]
call fcn.0040599e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b8f9f
mov byte [ebp - 0x2ca], 1
jmp 0x4b8fa6
mov byte [ebp - 0x2ca], 0
mov al, byte [ebp - 0x2ca]
mov byte [ebp - 0x2c9], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00402ebe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402ebe
mov al, byte [ebp - 0x2c9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdce5
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016d79
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10020008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov dword [ebp - 4], eax
push 0x208
mov dword [ebp - 0x20], 1
call fcn.1000657e
mov edx, eax
add esp, 4
mov ecx, 0x82
mov dword [ebp - 0x1c], edx
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001137
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
push 0
push 0
push 0
push str.68131367
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000112e
cmp dword [ebp - 0x14], 0x104
jbe 0x10001100
push dword [ebp - 0x1c]
call fcn.10006587
mov eax, dword [ebp - 0x14]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000657e
mov ecx, dword [ebp - 0x14]
add esp, 8
mov esi, eax
add ecx, 1
je 0x10001103
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x10001103
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 0
push str.68131367
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov ecx, ebx
push esi
call fcn.10001170
push esi
call fcn.10006587
add esp, 4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000655f
mov esp, ebp
pop ebp
ret
Function at 0x10003ad0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x10020008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x61c]
push edi
push 0x104
push eax
push 0x1001cee0
call esi
lea eax, [ebp - 0x61c]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001ae0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
add esp, 0x10
test edi, edi
js 0x10003b53
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
mov edi, eax
test edi, edi
jle 0x10003b48
movzx edi, di
or edi, 0x80070000
xor eax, eax
cmp edi, 0x80070002
cmove edi, eax
push str.FolderViewSampleType
push SysReAllocString
call ebx
test eax, eax
jle 0x10003b6b
movzx eax, ax
or eax, 0x80070000
xor ecx, ecx
cmp eax, 0x80070002
push 0x104
cmovne ecx, eax
lea eax, [ebp - 0x414]
push eax
push 0x1001cef0
mov dword [ebp - 0x620], ecx
call esi
lea eax, [ebp - 0x414]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001ae0
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10003c2f
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
test eax, eax
jle 0x10003bce
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
test esi, esi
js 0x10003c2f
lea eax, [ebp - 0x414]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10001ae0
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10003c2f
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
test eax, eax
jle 0x10003c1c
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
test esi, esi
js 0x10003c2f
call fcn.10003100
test edi, edi
js 0x10003c53
test esi, esi
js 0x10003c53
cmp dword [ebp - 0x620], 0
jl 0x10003c53
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000655f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80040201
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000655f
mov esp, ebp
pop ebp
ret
Function at 0x87f750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a1000]
push edi
jmp 0x87f76a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x87f771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87f760
mov eax, 1
add ebx, ebx
jne 0x87f783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x87f794
jne 0x87f7b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87f7b3
dec eax
add ebx, ebx
jne 0x87f7a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x87f778
add ebx, ebx
jne 0x87f7af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x87f805
xor ecx, ecx
sub eax, 3
jb 0x87f7cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x87f83a
sar eax, 1
mov ebp, eax
jmp 0x87f7d6
add ebx, ebx
jne 0x87f7d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87f7a4
inc ecx
add ebx, ebx
jne 0x87f7e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x87f7a4
add ebx, ebx
jne 0x87f7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x87f7e6
jne 0x87f802
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x87f7e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x87f824
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x87f816
jmp 0x87f766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x87f824
add edi, ecx
jmp 0x87f766
pop esi
mov edi, esi
mov ecx, 0xd19e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x87f842
cmp byte [edi], 0x3f
jne 0x87f842
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 0x87f847
lea edi, [esi + 0x473000]
mov eax, dword [edi]
or eax, eax
je 0x87f8bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x47f4f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x47f548]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x87f874
mov ecx, edi
jns 0x87f8a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x47f550]
or eax, eax
je 0x87f8b9
mov dword [ebx], eax
add ebx, 4
jmp 0x87f891
call dword [esi + 0x47f54c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x87f8f0
cmp al, 0xef
ja 0x87f8e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x87f8c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x87f8d2
mov ebp, dword [esi + 0x47f554]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x87f924
sub esp, 0xffffff80
jmp 0x591a92
Function at 0x407430
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, ecx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp edi, 0x1f
jb 0x4075d0
test edx, 3
je 0x407462
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jmp 0x407447
xor eax, dword [edx]
lea edi, [edx + edi - 0x1b]
sub edx, edi
lea ebx, [ebx]
mov ecx, dword [edi + edx + 0xc]
mov ebx, dword [edi + edx + 8]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x400]
xor ecx, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 4]
movzx esi, bl
xor ecx, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor ecx, dword [ebp + esi*4 + 0x1400]
xor ecx, dword [ebp + ebx*4 + 0x1000]
movzx esi, al
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebp + esi*4 + 0x2c00]
xor ecx, dword [ebp + ebx*4 + 0x2000]
ror eax, 0x10
movzx esi, al
shr eax, 0x18
xor ecx, dword [ebp + esi*4 + 0x2400]
xor ecx, dword [ebp + eax*4 + 0x2800]
mov eax, dword [edi + edx + 0x18]
mov ebx, dword [edi + edx + 0x14]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0xc00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x400]
xor eax, dword [ebp + ebx*4]
mov ebx, dword [edi + edx + 0x10]
movzx esi, bl
xor eax, dword [ebp + esi*4 + 0x1c00]
movzx esi, bh
shr ebx, 0x10
xor eax, dword [ebp + esi*4 + 0x1800]
movzx esi, bl
shr ebx, 8
xor eax, dword [ebp + esi*4 + 0x1400]
xor eax, dword [ebp + ebx*4 + 0x1000]
movzx esi, cl
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebp + esi*4 + 0x2c00]
xor eax, dword [ebp + ebx*4 + 0x2000]
ror ecx, 0x10
movzx esi, cl
shr ecx, 0x18
xor eax, dword [ebp + esi*4 + 0x2400]
xor eax, dword [ebp + ecx*4 + 0x2800]
add edx, 0x18
jae 0x407470
add edi, 0x18
sub edx, 0x18
movzx ebx, al
movzx ecx, ah
shr eax, 0x10
movzx esi, al
shr eax, 8
mov eax, dword [ebp + eax*4]
xor eax, dword [ebp + ebx*4 + 0xc00]
xor eax, dword [ebp + ecx*4 + 0x800]
xor eax, dword [ebp + esi*4 + 0x400]
add edx, 4
jb 0x4075c9
xor eax, dword [edi + edx]
jmp 0x407597
add edx, edi
add edi, 3
sub edi, edx
test edi, edi
je 0x4075e7
movzx esi, byte [edx]
movzx ebx, al
inc edx
shr eax, 8
xor esi, ebx
xor eax, dword [ebp + esi*4]
dec edi
jne 0x4075d4
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40f000
Capabilities:
Encode data using xor

Disassembly:
dec eax
mov ecx, esp
fcmovne st(0), st(2)
and cx, 0xfbe0
dec eax
fxsave [ecx]
dec ecx
mov ebx, 0xc2afa68d
shr dword [eax], cl
cmc
sub ch, dh
scasd eax, dword es:[edi]
dec eax
xor eax, eax
mov ax, 0x65b4
dec esp
mov esp, dword [ecx + 8]
dec eax
dec eax
dec ebp
xor dword [esp + eax*8 + 0x2d], ebx
dec eax
test eax, eax
jne 0x40f023
push esi
jp 0x40f015
adc esp, dword [ecx + 0x4c]
cdq
mov ebx, 0x10018a64
scasb al, byte es:[edi]
scasd eax, dword es:[edi]
leave
int3
Function at 0x403201
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00411430
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
jne 0x40321f
xor al, al
jmp 0x4033a1
push esi
push edi
call fcn.004033a8
push edi
call fcn.004166c5
pop ecx
push edi
mov esi, eax
call fcn.004033d4
test al, al
je 0x4032bf
push edi
call fcn.004033a8
test al, al
je 0x40326e
lea eax, [esi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x4032b8
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a6b
lea eax, [esi + 8]
push edi
push eax
call fcn.004166a3
add esp, 0x14
jmp 0x4032b1
push 0x5c
pop eax
cmp word [edi], ax
jne 0x4032b8
add edi, 2
cmp word [edi], ax
jne 0x4032b8
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x4032b8
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a6b
lea eax, [esi + 8]
push 0x4242c4
push eax
call fcn.004166a3
lea eax, [esi + 0xe]
push edi
push eax
call fcn.004166a3
add esp, 0x1c
mov al, 1
jmp 0x4033a0
xor al, al
jmp 0x4033a0
push ebx
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40339d
cmp eax, ebx
ja 0x40339d
movzx eax, word [edi]
push eax
call fcn.0040340a
test al, al
je 0x40332d
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x40339d
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a6b
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00417a6b
lea eax, [esi + 0xc]
push edi
push eax
call fcn.004166a3
add esp, 0x20
jmp 0x403399
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.00402e13
lea eax, [ebp - 0x1000]
push eax
call fcn.004166c5
add eax, 4
add eax, esi
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x40339d
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00417a6b
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.004166a3
add esp, 0x14
cmp word [edi], 0x2e
jne 0x40338f
movzx eax, word [edi + 2]
push eax
call fcn.0040340a
test al, al
je 0x40338f
add edi, 4
push dword [ebp + 0x10]
push edi
push esi
call fcn.00405a36
mov al, 1
jmp 0x40339f
xor al, al
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417cf2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
je 0x417d57
adc cl, byte [edi]
popfd
test edx, edx
mov eax, 0x17b78c67
invalid
invalid
mov bh, 0x17
mov dl, 7
outsd dx, dword [esi]
sbb eax, 0x9e654786
xchg byte [edi + 0x65], al
sahf
jl 0x417d47
invalid
invalid

Function at 0x417d6a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
inc eax
cmp dword [ebx], ebx
jnp 0x417dcb
std
arpl word [ecx - 0x1c], bx
jb 0x417de4
xchg edx, eax
jg 0x417dcf
cmova esi, dword [ebx + 0x6c]
invalid
lahf
push ecx
invalid
invalid

Function at 0x42f14a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
imul edi, edi, 0x37
jge fcn.0042f172
in al, dx
mov eax, dword [0x12d06352]
sbb al, 0x64
aaa
ret

Function at 0x45d356
Capabilities:
Encode data using xor

Disassembly:
mov ch, 5
test al, 0xd6
in al, 0x5d
pop ebp
pop ebp
xor dword [edi + 0x1d], ebp
xchg edi, eax
mov ecx, 0x7abe2e54
mov esi, 0xee772f7a

Function at 0x4bbee1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3408
cmp edx, dword [eax]
je 0x4bbf03
add eax, 8
inc ecx
cmp eax, 0x4c3498
jl 0x4bbef4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3408]
jne 0x4bc031
mov eax, dword [0x4c8e30]
cmp eax, 1
je 0x4bc00b
test eax, eax
jne 0x4bbf34
cmp dword [0x4c3334], 1
je 0x4bc00b
cmp edx, 0xfc
je 0x4bc031
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bbf6b
lea eax, [ebp - 0x1a4]
push 0x4c16b0
push eax
call fcn.004bc8c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bcd50
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bbfae
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bcd50
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c16ac
push edi
call fcn.004bec20
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1690
push eax
call fcn.004bc8c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc8d0
lea eax, [ebp - 0xa0]
push 0x4c168c
push eax
call fcn.004bc8d0
push dword [esi + 0x4c340c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc8d0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1664
push eax
call fcn.004beb94
add esp, 0x2c
pop edi
jmp 0x4bc031
lea eax, [ebp + 8]
lea esi, [esi + 0x4c340c]
push 0
push eax
push dword [esi]
call fcn.004bcd50
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43b64c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
and edx, edi
or edi, edi
add edx, 0x1190314b
call fcn.0043b673
add edx, edx
xor dword [esi], eax
dec edi
inc esi
and edi, edx
cmp esi, ecx
jne fcn.0043b64c
inc edi
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ad73ddd
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x151c2b5d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219