joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469d65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x469e7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x469e7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004851fc
mov esi, eax
test esi, esi
je 0x469e7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x469e7d
mov ecx, esi
call fcn.00469cd0
cmp edi, eax
jge 0x469e7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x469e03
mov dword [esp + 0x34], 1
jmp 0x469e5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x469e7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004684e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46e700
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46e766
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46e766
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46e747
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46eaf0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46eb28
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x46f7b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46f7f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46fc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x492a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046f820
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046f8a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046f8a0
lea ecx, [esi + 0xc]
call fcn.0048375a
lea ecx, [esi + 0x10]
call fcn.0048375a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00470e30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00470e30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00470e30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004837cf
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004837cf
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x485ba0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x485bd8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483c2a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483c02
jmp 0x485be4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x487292
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4872d4
call fcn.0048d003
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4872d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4872cb
xor eax, eax
jmp 0x4872dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004872e2
pop edi
pop esi
pop ebx
ret 4

Function at 0x48d533
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48d561
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d57f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048d499
jmp 0x48d57f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d57f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048d499
test edi, edi
mov eax, edi
jne 0x48d569
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4097dc
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4098af
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4098c8
push ebx
push 0x4098d4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040336c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402750
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004033cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40985c
mov al, 0x62
call fcn.004093b4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004097b0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409865
call fcn.004097b0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4098b6
lea eax, [ebp - 4]
call fcn.00403150
ret

Function at 0x409948
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099fc
jmp 0x4099f1
cmp dword [esi + 0x10], 0x1000
jne 0x4099dd
test byte [esi + 0x15], 1
jne 0x4099dd
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40999c
cmp eax, 2
je 0x40999c
cmp eax, 0x10
je 0x40999c
cmp eax, 0x20
jne 0x4099b1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4099b1
mov bl, 1
xor ebp, ebp
jmp 0x4099c2
mov eax, dword [esi]
add eax, ebp
call fcn.00409940
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x4099b5
test bl, bl
je 0x4099dd
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4099fc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409974
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x402d3c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402d95
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402bd8
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402bd8
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402d7f
inc ebx
jmp 0x402d68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402d9c
lea eax, [ebp - 8]
call fcn.00403fb0
ret

Function at 0x402da4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403fb0
test esi, esi
jne 0x402ddb
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004040a0
jmp 0x402dfc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402bd8
mov dword [esp], eax
test esi, esi
je 0x402dfc
cmp dword [ebx], 0
je 0x402dfc
dec esi
jmp 0x402de3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x40335c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x418020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033d4
xor eax, eax
push ebp
push 0x4033cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403410
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033d4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x418020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x418020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e2c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41904c], 0
je 0x403e8d
cmp word [0x419220], 0xd7b2
jne 0x403e55
cmp dword [0x419228], 0
jbe 0x403e55
mov eax, 0x41921c
call dword [0x419238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x418068
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403eb4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41802c], 0
jne 0x403ea9
push 0
push 0x418060
push 0x418068
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405de0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e46
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404220
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f50
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e30
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e4d
lea eax, [ebp - 0x10]
call fcn.00403fb0
ret

Function at 0x40a3f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a431
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040a0
jmp 0x40a43a
mov eax, ebx
mov edx, esi
call fcn.00404004
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a444
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a465
mov al, byte [esp]
jmp 0x40a467
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40aafc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a964
mov eax, dword [0x418574]
cmp byte [eax], 0
je 0x40ab78
mov eax, dword [0x418474]
call fcn.00402ecc
call fcn.00402b04
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407c58
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40abc0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40abae
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41844c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x419668]
call fcn.00405288
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b908
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b96c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404220
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407634
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b973
lea eax, [ebp - 0xc]
call fcn.00403fb0
ret

Function at 0x417374
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404220
add esp, 0x100
pop ebx
ret
Function at 0x418f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f42
cmp edx, 0x800
jae 0x41902b
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x419000
mov dword [0x420dbc], 0x4196e0
call fcn.00419170
test eax, eax
jne 0x419048
mov dword [0x420dbc], 0x419600
ret

Function at 0x5d8ab9
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x5d87dc
sub edx, 0x5134bd0f
call fcn.005d8ae0
mov ebx, ebx
xor dword [eax], ecx
and edx, edx
add eax, 2
sub edx, edx
cmp eax, edi
jl fcn.005d8ab9
sub edx, edx
ret
Function at 0x653ffb
Capabilities:
Encrypt data using aes

Disassembly:
movzx eax, byte [eax + 0xf]
not di
clc
shl edx, 8
jmp 0x653d1e
pushal
mov byte [esp + 0x18], bh
lea esp, [esp + 0x24]
movzx esi, byte [eax + 0xe]
bswap ebx
jmp 0x653d39
xor edx, esi
jmp 0x653d93

Function at 0x79258f
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push word [esp + 4]
mov dword [esp], esi
mov byte [esp + 5], dh
push word [esp + 3]
pop word [esp]
Function at 0x4014f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 8]
push edi
push eax
call fcn.0042236e
xor edx, edx
mov edi, eax
xor ecx, ecx
mov al, 5
mov dword [esp + 0x24], edx
add esp, 4
add edi, 0x12cc0300
mov byte [esp + 0x18], 3
mov byte [esp + 0x19], 9
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0xb
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 0xe
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0xa
mov byte [esp + 0x13], 0xf
mov byte [esp + 0x14], 0x14
mov byte [esp + 0x15], 0x19
mov byte [esp + 0x16], 0x1e
mov dword [esp + 0x24], edx
xor esi, esi
mov cl, byte [esp + esi + 0x10]
mov eax, edi
shr eax, cl
movsx ecx, byte [esp + esi + 0x18]
and al, 0x1f
xor al, byte [ecx + 0x450640]
mov byte [esp + 8], al
mov edx, dword [esp + 8]
and edx, 0xff
and edx, 0x8000001f
jns 0x40158c
dec edx
or edx, 0xffffffe0
inc edx
push edx
call fcn.00401000
add esp, 4
mov byte [esp + esi + 0x20], al
inc esi
cmp esi, 7
jl 0x40155c
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x44fe40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x20
ret

Function at 0x4015e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
xor eax, eax
push esi
mov dword [esp + 0x10], eax
push edi
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 5
mov byte [esp + 0xe], 0xa
mov byte [esp + 0xf], 0xf
mov byte [esp + 0x10], 0x14
mov byte [esp + 0x11], 0x19
mov byte [esp + 0x12], 0x1e
mov dword [esp + 0x18], eax
xor esi, esi
mov cl, byte [esp + esi + 0xc]
mov al, byte [esi + 0x450647]
mov edx, 0x386d4380
shr edx, cl
and dl, 0x1f
xor dl, al
mov byte [esp + 8], dl
mov eax, dword [esp + 8]
and eax, 0xff
and eax, 0x8000001f
jns 0x401643
dec eax
or eax, 0xffffffe0
inc eax
push eax
call fcn.00401000
add esp, 4
mov byte [esp + esi + 0x14], al
inc esi
cmp esi, 7
jl 0x401614
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x44fe40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x14
ret
Function at 0x401690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
mov al, 5
push esi
mov byte [esp + 5], al
mov byte [esp + 0x10], al
xor eax, eax
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 8], 0
mov byte [esp + 0xa], 0xa
mov byte [esp + 0xb], 0xf
mov byte [esp + 0xc], 0x14
mov byte [esp + 0xd], 0x19
mov byte [esp + 0x10], 3
mov byte [esp + 0x11], 7
mov byte [esp + 0x12], 6
mov byte [esp + 0x13], 8
mov byte [esp + 0x15], 9
mov byte [esp + 0x1e], al
xor esi, esi
mov cl, byte [esp + esi + 8]
mov edx, edi
sar edx, cl
and edx, 0x8000001f
jns 0x4016fb
dec edx
or edx, 0xffffffe0
inc edx
movsx eax, byte [esp + esi + 0x10]
xor dl, byte [eax + 0x44fe40]
mov byte [esp + 0x28], dl
mov ecx, dword [esp + 0x28]
and ecx, 0xff
and ecx, 0x8000001f
jns 0x401721
dec ecx
or ecx, 0xffffffe0
inc ecx
push ecx
call fcn.00401000
add esp, 4
mov byte [esp + esi + 0x18], al
inc esi
cmp esi, 6
jl 0x4016e6
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x44fe40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x18
ret

Function at 0x401a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
xor eax, eax
push ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
push esi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xc]
xor esi, esi
push edi
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0xf
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 4
mov byte [esp + 0x14], 7
mov byte [esp + 0x15], 0xb
mov byte [esp + 0x16], 6
mov byte [esp + 0x17], 0xe
mov byte [esp + 0x18], 3
mov dword [esp + 0x2c], eax
sub ebx, ecx
lea edi, [esp + esi + 0x10]
mov dl, byte [ebx + edi]
push edx
call fcn.00401040
movsx ecx, byte [edi]
xor al, byte [ecx + ebp]
push eax
call fcn.00401000
add esp, 8
mov byte [esp + esi + 0x1c], al
inc esi
cmp esi, 9
jl 0x401a7a
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x44fe40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x401e60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x78
xor eax, eax
push ebx
mov dword [esp + 4], eax
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x28]
push edi
mov dword [esp + 0x14], eax
push ecx
mov byte [esp + 0x1c], al
call fcn.00402f90
mov esi, dword [esp + 0x8c]
push 6
lea eax, [esp + 0x34]
lea edx, [esi + 0xb]
push edx
push eax
call fcn.00402fc0
lea ecx, [esi + 0xa]
push 5
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.00402fc0
add esi, 8
push 5
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00402fc0
lea ecx, [esp + 0x54]
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00403790
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x4c]
add esp, 0x30
xor esi, esi
sub ebx, eax
lea edi, [esp + esi + 0x1c]
mov cl, byte [ebx + edi]
push ecx
call fcn.00401e50
xor al, byte [edi]
push eax
call fcn.00401000
add esp, 8
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0xc
jl 0x401eda
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x44fe40
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x78
ret