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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x456ba0], ebx
push esi
push edi
jne 0x414d54
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x414d8f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41863c
push edi
call esi
test eax, eax
mov dword [0x456ba0], eax
je 0x414d8f
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x456ba4], eax
call esi
cmp dword [0x4568ec], 2
mov dword [0x456ba8], eax
jne 0x414d54
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x456bb0], eax
je 0x414d54
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x456bac], eax
mov eax, dword [0x456bac]
test eax, eax
je 0x414d99
call eax
test eax, eax
je 0x414d80
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x456bb0]
test eax, eax
je 0x414d80
test byte [ebp - 8], 1
jne 0x414d99
cmp dword [0x4568f8], 4
jb 0x414d93
or byte [ebp + 0x12], 0x20
jmp 0x414db8
xor eax, eax
jmp 0x414dc8
or byte [ebp + 0x12], 4
jmp 0x414db8
mov eax, dword [0x456ba4]
test eax, eax
je 0x414db8
call eax
mov ebx, eax
test ebx, ebx
je 0x414db8
mov eax, dword [0x456ba8]
test eax, eax
je 0x414db8
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x456ba0]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4175a6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004131b0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41763b
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x4568ec]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x41763b
cmp eax, 1
je 0x417653
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41763b
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x417610
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x417637
xor eax, eax
inc eax
jmp 0x41766f
cmp esi, ebx
jae 0x41763f
xor eax, eax
jmp 0x41766f
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4568ec]
jmp 0x417655
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x395432c4
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
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
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7c04006b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x390a5466
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1b8911c5
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x103ca080
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x103ca26d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x238000]
push edi
or ebp, 0xffffffff
jmp 0x103ca0aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x103ca0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca0a0
mov eax, 1
add ebx, ebx
jne 0x103ca0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x103ca0d4
jne 0x103ca0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca0f3
dec eax
add ebx, ebx
jne 0x103ca0e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x103ca0b8
add ebx, ebx
jne 0x103ca0ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x103ca145
xor ecx, ecx
sub eax, 3
jb 0x103ca10b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x103ca17a
sar eax, 1
mov ebp, eax
jmp 0x103ca116
add ebx, ebx
jne 0x103ca116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca0e4
inc ecx
add ebx, ebx
jne 0x103ca124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103ca0e4
add ebx, ebx
jne 0x103ca131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x103ca126
jne 0x103ca142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x103ca126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x103ca164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x103ca156
jmp 0x103ca0a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x103ca164
add edi, ecx
jmp 0x103ca0a6
pop esi
mov edi, esi
mov ecx, 0xdc9b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x103ca182
cmp byte [edi], 0x26
jne 0x103ca182
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 0x103ca187
lea edi, [esi + 0x3bb000]
mov eax, dword [edi]
or eax, eax
je 0x103ca1ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3ce800]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3ce954]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x103ca1b4
mov ecx, edi
jns 0x103ca1e3
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 + 0x3ce958]
or eax, eax
je 0x103ca1f9
mov dword [ebx], eax
add ebx, 4
jmp 0x103ca1d1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x103ca230
cmp al, 0xef
ja 0x103ca223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x103ca205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x103ca212
mov ebp, dword [esi + 0x3ce95c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x103ca264
sub esp, 0xffffff80
jmp 0x1014b67e
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x56447f5b
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x57e447d7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x460], eax
push esi
push 0
push 0
lea eax, [esp + 0x260]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
lea eax, [esp + 0x38]
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, 0xffffffff
jne 0x401079
push 0
push str.FindFirstFile_API_Failed
push str.FindFirstFile_API_Failed
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x464]
xor eax, eax
pop esi
xor ecx, esp
call fcn.00401090
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4018c0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018ff
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018ff
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018ff
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018ff
cmp dword [ecx + 0x74], 0xe
jbe 0x4018ff
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], 0x6517
xor esi, esi
inc edi
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x401175
add edi, edi
cmp edi, 0x6526
jl 0x401156
xor edi, edi
xor ecx, ecx
inc ecx
mov eax, ecx
and eax, 0x80000007
jns 0x401190
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401193
inc ecx
cmp ecx, 0x2ab9
jl 0x401181
mov eax, dword [ebp + 8]
test eax, eax
je 0x401273
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x401273
cmp eax, ecx
jae 0x401273
mov edi, eax
sub ecx, edi
mov dword [ebp + 0xc], ecx
mov esi, 0x23d9
mov eax, 0x66666667
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4011c5
xor ebx, ebx
lea ebx, [ebx]
inc ebx
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, ebx
sub eax, ecx
jne 0x401204
inc ebx
cmp ebx, 0x2410
jl 0x4011e0
mov ecx, 0x2791
mov edx, 0xec
mov eax, 0x9d
jmp 0x401220
cmp eax, 0xec
cmovl eax, edx
dec ecx
jne 0x401220
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x401240
mov al, byte [ecx + edi + 1]
sub al, 0x76
xor byte [ecx + edi], al
inc ecx
cmp ecx, edx
jb 0x401232
inc esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
sub eax, ecx
jne 0x401264
inc esi
cmp esi, 0x2f4
jl 0x401240
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc ebx
mov eax, ebx
and eax, 0x80000007
jns 0x401282
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401287
add ebx, 2
cmp ebx, 0x7aa2
jl 0x401273
mov ecx, 0xf78
mov edx, 0x8f
mov eax, 0xe9
mov edi, edi
cmp eax, 0x8f
cmovg eax, edx
dec ecx
jne 0x4012a0
mov edi, 0x463c
mov eax, 0x151d07eb
imul edi
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4012b0
mov edi, esi
inc edi
mov eax, edi
and eax, 0x80000003
jns 0x4012d4
dec eax
or eax, 0xfffffffc
inc eax
jne 0x4012d7
inc edi
cmp edi, 0x67e6
jl 0x4012c5
nop
mov eax, 0x7a44c6b
imul dword [ebp - 4]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
jne 0x4012e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x4033cd
mov eax, dword [ebp + 8]
push ebx
push esi
mov ecx, dword [ebp + 0xc]
inc edi
mov bh, byte [edi + ecx - 1]
inc byte [eax]
movzx esi, byte [eax]
movzx edx, byte [esi + eax + 2]
movzx ecx, byte [eax + 1]
add esi, eax
add ecx, edx
movzx edx, cl
mov byte [eax + 1], cl
movzx ecx, byte [edx + eax + 2]
mov bl, byte [esi + 2]
mov byte [esi + 2], cl
mov byte [edx + eax + 2], bl
movzx ecx, byte [esi + 2]
mov edx, dword [ebp + 0xc]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + eax + 2]
xor cl, bh
mov byte [edi + edx - 1], cl
cmp edi, dword [ebp + 0x10]
jb 0x403380
pop esi
pop ebx
pop edi
pop ebp
ret
Function at 0x404493
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 0x1b5a3560
mov dword [ebp - 0x20], 0xafa20da0
xor dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xb171814e
xor dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x3f5ec4c8
xor dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x9aaa08cf
xor dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x2b8021de
xor dword [ebp - 0x10], eax
xor eax, eax
lea ebx, [ebx]
xor byte [ebp + eax - 0x20], 0xa4
inc eax
cmp eax, 0x14
jb 0x4044e3
mov ecx, dword [ebp + 8]
push 0x14
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0042a313
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x404513
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov al, 0x65
mov byte [ebp - 0x1e], al
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 0xf9da70bc
mov dword [ebp - 0x1d], 0x9a0e72b5
mov dword [ebp - 0x19], 0x3a556679
xor dword [ebp - 0x1c], eax
mov dword [ebp - 0x15], 0xb5ef0b75
xor dword [ebp - 0x18], eax
mov dword [ebp - 0x11], 0x34cc3188
xor dword [ebp - 0x14], eax
mov word [ebp - 0x20], 0xe665
xor dword [ebp - 0x20], eax
mov byte [ebp - 0xd], 0x4b
xor dword [ebp - 0x10], eax
xor eax, eax
xor byte [ebp + eax - 0x20], 0x9c
inc eax
cmp eax, 0x14
jb 0x404565
mov ecx, dword [ebp + 8]
push 0x14
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.0042a313
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x4048e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 7], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x18], 0
call fcn.00404513
mov cl, byte [ebp + 0xc]
add esp, 4
xor eax, eax
lea esp, [esp]
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x14
jb 0x404913
movzx edx, byte [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
push edx
push eax
call fcn.00417473
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x40e5c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 0x18
mov eax, edx
push ebx
mov ebx, dword [ebp + 0xc]
shr eax, 4
push esi
mov ecx, ebx
test eax, eax
je 0x40e635
add ebx, 8
mov dword [ebp - 4], eax
nop
mov eax, dword [ecx]
xor dword [edi], eax
mov edx, dword [ebx - 4]
xor dword [edi + 4], edx
mov edx, dword [ebx]
xor dword [edi + 8], edx
mov edx, dword [ebx + 4]
xor dword [edi + 0xc], edx
add ecx, 0x10
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
add ebx, 0x10
call fcn.0040e533
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 8]
add esp, 4
dec dword [ebp - 4]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
jne 0x40e5e3
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + edx]
cmp eax, ecx
jbe 0x40e6a8
sub ebx, ecx
add ebx, edx
test ebx, ebx
jle 0x40e652
push ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
call fcn.0042a363
add esp, 0xc
mov eax, 0x10
sub eax, ebx
lea ecx, [ebp + ebx - 0x18]
je 0x40e66b
push eax
push 0
push ecx
call fcn.0042a393
add esp, 0xc
mov edx, dword [ebp - 0x18]
xor dword [edi], edx
mov ecx, dword [ebp - 0x14]
xor dword [edi + 4], ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor dword [edi + 8], edx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp + 8]
push edi
lea esi, [ebp - 0x18]
call fcn.0040e533
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [edi], edx
mov edx, dword [ebp - 0xc]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
add esp, 4
mov dword [edi + 0xc], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e6b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, ecx
test eax, eax
je 0x40e7b5
push esi
mov esi, dword [edx]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 4]
mov dword [ebp - 0x10], esi
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
shr eax, 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
test eax, eax
je 0x40e77c
mov edx, ebx
sub ecx, edx
lea esi, [edx + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], eax
jmp 0x40e703
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.004109c3
mov eax, dword [edi]
xor dword [ebx], eax
mov ecx, dword [edi + 4]
xor dword [esi - 8], ecx
mov edx, dword [edi + 8]
xor dword [esi - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + esi]
xor dword [esi], ecx
movzx eax, byte [ebp - 8]
movzx edx, byte [ebp - 7]
movzx ecx, byte [ebp - 6]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 5]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
inc eax
mov ecx, eax
shr ecx, 0x18
mov byte [ebp - 8], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
add esp, 0x10
add edi, 0x10
add ebx, 0x10
add esi, 0x10
dec dword [ebp + 0x18]
mov byte [ebp - 7], dl
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
jne 0x40e703
mov ecx, dword [ebp + 0x10]
sub ecx, edi
add ecx, dword [ebp + 0x14]
mov esi, ecx
je 0x40e7b4
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.004109c3
add esp, 0x10
xor eax, eax
test esi, esi
je 0x40e7b4
sub ebx, edi
mov cl, byte [ebp + eax - 0x24]
xor cl, byte [edi]
inc eax
mov byte [ebx + edi], cl
inc edi
cmp eax, esi
jb 0x40e7a5
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a513
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
imul edi, dword [ebx + 0x189a899e], 0x3a
ret
aaa
xor edx, ecx
inc ecx
sbb eax, 0x2aecf076
out dx, al
mov edx, 0x4d7ea7e
sub al, 0xb3
scasb al, byte es:[edi]
xchg ebx, eax
or al, 0x5b
lodsd eax, dword [esi]
jae 0x42a47d
scasb al, byte es:[edi]
mov al, byte [0x78bf2b1c]
push ebx
fadd qword [edi*2 + 0x2dea8a86]
aaa
in al, dx
xor bh, bl
mov bh, 0xbb
adc eax, dword [esi + 0xfe65463]
ffreep st(3)
dec ebx
xchg esp, eax
jbe 0x42a4a7
sar ah, cl
xor dword [esi + 0x117b8b86], eax
out dx, al
hlt
outsb dx, byte [esi]
jnp 0x42a549
mov ecx, 0x16ef5a1c
lodsd eax, dword [esi]
aad 0xf8
fcomi st(6)
mov dword [0xa247206d], eax
loop 0x42a4c1
test esp, esp
jle 0x42a52f
xchg ebx, eax
sub esp, dword [edx - 0x56]
sbb dword ss:[edx], eax
sub al, 0x41
inc ecx
jl 0x42a59d
add dword [esi], ecx
sub esi, dword [ecx]
popal
jo 0x42a545
je 0x42a5c4
cmp byte [edi - 0x3f], dh
or ch, byte [edx + 0x131faf6a]
inc eax
js 0x42a5ba
ljmp 0xf235:0xe2873645
dec ecx
lodsd eax, dword [esi]
sbb eax, 0x32201b68
xor dword [ebx], edx
sub byte [ebp + ebp - 0x24], bl
call 0x413cb6b6
pop esp
sub eax, 0x10eae8dc
cli
inc eax
ja 0x42a627
sbb dl, byte [esi + 0x6cc1c9db]
mov al, 0x5d
mov eax, dword [0x888402cf]
or ecx, dword [esi - 0x3238e860]
add eax, 0x9191e530
int 5
xor ch, ah
xchg ecx, eax
xchg ecx, eax
fldz
jo 0x42a5e0
adc ebx, dword [eax]
lodsb al, byte [esi]
or dword [edi + 0x3f290ac4], 0xbb96476e
fisttp dword [edx - 0x183f7f09]
cmp dword [eax + 0x54791c5f], 0xbe24dcc5
int3
lea ebx, [ebx + eax*4]
push edi
push cs
invalid
Function at 0x40ab73
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40ab94
jl 0x40ab8b
test edi, edi
jne 0x40ab94
xor eax, eax
xor edx, edx
jmp 0x40ac55
cmp dword [ebx + 0x38], 0
je 0x40aba9
push eax
push edi
push dword [ebp + 8]
call fcn.0040ac5b
jmp 0x40ac55
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40abf0
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40abf0
cmp eax, edi
jb 0x40abca
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042ce10
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40abf6
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40ac4a
mov ecx, ebx
call fcn.0040a207
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40ac35
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00455045
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40ac4a
jmp 0x40ac08
test edx, edx
je 0x40ac4a
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00455045
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x42c495
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42c4d4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42c4d4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42c4d4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42c4d4
cmp dword [ecx + 0x74], 0xe
jbe 0x42c4d4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x46b754
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48d194
push 0x48d18c
push 0x48a6d0
push 0x1e
call fcn.0046b424
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46b788
push dword [ebp + 8]
mov ecx, esi
call dword [0x487230]
call esi
jmp 0x46b78e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x46b7d2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x48d1a4
push 0x48d19c
push 0x48a6f4
push 0x20
call fcn.0046b424
mov esi, eax
add esp, 0x10
test esi, esi
je 0x46b809
push dword [ebp + 8]
mov ecx, esi
call dword [0x487230]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]