joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442df0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4777b4]
cmp dword [eax + 0x24], 0
je 0x442e80
cmp dword [ebx + 0x7c], 0
jne 0x442e7d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x442d84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x442e7d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x442e4c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x442e7d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040f0b0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x442e58
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4437e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x44381d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403ad4
jmp 0x443827
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403a88
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44472c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x444764
mov eax, esi
call fcn.0042df50
test al, al
je 0x444764
mov eax, dword [ebx + 0x6c]
call fcn.0042db28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x444764
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042db28
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d064
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x45d09c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d07a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d089
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d098
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4720c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403e20
xor eax, eax
push ebp
push 0x472116
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403e30
push eax
push 0x472120
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47211d
lea eax, [ebp - 4]
call fcn.004039f0
ret
Function at 0x4019b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x950608]
sub esp, 0x110
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x401b5d
cmp dword [0x95060c], 0
jne 0x401b49
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x401a00
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41a0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x401a10
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41a0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x401a45
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004042c0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x401aa4
sub edx, esi
sar edx, 1
je 0x401b5d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x401ac0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x104
ja 0x401b5d
xor eax, eax
push ebx
test edx, edx
je 0x401af8
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x401af8
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x401ae1
xor eax, eax
test edx, edx
je 0x401b12
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x401b12
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b00
xor eax, eax
test edx, edx
je 0x401b2f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x401b2f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x401b20
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x950608]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x110
ret
Function at 0x402c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x95074c]
sub esp, 0x11c
test eax, eax
jne 0x402d4c
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.004042c0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402ca0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41a100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x402cb0
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41a104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x402ce5
lea edx, [esp + 0xc]
call fcn.004012e0
pop edi
pop esi
pop ebx
test eax, eax
je 0x402d47
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402d47
mov dword [0x95074c], eax
add esp, 0x11c
ret
mov eax, dword [0x95074c]
add esp, 0x11c
ret
Function at 0x4194d2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x77d456
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
xchg ecx, ecx
call fcn.0077d83d
push edx
push ebx
pop ebx
pop edx
pushfd
xor ecx, 0x51917f99
xor ecx, 0x51917f99
popfd
lea eax, [ebp - 0xd8]
push eax
push edi
pop edi
pop eax
mov ebx, 0x61
pushfd
push edi
add esp, 4
popfd
add bx, 0xa
xchg edi, edi
mov word [eax], bx
mov eax, eax
xchg edi, eax
xchg edi, eax
sub bx, 6
xchg esi, esi
push ebx
push eax
pop eax
pop ebx
mov word [eax + 2], bx
push ebx
pop ebx
push edx
push ecx
pop ecx
pop edx
add bx, 0xd
push edx
push ebx
pop ebx
pop edx
mov word [eax + 4], bx
mov esi, esi
sub bx, 4
push edx
pop edx
pushfd
push 0xf1ddc691
add esp, 4
popfd
mov word [eax + 6], bx
push ebx
pop ebx
sub bx, 9
pushfd
xor eax, 0xcfd61f50
xor eax, 0xcfd61f50
popfd
xchg ebx, esi
xchg esi, ebx
mov word [eax + 8], bx
pushfd
push 0x2b1ce59
add esp, 4
popfd
add bx, 7
pushfd
inc eax
dec eax
popfd
mov word [eax + 0xa], bx
xchg ebx, ebx
sub bx, 0x39
pushfd
push 0xa5e22732
add esp, 4
popfd
mov word [eax + 0xc], bx
pushfd
push 0xf3c19f1a
add esp, 4
popfd
dec bx
pushfd
push eax
add esp, 4
popfd
mov word [eax + 0xe], bx
xchg esi, esi
mov edi, edi
sub bx, 4
mov ebx, ebx
xchg edx, eax
xchg edx, eax
mov word [eax + 0x10], bx
adc byte [edi + 0x5f], dl
mov edi, edi
add bx, 0x36
xchg edx, edx
push edx
push ecx
pop ecx
pop edx
mov word [eax + 0x12], bx
push edi
pop edi
add bx, 8
push edx
pop edx
pushfd
push 0x6fde184c
add esp, 4
popfd
mov word [eax + 0x14], bx
pushfd
inc esi
dec esi
popfd
mov word [eax + 0x16], bx
pushfd
inc edi
dec edi
popfd
pushfd
inc esi
dec esi
popfd
mov word [eax + 0x18], 0
pushfd
xor ecx, 0x4f3e5fee
xor ecx, 0x4f3e5fee
popfd
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
pushfd
push 0x98e2f044
add esp, 4
popfd
pushfd
xor ebx, 0x931f36
xor ebx, 0x931f36
popfd
mov dword [ebp - 0x10], eax
push ebx
pop ebx
lea eax, [ebp - 0xd8]
pushfd
push 0xf711a24
add esp, 4
popfd
pushfd
push esi
add esp, 4
popfd
mov ebx, 0x61
push edi
push eax
pop eax
pop edi
sub bl, 0xb
xchg ecx, ecx
mov byte [eax], bl
xchg ebx, ebx
add bl, 0x13
xchg edi, edi
push esi
pop esi
mov byte [eax + 1], bl
xchg edi, eax
xchg edi, eax
xchg esi, edx
xchg edx, esi
add bl, 9
pushfd
push ebx
add esp, 4
popfd
pushfd
push 0xa75498bd
add esp, 4
popfd
mov byte [eax + 2], bl
pushfd
push 0xc422f1ab
add esp, 4
popfd
xchg edx, ecx
xchg ecx, edx
add bl, 2
pushfd
push esi
add esp, 4
popfd
mov esi, esi
mov byte [eax + 3], bl
push edi
pop edi
pushfd
push 0xb6eaff95
add esp, 4
popfd
Function at 0x2c707dc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x2c707e6
pushal
call 0x2c707ec
pop ebp
sub ebp, 0x10
sub ebp, 0x28707dc
jmp 0x2c70802
mov eax, 0x28707dc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b0
mov edx, 0xf720e328
xor byte [eax], dl
inc eax
dec ecx
jne 0x2c70819
jmp 0x2c7082c
mov dword [0x14a1a3e5], eax
sub byte [eax], ch
sub byte [ecx + 0x2828d0e9], ch
sub byte [ebx], ch
in eax, 0x90
sub eax, 0x92282828
add byte [eax], ch
sub byte [eax], ch
invalid
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov eax, 0x42f038
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
mov dword [0x6edde0], 0
mov eax, dword [ebp + 8]
mov dword [0x6ef5a0], eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00422360
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40105c
lea eax, [ebp - 0x24]
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], 0
jmp 0x40106b
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jle 0x401099
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
movsx eax, byte [eax + ecx]
cmp eax, 0x3d
jne 0x401094
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx], 0x20
jmp 0x401068
push 0x100
call fcn.004222ea
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401476
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00403e21
add esp, 8
push 0x6ef5c0
call fcn.00403b90
add esp, 4
call fcn.0042ad14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40110e
mov eax, dword [ebp + 8]
push eax
call fcn.00401d52
add esp, 4
push 0
call fcn.00422215
add esp, 4
cmp dword [0x6ed544], 0
je 0x401131
mov eax, dword [ebp + 8]
push eax
call fcn.00401d52
add esp, 4
push 0
call fcn.00422215
add esp, 4
call fcn.00403f1c
test eax, eax
jne 0x401154
mov eax, dword [ebp + 8]
push eax
call fcn.00401d52
add esp, 4
push 0xffffffffffffffff
call fcn.00422215
add esp, 4
call fcn.004051c4
test eax, eax
je 0x40117a
cmp dword [0x6ed87c], 0
jne 0x40117a
mov eax, dword [ebp + 8]
push eax
call fcn.00401228
add esp, 4
push 0x6ed420
call fcn.004020a0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4011cf
xor eax, eax
mov al, byte [0x6ede01]
test eax, eax
je 0x4011cf
call fcn.004051c4
test eax, eax
je 0x4011be
push 0
mov eax, dword [0x6edde0]
push eax
call dword [0x42d20c]
call fcn.00401b70
mov eax, dword [0x6edde0]
push eax
call dword [0x42d208]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040620a
mov dword [ebp - 0x10], eax
jmp 0x4011eb
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
je 0x40120d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + eax*4 - 4]
push eax
call fcn.004221b9
add esp, 4
jmp 0x4011e8
mov eax, dword [ebp - 4]
push eax
call fcn.004221b9
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x401221
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40cf53
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x180
push 0x8002
mov eax, dword [ebp + 8]
push eax
call fcn.00428546
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x40cf96
push 0x40006
call fcn.0040772c
add esp, 4
mov eax, 0xffffffff
jmp 0x40d097
mov eax, dword [ebp - 8]
push eax
call fcn.0042c261
add esp, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0xffff
jne 0x40cfdf
mov eax, dword [ebp - 8]
push eax
call fcn.0042609d
add esp, 4
push 0x40008
call fcn.0040772c
add esp, 4
mov eax, 0xffffffff
jmp 0x40d097
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.00426557
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40d01b
push 0x40009
call fcn.0040772c
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0042609d
add esp, 4
mov eax, 0xffffffff
jmp 0x40d097
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax]
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00426361
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40d064
push 0x4000a
call fcn.0040772c
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.0042609d
add esp, 4
mov eax, 0xffffffff
jmp 0x40d097
mov eax, dword [ebp - 8]
push eax
call fcn.0042609d
add esp, 4
cmp eax, 0xffffffff
jne 0x40d090
push 0x40005
call fcn.0040772c
add esp, 4
mov eax, 0xffffffff
jmp 0x40d097
xor eax, eax
jmp 0x40d097
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a4d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp byte [eax], bl
mov dword [ebp - 0x44], esi
call fcn.0041a2d0
xor eax, dword [esi]
pop ecx
aad 0xf
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.0041a2d0
scasd eax, dword es:[edi]
invalid
Function at 0x41a6eb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebp + 0x5d88d445]
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041a2e0
push eax
push esi
push dword [ebp + 8]
call fcn.0041a295
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041a2d0
in eax, 0xe4
push ebp
xchg esp, eax
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0041a2d0
pop edi
outsd dx, dword [esi]
xchg esp, eax
add cl, byte [ebp - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x41af3b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmc
cli
invalid
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.0041a2e0
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041a295
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.0041a2d0
daa
dec esi
jle 0x41af28
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
inc dword [ecx]
Function at 0x405890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp ebp, esp
and al, 0x53
lcall 0x3333, 0x67d5b57
xor edx, edx
push dword [ebx - 0x3e]
jne 0x4058b3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
invalid
push es
jge fcn.004058bb
mov ebx, eax
popfd
fcom qword [eax]

Function at 0x407d20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
lea esp, [esi - 0x58]
push edi
mov ebx, dword [0xfc018d7f]
push eax
jl 0xc960a44
push ecx
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push ecx
call fcn.00407f0f
mov ecx, dword [ebp - 4]
jl 0x407d9f
adc al, 0x83
pop ecx
sbb byte [edi - 0x367a07bb], cl
mov esi, edx
je 0x407d5d
invalid
lea ecx, [edi - 1]
push ebx
test ecx, ecx
jle 0x407d8c
cmp byte [ebx], 1
xor byte [ebp + 6], dh
or byte [ecx - 0x7b], cl
leave
jg 0x407d65
in eax, 0x13
adc byte [ebx - 0x247af3a3], cl
jl 0x407e33
pop ds
retf
push ebx
and byte [edi + 0x3b], bh
cmp byte [eax], 0x30
mov eax, dword [0x2e06c680]
test dword [ebp - 0x74d18225], 0x3024c3cb
xor byte [ecx], bh
and eax, esi
mov dword [ecx], edx
or al, 0x8b
rol dword [edx + 0x220c1a7], 1
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 0xffffff87
rep stosb byte es:[edi], al
mov edi, dword [ebp + 0x10]
mov eax, edx
mov edx, dword [ebp - 0x73]
add ebx, eax
add edi, dword [ebp - 0x75]
inc ebp
clc
mov dword [esp + ecx + 0x1b9], ebp
add byte [ebx], bh
stc
rcl byte [esi], 0x63
adc byte [eax + 0x3b404616], cl
retf
ret
cmp ebx, 0xfffffffd

Function at 0x40a4b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0x416a28
push eax
call fcn.00405600
xor eax, eax
pop ebp
invalid
xor dword [ebp + 0x14458bec], esp
push esi
mov esi, dword [ebp + 8]
neg eax
sbb eax, eax
neg eax
dec eax
push eax
mov ebp, dword [eax]
adc al, 0x50
jle 0x40a454
pushfd
rol byte [eax + 0x6e], 0x85
sal dh, 0x45
adc al, 0x75
dec ebx
mov eax, dword [edx + 0x6c4dce46]
push ecx
push edx
jbe 0x40a4f2
and al, 0x59
add dword [eax], 0xffffff85
sal byte [edx + ecx*2 - 0x75], 0x45
or al, 0x8b
dec ebp
test eax, 0x274c085
mov dword [eax], ecx
mov esp, 0xd285107c
jl 0x40a504
test edx, edx
je 0x40a51c
js 0x40a4e2
and ch, 0xff
inc dword [ebx - 0x5376fb3c]
mov eax, dword [esi + 0x14]
push eax
inc esi
adc al, 0x50
xlatb
adc eax, sym.imp.KERNEL32.dll_CloseHandle
mov dword [esi + 0x14], 0xe63b0000
mov eax, 0x11175
pop esi
cmpeqps xmm2, xmmword [eax]
adc byte [eax], al
add al, byte [edx]
add dword [eax], eax
add byte [ebp + 0xa], dh
jne 0x40a4e9
lodsb al, byte [esi]
add dword [eax], eax
pop esi
pop ebp
ret 0x10
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401d9d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edi, dword [0x404050]
cdq
or di, 1
idiv edi
mov edx, dword [0x404050]
mov ebx, esi
add edx, eax
mov eax, 0x404054
call fcn.00401cc0
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x403135
push eax
sub edi, fcn.004028df
push edi
push fcn.004028df
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401e13
mov eax, fcn.004028df
mov ebx, esi
mov edx, edi
call fcn.00401cc0
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402423
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret