joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432ab9
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x4814c0]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x434d85
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x434db9
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434db4
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x434de0
mov edx, dword [edi + 0x1c]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x18]
jbe 0x434dc9
mov esi, dword [edi + 0x18]
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0045bde0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x434ef8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x434f06
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x434fc5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
sub edi, 1
jne 0x434f1e
pop edi
test esi, esi
je 0x434fe1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4814c0]
inc edx
sub esi, 1
jne 0x434fc9
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x43b304
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x43b36e
cmp dword [ebp + 8], 0x100
jne 0x43b35d
cmp word [ebp + 0xc], 0xd
jne 0x43b35d
cmp byte [esi + 0x6a2], 0
je 0x43b344
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x43b35d
cmp byte [esi + 0x6a3], 0
jne 0x43b35d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x43b359
push edi
push edi
push edi
push str.return
push esi
call fcn.0041b544
xor eax, eax
jmp 0x43b371
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x43d07f
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp fcn.004415d9
Function at 0x4492b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x449338
cmp dword [esi + 0x10], 0
je 0x449338
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0045ace0
mov ebx, esp
test ebx, ebx
je 0x449338
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0040e2cc
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0041b544
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00417dd5
test al, al
je 0x449338
mov ecx, dword [esi + 0x10]
call fcn.0040fd1a
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44d68c
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x478ba0
call fcn.0045af9c
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x588], ebx
cmp dword [edi + 4], ebx
jne 0x44d71e
lea eax, [ebp - 0xa8]
push eax
call fcn.0044d239
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00417a82
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041c72d
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0043e158
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004176af
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040e92d
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0040e22e
mov esi, 0x578
test bl, bl
je 0x44d759
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push 0x10
push eax
lea eax, [edi + 0x1a]
push eax
call fcn.0045bde0
mov eax, dword [edi + 0x10]
add esp, 0xc
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.0045af57
ret 4
Function at 0x44dba0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x44dbcc
xor eax, eax
jmp 0x44dc41
push esi
mov esi, 0xff
lea eax, [ebp - 0x104]
push esi
push 0
push eax
call fcn.0045c360
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x44dbc8
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.0045bde0
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045a746
mov esp, ebp
pop ebp
ret

Function at 0x44dd3e
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x479170
call fcn.0045af9c
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x580], ebx
cmp dword [edi + 4], ebx
jne 0x44ddfb
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x44ddd3
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.0044d92b
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xb0]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00417a82
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041c72d
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0043e158
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004176af
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040e92d
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0040e22e
test bl, bl
je 0x44de33
call fcn.0044dba0
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x578], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x578]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.0045af57
ret 4

Function at 0x452558
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004415d9

Function at 0x452561
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_312
Function at 0x4532ad
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
and dword [ebx + 0x47c], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x478], ecx
mov dword [ebx + 0x480], eax
test ecx, ecx
jne 0x453318
call fcn.0045306c
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x453318
call fcn.0045306c
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.0045306c
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x478]
test ecx, ecx
jne 0x45333e
mov ecx, dword [ebp - 0x18]
jmp 0x453345
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00417a82
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0040e0e3
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, ebx
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041c72d
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x453388
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x453383
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a746
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x458f89
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49d4a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push esi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x458fd7
cmp esi, 0x28
jbe 0x458fd1
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x458fd7
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0045c360
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0040e12c
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045a746
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4592ce
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x479774
call fcn.0045af9c
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4593de
lea eax, [ebp - 0xa4]
push eax
call fcn.00458a77
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00417a82
push eax
mov ecx, ebx
call fcn.0041c72d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4593de
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.0043e158
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004176af
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x796]
push eax
movzx eax, word [ecx + 0x794]
mov ecx, ebx
push eax
call fcn.00459813
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.00458ddb
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1c8
push eax
call fcn.0040e2ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0040e22e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.0045af57
ret 4

Function at 0x46e216
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046e095
Function at 0x402680
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
xor eax, eax
test ecx, ecx
je 0x402787
test edx, edx
je 0x402787
mov ebp, dword [esp + 0x30]
test ebp, ebp
mov dword [esp], ecx
je 0x4026ca
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x4026d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4026b0
jmp 0x4026d3
mov esi, 0x1505
jmp 0x4026d3
mov esi, ecx
mov ebp, dword [esp]
mov edi, dword [ebp + 0x20]
mov ecx, edi
sub ecx, 1
jb 0x402787
mov dword [esp + 8], edx
and ecx, esi
mov dword [esp + 0x18], ecx
mov eax, edi
or eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
add eax, ecx
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov edx, edi
mov dword [esp + 4], edi
jmp 0x402715
inc ebx
cmp edx, ebx
je 0x402785
mov eax, ebx
mov edi, dword [esp + 0x18]
and eax, edi
mov ecx, ebx
xor ecx, edi
lea eax, [ecx + eax*2]
and eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + eax*4]
cmp edi, 0xffffffff
je 0x402785
mov eax, dword [ebp + 8]
cmp dword [eax + edi*4], esi
jne 0x402710
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00408e40
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x30]
jne 0x402710
push dword [esp + 0x30]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00408e60
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402710
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402787
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403530
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4036e6
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4036df
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x4035c1
add ebp, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 4]
mov ebx, 0x15b0
je 0x4036df
xor eax, eax
cmp ebx, 8
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
jb 0x40363c
mov eax, ebx
and eax, 0x1ff8
mov dword [esp], eax
mov edx, 7
nop
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx edi, byte [ebp + 4]
add edi, esi
mov eax, ecx
and eax, edi
xor ecx, edi
movzx esi, byte [ebp + 5]
add esi, edi
movzx ebx, byte [ebp + 6]
add ebx, esi
add esi, ecx
lea ecx, [esi + eax*2]
movzx edi, byte [ebp + 7]
add edi, ebx
add ecx, ebx
mov ebx, dword [esp + 4]
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x4035e0
mov esi, dword [esp + 8]
mov eax, dword [esp]
mov edx, ebx
sub edx, eax
jbe 0x403588
mov dword [esp + 0x10], edx
mov dword [esp], eax
not eax
add eax, ebx
mov edx, ebx
and edx, 3
je 0x403691
mov dword [esp + 0xc], eax
neg edx
xor eax, eax
mov ebx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx]
add edi, esi
add ecx, edi
inc ebx
dec eax
cmp edx, eax
jne 0x403670
mov edx, dword [esp]
sub edx, eax
mov eax, dword [esp + 0xc]
cmp eax, 3
jb 0x403580
jmp 0x40369f
mov ebx, ebp
mov edx, dword [esp]
cmp eax, 3
jb 0x403580
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x4036b0
jmp 0x403580
shl ecx, 0x10
or ecx, edi
jmp 0x4036eb
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403700
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x403757
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test edx, edx
je 0x403759
not eax
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
not esi
add edx, edx
movzx edi, byte [ecx]
inc ecx
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43da18]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43da18]
add edx, esi
jne 0x403720
not eax
jmp 0x403759
xor eax, eax
pop esi
pop edi
pop ebx
ret
Function at 0x4092b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00409340
sub esp, 0x100
mov esi, esp
jmp 0x4092c3
call fcn.00437ce0
jmp 0x4092ca
test al, 1
jne 0x4092d0
jmp 0x40930c
call fcn.00432d00
test al, 1
jne 0x4092db
jmp 0x409307
call fcn.0040a680
test al, 1
jne 0x4092e6
jmp 0x409305
lea eax, str.system_or_character_via_spellings_glyphs_a_is_uses_that_in_their_modified_other_on_often_reflection_or_resemblance_on_it_leetspeak__used_similarity_internet._play_eleet_the_of_the_replacements_of_primarily_ways
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00409320
add esp, 8
call fcn.004101e0
jmp 0x409305
jmp 0x409307
call fcn.004388e0
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4093a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x4094cb
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x4093dd
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x409401
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x4093d0
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x4093d0
lea esi, [ebx + 1]
push esi
call fcn.00408c00
add esp, 4
test ebx, ebx
jle 0x4094d5
add ebx, eax
add esi, eax
mov dword [esp + 8], esi
mov ebp, eax
jmp 0x409445
mov byte [ebp], dl
mov esi, 1
add edi, 2
add ebp, esi
cmp ebp, ebx
jae 0x4094d7
movzx edx, word [edi]
test dx, dx
je 0x4094d7
cmp dx, 0x7f
jbe 0x409430
mov ecx, ebp
not ecx
add ecx, dword [esp + 8]
movzx esi, dx
cmp ecx, 2
jb 0x409490
cmp esi, 0x7ff
ja 0x409490
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [ebp], cl
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 1], dl
mov esi, 2
jmp 0x409438
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x409438
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [ebp], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [ebp + 2], dl
mov esi, 3
jmp 0x409438
push 1
call fcn.00408c00
add esp, 4
mov ebp, eax
mov edi, dword [esp + 0x228]
mov esi, dword [esp + 0x224]
mov byte [ebp], 0
movzx edx, byte [eax]
lea ecx, [esp + 0xc]
mov ebx, ecx
test dl, dl
je 0x409516
inc eax
lea ebx, [esp + 0xc]
jmp 0x40950b
mov byte [ebx], dh
inc ebx
movzx edx, byte [eax]
inc eax
test dl, dl
je 0x409516
mov dh, 0x2f
cmp dl, 0x5c
je 0x409500
mov dh, dl
jmp 0x409500
mov byte [ebx], 0
push 0
push 0
push 0
mov eax, dword [esp + 0xc]
push dword [eax + 8]
add eax, 0x10
push 0
push 0
push edi
push esi
push ecx
push eax
call fcn.00405860
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40a580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40a66c
mov ebp, dword [esp + 0x14]
xor esi, esi
mov edi, 2
jmp 0x40a5b6
mov edx, ebp
nop
lea eax, [edi + 4]
add edi, 2
mov esi, edx
cmp edi, ecx
mov edi, eax
mov ebp, dword [esp + 0x14]
jae 0x40a66e
movzx eax, byte [ebp + edi - 2]
push eax
call fcn.0040fef0
add esp, 4
mov bh, al
movzx eax, byte [ebp + edi - 1]
push eax
call fcn.0040fef0
add esp, 4
mov bl, al
shl bh, 2
xor al, 0xc0
mov ecx, ebx
or cl, 0x30
and cl, al
shr cl, 4
add cl, bh
lea edx, [esi + 1]
mov eax, dword [esp + 0x1c]
mov byte [eax + esi], cl
mov ecx, dword [esp + 0x18]
cmp edi, ecx
jae 0x40a5a0
movzx eax, byte [ebp + edi]
push eax
mov ebp, edx
call fcn.0040fef0
mov edx, ebp
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp al, 0x40
je 0x40a5a0
mov bh, al
shl bl, 4
shr al, 2
and al, 0xf
or al, bl
lea ebp, [esi + 2]
mov edx, dword [esp + 0x1c]
mov byte [edx + esi + 1], al
lea eax, [edi + 1]
cmp eax, ecx
jae 0x40a59d
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + edi + 1]
push eax
call fcn.0040fef0
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp al, 0x40
mov edx, ebp
je 0x40a5a0
shl bh, 6
add al, bh
mov edx, dword [esp + 0x1c]
mov byte [edx + esi + 2], al
add esi, 3
mov edx, esi
jmp 0x40a5a0
xor edx, edx
mov eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret