joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e95c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x40e9f3
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x40e9a7
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW_1
mov ecx, eax
lea edx, [ebp - 0x20c]
mov eax, edi
call fcn.00405008
jmp 0x40e9dd
call sub.kernel32.dll_GetCommandLineW_1
mov ebx, eax
cmp word [ebx], 0
jne 0x40e9c0
lea eax, [ebp - 4]
xor edx, edx
call fcn.00404f20
jmp 0x40e9d3
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040e81c
mov ebx, eax
test esi, esi
je 0x40e9d3
dec esi
jmp 0x40e9ae
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e9fa
lea eax, [ebp - 4]
call fcn.00404ebc
ret

Function at 0x40ea04
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00408bd8
add esp, 0x208
pop ebx
ret

Function at 0x40eb68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40eca0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x40ec8a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40ebc5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40ec8a
cmp dword [ebp - 0x14], 0
jne 0x40ebdc
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404ecc
mov bl, 1
jmp 0x40ec8a
cmp dword [ebp - 0x14], 0x70000000
jb 0x40ebea
call fcn.0040c210
mov esi, dword [ebp - 0x14]
inc esi
shr esi, 1
lea eax, [ebp - 4]
mov ecx, esi
xor edx, edx
call fcn.00405008
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
call fcn.004056e0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExW_1
cmp eax, 0xea
je 0x40eb8e
test eax, eax
jne 0x40ec8a
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
je 0x40ec38
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x40ec8a
mov esi, dword [ebp - 0x14]
shr esi, 1
jmp 0x40ec40
dec esi
test esi, esi
je 0x40ec4f
mov eax, dword [ebp - 4]
cmp word [eax + esi*2 - 2], 0
je 0x40ec3f
cmp dword [ebp - 0x10], 7
jne 0x40ec5a
test esi, esi
je 0x40ec5a
inc esi
lea eax, [ebp - 4]
mov edx, esi
call fcn.00405134
cmp dword [ebp - 0x10], 7
jne 0x40ec7d
test esi, esi
je 0x40ec7d
lea eax, [ebp - 4]
call fcn.004056e0
mov word [eax + esi*2 - 2], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404ecc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eca7
lea eax, [ebp - 4]
call fcn.00404ebc
ret
Function at 0x40f6e4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x41cd98
mov eax, esi
mov edx, 8
test al, 1
je 0x40f700
shr eax, 1
xor eax, 0xedb88320
jmp 0x40f702
shr eax, 1
dec edx
jne 0x40f6f3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40f6ec
pop esi
ret

Function at 0x40f718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x41cd94], 0
jne 0x40f73b
call fcn.0040f6e4
push 1
push 0x41cd94
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40f766
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x41cd98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40f741
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x411194
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00411148
test al, al
jne 0x4111b5
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x411201
xor eax, eax
push ebp
push 0x4111f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404f58
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4111f8
lea eax, [ebp - 0xc]
call fcn.00411184
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411440
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x411448
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x411535
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040ea30
mov edx, dword [ebp - 8]
mov ecx, 0x411550
xor eax, eax
call fcn.00411324
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x411503
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x411462
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x35
call fcn.00410f4c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004084dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040efb8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x67
call fcn.00410f1c
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406f70]
call fcn.0040c21c
call fcn.004040b0
jmp 0x411462
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41153c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404ec4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ec4
ret
Function at 0x411564
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x417d90]
cmp dword [eax], 2
jne 0x4115cc
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x411587
xor eax, eax
jmp 0x4115db
lea eax, [esp + 8]
push eax
push 0x4115e0
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4115cc
xor eax, eax
jmp 0x4115db
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x411608
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x411662
inc esi
xor edi, edi
cmp edi, 1
jne 0x41162e
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep_1
jmp 0x41163c
cmp edi, 1
jle 0x41163c
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep_1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00411194
test eax, eax
jne 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x411662
inc edi
dec esi
jne 0x41161e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x41166c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x411690
mov eax, dword [ebp - 4]
jmp 0x411693
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x440c30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bdc30]
xor edx, edx
cmp eax, edx
jne 0x440c56
xor eax, eax
mov byte [eax + 0x4bdb30], al
inc eax
cmp eax, 0x100
jl 0x440c3e
mov dword [0x4bdc30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bdb30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x440ce7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x440cba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x440c88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x440d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x440db3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x440d9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x447bd8
cmp ebp, ebx
jle 0x447bd8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x447a9e
dec eax
or eax, 0xfffffff8
inc eax
je 0x447aa5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x447ab4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x447abb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047f5f2
add esp, 4
cmp eax, ebx
je 0x447adc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0047f5f2
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x447bce
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x447bb5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x447ba1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x447b96
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x447ba4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x447ba4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x447b40
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x447b31
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x455ac0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d248
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x455af9
inc eax
mov dword [esi + 0x10], eax
jmp 0x455c0c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x455b0d
mov eax, 0xffffffc7
jmp 0x455c0e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x455b1e
cmp dword [esi + 8], eax
jne 0x455b0d
cmp dword [esi + 8], eax
jne 0x455b37
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x455b37
mov eax, 0xffffffc7
jmp 0x455c0e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x455b4b
push eax
mov ecx, ebx
call fcn.004552f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00424380
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x455b7c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004243a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00454a60
test eax, eax
mov dword [esp + 0x38], eax
je 0x455baf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x495480
call fcn.00424580
mov eax, dword [esp + 0x38]
jmp 0x455c0e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00455920
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x455bf3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00455940
mov esi, eax
test esi, esi
jne 0x455c23
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00455920
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x455bc5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x495480
call fcn.00424580
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x495480
call fcn.00424580
mov eax, esi
jmp 0x455c0e
Function at 0x45ff90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48db58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00486250
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0045f770
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0048617e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
push esi
call 0xf54851
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x460054
cmp dword [esp + 0x40], 1
jne 0x460052
cmp ecx, eax
jge 0x460054
mov eax, ecx
cmp eax, 0xc8
jge 0x460060
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045fe10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
push edx
call 0xd8d643
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004862c2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x462b40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x462b73
push esi
call fcn.00465c90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x462b6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x462bf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x462be2
mov eax, dword [esi + 8]
test eax, eax
je 0x462b97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x462bde
cmp eax, 2
je 0x462be2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x462b8a
cmp eax, 3
je 0x462bbd
cmp eax, 1
jne 0x462b8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x462b8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x462b8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00462c20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x462c08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00462c20
add esp, 4
pop esi
ret
Function at 0x5007ac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x5007ba
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x500873
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x567280]
inc edx
sub edi, 8
dec esi
jne 0x5007d8
pop ebx
test edi, edi
je 0x50088c
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x567280]
inc edx
dec edi
jne 0x500877
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x500892
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x567280]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x567280]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x50953f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x509564
cmp eax, esi
jge 0x50955c
mov eax, edi
call fcn.00508f93
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
xor ecx, ecx
cmp dword [edi + 8], ecx
jle 0x509586
mov al, byte [edi + 0xc]
shr dword [edi + 0xc], 8
add dword [edi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [edi + 8], 0
jg 0x50956b
cmp ecx, 4
jge 0x5095a2
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp eax, esi
jb 0x509593
xor dl, dl
jmp 0x509598
mov dl, byte [eax]
inc eax
mov dword [edi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x509589
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x5095d4
mov eax, 0x567f30
call fcn.00503ec4
jmp 0x509610
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x5095e4
mov eax, 0x567f1c
jmp 0x5095cd
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x5095fa
push esi
call fcn.00509065
pop ecx
test eax, eax
je 0x509610
push esi
push dword [edi]
push dword [edi + 0x10]
call fcn.00548fb0
add dword [edi], esi
add dword [edi + 0x10], esi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0xd66e74
Capabilities:
Encrypt data using rc4 prga

Disassembly:
je 0xbfa078
mov dword [eax], esi
jmp 0xbfa07a
jb 0x612876
call fcn.00546dbb
mov edx, dword [esi + 0xc]
clc
mov eax, dword [esi + 0x10]
and cl, 0x1a
shl cl, cl
sbb cx, 0x48ad
mov ecx, dword [edx + ebx*4]
sub eax, edx
xor edx, 0x66cf2cd1
stc
sar eax, 2
rcr edx, cl
shl eax, 5
movzx dx, cl
mov dword [esi + 0x18], eax
dec edx
mov edx, 0x80000000
test sp, 0x7f1c
cmp bx, si
test ecx, ecx
jmp 0x9c44cd
push ebx
push esi
cmovge si, bx
mov esi, dword [ebp + 8]
jmp 0xfdbf31
js 0xe33269
shr edx, 1
dec eax
cmp si, 0x5e61
test edx, ecx
jmp 0xe33260
jne 0x8d19c7
add eax, 0xffffffe0
jmp 0xc2e410
push eax
mov dword fs:[0], esp
jmp 0xc5cc61
sub eax, eax
mov dword [esi], eax
movsx ebx, si
shr bl, cl
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
sar al, cl
movzx eax, bp
xchg bl, al
mov dword [esi + 0x14], 0
add ah, ch
shl ah, cl
adc bx, 0x752e
mov ebx, dword [ebp + 0xc]
mov eax, esp
or ah, 0x76
add eax, ebp
add ebx, 4
not eax
mov al, 0x2d
mov eax, esi
mov dword [ebp - 4], 1
call fcn.004d4a30
mov eax, dword [esi + 0x10]
btr bx, 9
sbb ebx, eax
bt bx, 0x94
sub eax, dword [esi + 0xc]
bt ebx, ecx
sar eax, 2
shl ebx, 0xad
movsx bx, bl
lea ebx, [eax - 1]
cmp ebx, eax
jmp 0x61286b
jmp 0xe33266
push ecx
jmp 0x7d3e13
push ebp
mov ebp, esp
lahf
cmovno ax, di
push 0xffffffffffffffff
movzx eax, bx
mov ax, dx
jmp 0xf804e6
je 0x8d19cd
mov dword [esi + 0x18], eax
mov ecx, dword [ebp - 0xc]
cmovge ax, bx
bswap eax
mov eax, esi
pop esi
movsx bx, ah
bswap bx
movzx bx, bl
mov dword fs:[0], ecx
seto bh
bswap ebx
not bx
pop ebx
mov esp, ebp
movsx ebp, ax
pop ebp
jmp 0x10c6e68
push 0x562ec0
movsx eax, sp
cmovp ax, si
mov eax, dword fs:[0]
jmp 0xb3cb7e
push 4
jmp 0xfee27c
call fcn.0054662b
add esp, 4
test eax, eax
jmp 0x5f0fad
ret 8
Function at 0x10003ebf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10003ece
pop dword [ebp - 0x28]
mov eax, 0x10003ece
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x39d5101c
add dword [ebp - 0x38], 0x147d352f
mov dword [ebp - 0x34], 0xa0bbd541
sub dword [ebp - 0x34], 0x6e8888fc
mov dword [ebp - 0x30], 0x6594635d
add dword [ebp - 0x30], 0xe6b7e0d1
mov dword [ebp - 0x2c], 0xc4efea4e
add dword [ebp - 0x2c], 0x3b1015b2
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xeeafe787
sub dword [ebp - 0x38], 0x7a3d7e31
mov dword [ebp - 0x34], 0x83f2b078
sub dword [ebp - 0x34], 0x42864f03
mov dword [ebp - 0x30], 0x27fd3068
add dword [ebp - 0x30], 0x3b723c04
mov dword [ebp - 0x2c], 0xa51266fd
add dword [ebp - 0x2c], 0x5aed9903
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x10c80b7a
add eax, 0xff3844c6
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x384da
push 0
call eax
mov ecx, 0x4bcb41f8
sub ecx, 0x4bcaf34a
xor ebx, ebx
add ebx, eax
mov esi, 0xda218e29
add esi, 0x35df27d7
add esi, dword [ebp - 0x28]
mov edi, 0xa3fa5f0d
sub edi, 0x71f775e3
mov edx, dword [esi]
xor dword [ebp - 0x10], edi
xor edx, edi
add dword [ebp - 0x14], 0xa082ac62
mov dword [ebx], edx
sub dword [ebp - 4], 0xa73dd366
add ebx, 4
add esi, 4
loop 0x10003fe8
add eax, 0x12d8b
mov ebx, eax
add eax, 5
mov ecx, 0x5817f910
add ecx, 0xb7e806f0
add ecx, dword [ebp - 0x28]
call ebx
leave
ret