joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41594d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x254
mov eax, 0x5f10af
call fcn.005c5e27
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41597c
xor al, al
jmp 0x415b67
push 0xf
pop eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ebx
mov byte [ebp - 0x228], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], ebx
mov byte [ebp - 0x244], bl
push 0x66e600
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
call fcn.00405d46
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x260]
push 0x62ad00
push eax
mov byte [ebp - 4], 2
call fcn.004167d5
add esp, 0xc
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 3
call fcn.00405c4e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x260]
add ecx, 0xfffffff0
call fcn.004030a5
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x258]
push 0x62ad08
push eax
call fcn.004167d5
push 0xfa
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 4
push ebx
push eax
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x254], 0x400
call fcn.005c2720
add esp, 0x18
lea eax, [ebp - 0x250]
push eax
push 0xf003f
push ebx
push dword [ebp - 0x258]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415b17
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x62ad40
push dword [ebp - 0x250]
call edi
test eax, eax
jne 0x415b17
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415a9c
sub eax, edx
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x228]
call fcn.004022cd
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push str.WorkDirString
push dword [ebp - 0x250]
mov dword [ebp - 0x254], 0x400
call edi
test eax, eax
jne 0x415b17
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x415af2
sub eax, edx
push eax
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x244]
call fcn.004022cd
mov byte [ebp - 0x245], 1
jmp 0x415b1d
mov byte [ebp - 0x245], bl
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x258]
add ecx, 0xfffffff0
call fcn.004030a5
mov ecx, dword [ebp - 0x24c]
add ecx, 0xfffffff0
call fcn.004030a5
push ebx
push 1
lea ecx, [ebp - 0x244]
call fcn.00402696
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.00402696
mov al, byte [ebp - 0x245]
call fcn.005c5eaa
ret
Function at 0x416940
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
push 0x62ae44
push eax
call fcn.005c21f4
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4169c2
push 0
push 4
push 0
push 0
push 0x62adf0
call fcn.004bad81
mov esi, eax
test esi, esi
je 0x4169b9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4169ae
mov ecx, dword [esi + 0x2c]
push ecx
mov dword [esi + 0x28], 0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 1
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x4169c8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
push ebx
call fcn.005c0853
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x416d90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec597
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x65bf90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], vtable.ICryptoGetTextPassword.0
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi], vtable.CArchiveExtractCallback.0
mov dword [esi + 4], vtable.CArchiveExtractCallback.1.0
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], ebx
push 8
mov dword [esi + 0x10], ebx
call fcn.004ba2ba
mov edi, 3
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ebx
call fcn.004ba2ba
xor edx, edx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov word [eax], dx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x28], ebx
call fcn.004ba2ba
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov word [eax], cx
mov dword [esi + 0x4c], ebx
mov byte [ebp - 4], 4
mov byte [esi + 0x58], bl
push 8
mov dword [esi + 0x5c], ebx
call fcn.004ba2ba
add esp, 0x10
mov dword [esi + 0x5c], eax
xor edx, edx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], edi
mov word [eax], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4184a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, eax
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
cmp eax, 0x400000
jbe 0x4184c3
mov eax, 0x400000
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push edi
push eax
mov dword [ebp - 4], 0
call ebx
mov ecx, dword [ebp - 4]
add dword [esi], ecx
test eax, eax
je 0x4184f8
test ecx, ecx
je 0x4184ee
add edi, ecx
sub dword [ebp + 0xc], ecx
jne 0x4184b4
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4188f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push esi
push edi
lea eax, [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x418919
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x418934
mov edx, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop esi
pop ebp
ret 8
call edi
test eax, eax
jne 0x418945
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
jle 0x418951
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebp
ret 8
Function at 0x41ad80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x66b9a0], ecx
inc edx
cmp edx, 0x100
jb 0x41ad83
cmp edx, 0x800
jae 0x41ae59
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x66b5a0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x66b9a0]
inc edx
mov dword [edx*4 + 0x66b99c], eax
cmp edx, 0x800
jb 0x41ae30
mov eax, 0x434d60
mov dword [0x66b990], eax
mov dword [0x66d9a0], eax
mov dword [0x66b98c], 0x434e10
call fcn.00435000
test eax, eax
jne 0x41ae85
mov dword [0x66d9a0], 0x434e10
pop ecx
ret

Function at 0x41b350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6686d4], 0
push ebx
mov ebx, eax
jne 0x41b38e
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
call fcn.004ba2af
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41b39c
or eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c560
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6686d4], 0
push ebx
push esi
mov esi, eax
mov ebx, ecx
jne 0x41c5a5
lea eax, [ebp - 0xc]
push eax
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
call fcn.004ba2af
add esp, 4
test esi, esi
je 0x41c5b9
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x41c5b9
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c5d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6686d4], 0
push ebx
mov ebx, eax
jne 0x41c614
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
call fcn.004ba2af
add esp, 4
test esi, esi
pop esi
je 0x41c628
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c628
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef338
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x65bf90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [0x6686d4], 0
jne 0x41c69e
lea eax, [ebp - 0x18]
push eax
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0x18]
push ecx
mov esi, eax
call fcn.004ba2af
add esp, 4
test esi, esi
je 0x41c6be
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c6be
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c6f2
lea esi, [ebp - 0x50]
call fcn.004195f0
push ebx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041b3b0
test al, al
jne 0x41c705
mov edx, dword [ebp - 0x28]
push edx
call fcn.004ba2af
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
shr ebx, 4
push eax
and bl, 1
call fcn.004ba2af
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c9a0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x6686d4], 0
push ebx
push esi
mov ebx, eax
jne 0x41c9da
lea eax, [ebp - 0xc]
push eax
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0xc]
push ecx
mov esi, eax
call fcn.004ba2af
add esp, 4
mov eax, esi
jmp 0x41c9e6
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41ca01
cmp eax, 0xffffffff
je 0x41ca01
test al, 0x10
jne 0x41ca01
test al, 1
je 0x41ca01
and eax, 0xfffffffe
mov ecx, ebx
call fcn.0041c560
test al, al
je 0x41ca4c
cmp byte [0x6686d4], 0
jne 0x41ca39
lea edx, [ebp - 0xc]
push edx
call fcn.004182b0
mov eax, dword [eax]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004ba2af
add esp, 4
test esi, esi
je 0x41ca4c
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41ca4c
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ca60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edd56
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x65bf90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
xor ebx, ebx
xor ecx, ecx
mov dword [edi + 4], ebx
mov dword [ebp - 0x32c], edi
mov word [eax], cx
cmp byte [0x6686d4], bl
jne 0x41cb52
lea edx, [ebp - 0x118]
push edx
push 0x105
mov byte [ebp - 0x118], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor esi, esi
mov dword [ebp - 0x328], eax
cmp byte [ebp - 0x118], bl
je 0x41cae0
inc esi
cmp byte [ebp + esi - 0x118], bl
jne 0x41cad6
lea eax, [esi + 1]
push eax
call fcn.004ba2ba
mov edi, eax
lea edx, [ebp - 0x118]
add esp, 4
mov dword [ebp - 0x338], edi
mov dword [ebp - 0x334], esi
mov dword [ebp - 0x330], esi
sub edx, edi
mov cl, byte [edx + eax]
mov byte [eax], cl
inc eax
cmp cl, bl
jne 0x41cb08
lea ecx, [ebp - 0x338]
push ecx
lea esi, [ebp - 0x344]
mov dword [ebp - 4], ebx
call fcn.00418360
add esp, 4
mov esi, dword [ebp - 0x32c]
mov ebx, eax
mov byte [ebp - 4], 1
call fcn.00418070
mov edx, dword [ebp - 0x344]
push edx
call fcn.004ba2af
push edi
call fcn.004ba2af
add esp, 8
jmp 0x41cb7e
lea ecx, [ebp - 0x324]
push ecx
xor eax, eax
push 0x105
mov word [ebp - 0x324], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [ebp - 0x324]
mov dword [ebp - 0x328], eax
call fcn.00418000
mov edx, dword [ebp - 0x328]
dec edx
mov eax, 0x103
cmp eax, edx
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bdb17
mov esp, ebp
pop ebp
ret
Function at 0x41fbc0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea ebx, [esi + 0xa8]
call fcn.00422930
lea eax, [ebp - 0x24]
push eax
mov dword [ebx + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x10], ecx
mov word [ebx + 0x14], 0
mov byte [ebx + 0x16], 3
mov ecx, 1
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc4], pe_nt_image_headers32
mov word [esi + 0xc8], 0
mov dword [esi + 0xcc], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426f50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec9db
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x65bf90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], vtable.ICompressSetFinishMode.0
mov dword [esi + 8], vtable.ICompressSetInStream2.0
mov dword [esi + 0xc], vtable.ISequentialInStream.0
mov dword [esi + 0x10], vtable.ICompressSetOutStreamSize.0
mov dword [esi + 0x14], vtable.ICompressSetBufSize.0
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov eax, 0x40000
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
push 0x41a500
push 0x480720
mov dword [ebp - 4], ebx
push 4
push 4
lea eax, [esi + 0x98]
push eax
mov dword [esi], vtable.NCompress::NBcj2::CDecoder.0
mov dword [esi + 4], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NBcj2::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NBcj2::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NBcj2::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NBcj2::CDecoder.5.0
call fcn.005c23c6
mov word [esi + 0xa8], bx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4283f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.005c2584
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x428419
xor eax, eax
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x428428
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x429310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x65bf90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov byte [esi + 0x7049], 0
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [eax], 0
add esi, 0x140
push ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, 8
sub ecx, eax
shr ebx, cl
add eax, 8
mov dword [esi], eax
shr ebx, 0x10
and ebx, 0xff
call fcn.0042a340
mov byte [ebp + edi - 0x10], bl
inc edi
cmp edi, 0xa
jb 0x429343
mov eax, dword [esi + 0x28]
pop ebx
cmp eax, 4
ja 0x42944a
add eax, eax
add eax, eax
mov ecx, 0x20
sub ecx, dword [esi]
add eax, eax
cmp ecx, eax
jb 0x42944a
movzx edx, byte [ebp - 0xa]
movzx eax, byte [ebp - 9]
movzx ecx, byte [ebp - 8]
shl edx, 8
or edx, eax
movzx eax, byte [ebp - 7]
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x18]
shl edx, 8
or edx, eax
mov al, byte [ebp - 0x10]
mov dword [ecx], edx
cmp al, 0x31
jne 0x42940b
cmp byte [ebp - 0xf], 0x41
jne 0x42944a
mov al, 0x59
cmp byte [ebp - 0xe], al
jne 0x42944a
cmp byte [ebp - 0xd], 0x26
jne 0x42944a
cmp byte [ebp - 0xc], 0x53
jne 0x42944a
cmp byte [ebp - 0xb], al
jne 0x42944a
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x7048], 1
mov edx, dword [eax + 0x6ffc]
rol edx, 1
xor edx, dword [ecx]
mov dword [eax + 0x6ffc], edx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bdb17
mov esp, ebp
pop ebp
ret 4
cmp al, 0x17
jne 0x42944a
cmp byte [ebp - 0xf], 0x72
jne 0x42944a
cmp byte [ebp - 0xe], 0x45
jne 0x42944a
cmp byte [ebp - 0xd], 0x38
jne 0x42944a
cmp byte [ebp - 0xc], 0x50
jne 0x42944a
cmp byte [ebp - 0xb], 0x90
jne 0x42944a
mov eax, dword [ebp - 0x14]
mov word [eax + 0x7048], 0x101
mov ecx, dword [ecx]
cmp ecx, dword [eax + 0x6ffc]
je 0x4293f7
mov byte [eax + 0x704a], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.005bdb17
mov esp, ebp
pop ebp
ret 4
Function at 0x42bc70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [esi + 0x10]
push ebx
mov ecx, 8
push edi
lea edx, [ecx + 0x29]
call fcn.0042a4a0
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x39]
call fcn.0042a4a0
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x51]
call fcn.0042a4a0
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x1e]
call fcn.0042a4a0
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x4b]
call fcn.0042a4a0
mov eax, dword [esi + 0x10]
mov ecx, 8
lea edx, [ecx + 0x51]
call fcn.0042a4a0
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
or eax, 0xffffffff
xor edi, edi
mov byte [ebp - 1], dl
xor ebx, ebx
jmp 0x42bcf3
mov dl, byte [ebp - 1]
mov ecx, dword [ebp + 8]
mov cl, byte [ebx + ecx]
cmp edi, 4
jne 0x42bd1e
test cl, cl
je 0x42bd1a
movzx edx, dl
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
xor eax, dword [edi*4 + 0x6660a0]
dec cl
jne 0x42bd05
xor edi, edi
jmp 0x42bd41
cmp dl, cl
jne 0x42bd25
inc edi
jmp 0x42bd2d
mov edi, 1
mov byte [ebp - 1], cl
mov edx, eax
movzx ecx, cl
shr edx, 0x18
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x6660a0]
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x42bcf0
not eax
mov edi, eax
push edi
push esi
call fcn.0042b050
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.0042b0e0
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42bf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
push ebx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 8
mov byte [esp + 0x20], bl
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0042bd70
mov eax, dword [esi + 0x8ce0]
cmp byte [eax + 0x1a0], bl
je 0x42bfbc
mov ecx, dword [esi + 0x8cd8]
mov edx, dword [eax + 0x17c]
imul ecx, ecx, 0x8e00
mov eax, dword [ecx + edx + 0x8cf0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp dword [esi + 0x8cd4], ebx
jbe 0x42bff2
lea edx, [esi + 0x7cd4]
lea esp, [esp]
mov eax, dword [esi + 0x8ce0]
mov edi, dword [eax + 0x178]
rol edi, 1
xor edi, dword [edx]
inc ecx
mov dword [eax + 0x178], edi
add edx, 4
cmp ecx, dword [esi + 0x8cd4]
jb 0x42bfd0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edx*8 + 8]
sub eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0x8ce0]
push ecx
call fcn.0042c0f0
mov eax, dword [esi + 0x8ce0]
xor edi, edi
cmp byte [eax + 0x1a0], bl
je 0x42c0e3
mov ecx, dword [esi + 0x8cd8]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, dword [eax + 0x19c]
jne 0x42c043
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp dword [eax + 0x1b4], ebx
je 0x42c0b7
mov ecx, dword [eax + 0x160]
mov edi, dword [eax + 0x14c]
mov edx, dword [eax + 0x164]
xor ebx, ebx
sub ecx, dword [eax + 0x154]
sbb edx, ebx
add ecx, edi
adc edx, ebx
cmp dword [eax + 0x154], edi
jbe 0x42c07b
add ecx, dword [eax + 0x158]
adc edx, ebx
mov edi, 0xf
sub edi, dword [eax + 0x140]
xor ebx, ebx
shr edi, 3
add edi, ecx
adc ebx, edx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 0x1b4]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esi + 0x8cf8]
push ecx
push eax
call edx
mov ecx, dword [esp + 0xc]
mov edi, eax
mov eax, dword [esi + 0x8ce0]
imul ecx, ecx, 0x8e00
mov edx, dword [eax + 0x17c]
lea eax, [edx + ecx + 0x8cf0]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x42c0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x435230
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
lea ebx, [esi + 0x20]
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov byte [esi + 0x44], 1
mov dword [esi + 0x10], 4
call fcn.00422930
mov ecx, dword [ebx + 0xc]
xor eax, eax
mov dword [ebx + 0x10], eax
mov byte [ecx], al
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x1c], eax
lea edi, [esi + 0x14]
mov word [edx], ax
call fcn.00435700
pop edi
pop ebx
mov esp, ebp
pop ebp
ret