joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cf30
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479430
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
je 0x42d0c4
lea ecx, [ebp - 0x14]
call fcn.0042ac00
push str.BREvent.ini
lea edx, [ebp - 0x14]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00412400
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
jne 0x42cfdb
push eax
push eax
push 2
push eax
push 3
push 0x40000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
jne 0x42cfd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x10]
push str._AddEventLog__create_file___s__failed___ld_
push 0x48b494
call fcn.00430910
add esp, 0x10
xor esi, esi
jmp 0x42d073
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
push 0
push str.CrashCount
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea esi, [eax + 1]
push esi
push str.CrashCount
push ebx
push str._s:_s_lu
push 0x48b494
call fcn.00430910
add esp, 0x14
lea eax, [ebp - 0x18]
push esi
push 0x4909c4
push eax
call fcn.0042bf60
add esp, 0xc
push dword [ebp - 0x10]
push dword [eax]
push str.CrashCount
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x18]
test eax, eax
mov eax, edi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d04a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x42d06e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x10]
push str._AddEventLog__write_file___s__failed___ld_
push 0x48b494
call fcn.00430910
add esp, 0x10
xor esi, esi
jmp 0x42d073
mov esi, 1
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d091
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x42d0b0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
test eax, eax
je 0x42f162
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f162
push 0x40
push 0x3000
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 8], eax
mov byte [eax], 0xb9
mov eax, dword [esi + 8]
mov byte [eax + 5], 0xe9
mov eax, dword [esi + 8]
mov dword [eax + 1], esi
mov eax, 0x42f1b0
mov ecx, dword [esi + 8]
sub eax, ecx
sub eax, 0xa
mov dword [ecx + 6], eax
push dword [esi + 8]
push 0xfffffffffffffffc
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x42f5e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
test ebx, ebx
jne 0x42f605
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
mov eax, dword [edi + 4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42f639
mov esi, dword [eax]
push 0
push 0x2710
push 0x64
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push eax
push ebx
push dword [ebp - 0xc]
call dword [esi + 0xc]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [edi + 4], 0
mov dword [ebp + 0x10], eax
je 0x42f6a5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
jne 0x42f6a5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp + 0x10], eax
jne 0x42f6a5
push dword [edi + 4]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0042f0f0
push 0
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0xc], eax
call fcn.0042f170
jmp 0x42f6bf
push 0
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x100
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp + 0xc], eax
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [ebp + 0xc]
lea eax, [ecx - 0x64]
cmp eax, 0x26ac
ja 0x42f70b
lea eax, [ecx - 0x64]
mov dword [ebp - 0x40], 0x24
xorps xmm0, xmm0
movzx eax, ax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x40]
mov eax, dword [edi + 4]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x28], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
push esi
push ecx
mov ecx, edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x431500
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x668]
lea ebx, [ecx + 0x24]
push eax
push ebx
mov dword [ebp - 0x66c], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x670], eax
cmp eax, 0xffffffff
je 0x431616
cmp dword [ebp - 0x64c], 0
jne 0x431555
cmp dword [ebp - 0x648], 0x500000
jbe 0x43160f
xor eax, eax
lea ecx, [ebp - 0x418]
push ebx
mov edx, 0x104
mov word [ebp - 0x418], ax
call fcn.004307b0
xor eax, eax
lea ecx, [ebp - 0x210]
push ebx
mov edx, 0x104
mov word [ebp - 0x210], ax
call fcn.004307b0
push 0x4945b4
mov edx, 0x104
lea ecx, [ebp - 0x418]
call fcn.004307b0
push 0x4945bc
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.004307b0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [ebp - 0x210]
push eax
call edi
test eax, eax
jne 0x4315e0
cmp esi, 2
jge 0x4315da
push 0x28
call ebx
inc esi
cmp esi, 3
jl 0x4315c4
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call esi
mov ebx, dword [ebp - 0x66c]
lea eax, [ebp - 0x418]
push eax
push ebx
call esi
push ebx
call edi
mov eax, dword [ebp - 0x670]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret
Function at 0x431990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push esi
push 0x2c
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x30
push 0
push eax
mov esi, ecx
call fcn.00451eb0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], str.TXLOGGER_BYCORETEAM
mov dword [esp + 0x14], 0x431960
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x4319fb
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.loger_command_window
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [esi + 0x230], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x230]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431a50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4797c6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x248], 0
mov dword [edi + 0x23c], 0x10101
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 3
mov dword [edi + 0x238], 0x3e8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407540
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00430df0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431b31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
mov ebx, 1
mov ecx, dword [ebp - 0x20]
sub esi, ecx
sar esi, 2
mov dword [ebp - 0x10], esi
cmp esi, ebx
jbe 0x431bf7
mov eax, esi
nop
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x431bee
cmp word [esi], 0x2f
jne 0x431b88
movzx eax, word [esi + 2]
push eax
call fcn.00460da5
add esp, 4
test eax, eax
je 0x431b88
cmp word [esi + 4], 0
jne 0x431b88
movzx eax, word [esi + 2]
sub eax, 0x30
mov dword [edi + 0x234], eax
jmp 0x431be8
push 0xa
push str._loglevel:
push esi
call fcn.0045fe64
add esp, 0xc
test eax, eax
jne 0x431bb0
add esi, 0x14
push esi
call fcn.004621c7
add esp, 4
mov dword [edi + 0x234], eax
jmp 0x431be8
push 8
push str._logbuf:
push esi
call fcn.0045fe64
add esp, 0xc
test eax, eax
jne 0x431be8
lea edx, [edi + 0x238]
mov ecx, esi
call fcn.00431040
add dword [edi + 0x238], 8
cmp dword [edi + 0x238], 1
ja 0x431be8
mov byte [edi + 0x23d], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
inc ebx
cmp ebx, eax
jb 0x431b50
mov ecx, edi
call fcn.00431990
test eax, eax
jne 0x431c08
mov byte [edi + 0x23c], al
mov ecx, edi
call fcn.00431630
lea ecx, [ebp - 0x20]
call fcn.00412d10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432d40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov esi, ecx
lea ecx, [edi + 2]
cmp ecx, 0xc0000000
jae 0x432e6b
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [ebp + 0xc]
shr edx, 1
shl edx, 2
cmp dword [eax], edx
jb 0x432e6b
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
cmp edi, 2
jbe 0x432df4
lea edx, [edi - 3]
mov eax, 0xaaaaaaab
mul edx
mov ebx, edx
shr ebx, 1
inc ebx
nop dword [eax]
movzx eax, byte [esi]
sub edi, 3
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
movzx eax, byte [eax + edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x432d90
mov ebx, dword [ebp + 8]
test edi, edi
je 0x432e58
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
cmp edi, 1
jbe 0x432e3d
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
add edx, edx
movzx eax, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
and eax, 0xf
movzx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x432e55
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov word [ecx + 2], 0x3d3d
add ecx, 4
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, ebx
pop ebx
pop edi
mov dword [edx], eax
xor eax, eax
mov byte [ecx], 0
pop esi
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x433970
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x433a88
push 0x400
xorps xmm0, xmm0
mov dword [ebp - 0x408], 0
lea eax, [ebp - 0x404]
movq qword [ebp - 0x410], xmm0
push 0
push eax
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x414], 0
call fcn.00451eb0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push 0xc
lea eax, [ebp - 0x410]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x433a81
lea edi, [ebp - 0x404]
add edi, dword [ebp - 0x3f4]
movsx eax, byte [edi]
push eax
call fcn.00461157
add esp, 4
test eax, eax
je 0x433a81
cmp byte [edi], 0
jne 0x433a47
xor ecx, ecx
jmp 0x433a59
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433a50
sub ecx, edx
push ecx
push edi
mov ecx, ebx
call fcn.00411b50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret 4

Function at 0x434950
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push str.M_GetAdaptersAddresses_begin.
push str.bugreport
mov dword [ebp - 8], ecx
call fcn.00430910
add esp, 8
mov dword [ebp - 4], 0
xor esi, esi
xor edi, edi
nop dword [eax]
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0
push 2
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
cmp ebx, 0x6f
jne 0x434a0d
test esi, esi
je 0x4349a5
push esi
call fcn.0044e423
add esp, 4
mov eax, dword [ebp - 4]
add eax, 0x120
push 0x47c6a0
push eax
call fcn.0044e428
mov esi, eax
add esp, 8
test esi, esi
je 0x4349f2
inc edi
cmp edi, 5
jl 0x434980
test esi, esi
je 0x4349d4
push esi
call fcn.0044e423
add esp, 4
push ebx
push str.GetAdaptersAddresses_failed___ld_.
push str.bugreport
call fcn.00430910
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Allocate_memory_failed___ld__in_M_GetAdaptersAddresses.
push str.bugreport
call fcn.00430910
add esp, 0xc
jmp 0x4349d4
test ebx, ebx
jne 0x4349c7
test esi, esi
je 0x4349d4
mov ebx, dword [ebp - 8]
mov ecx, ebx
push esi
call fcn.00434a50
mov edi, eax
test edi, edi
je 0x434a3a
mov ecx, ebx
call fcn.00435100
push ecx
mov ecx, ebx
call fcn.00435510
mov edi, 1
push esi
call fcn.0044e423
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x435f40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
nop word [eax + eax]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x435f50
xor edi, edi
mov word [esi + 0x100], 0
xor bh, bh
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [ebp + 8]
movzx eax, byte [edx + str.HDHDHKAKAHJEIEJMDEJKEOMXKIOWOKKXKSJDD]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x435f68
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x435fa0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
mov eax, edx
jle 0x43601d
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
push edi
mov dword [ebp - 4], eax
nop word [eax + eax]
inc byte [ecx + 0x100]
lea ebx, [ebx + 1]
movzx edi, byte [ecx + 0x100]
movzx eax, byte [edi + ecx]
add byte [ecx + 0x101], al
movzx esi, byte [ecx + 0x101]
mov dl, byte [edi + ecx]
movzx eax, byte [esi + ecx]
mov byte [edi + ecx], al
mov byte [esi + ecx], dl
movzx eax, byte [ecx + 0x101]
movzx edx, byte [ecx + 0x100]
movzx eax, byte [eax + ecx]
add al, byte [edx + ecx]
mov edx, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax + ecx]
xor al, byte [edx + ebx - 1]
sub dword [ebp + 0xc], 1
mov byte [ebx - 1], al
jne 0x435fc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4372f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479dc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x4a1ea4
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], 0x4931e8
mov dword [ecx], 0x4a1ea4
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x48d783
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00436150
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477616
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49f008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00458d22
mov edi, eax
add esp, 4
test edi, edi
jne 0x44107b
push 0x49c1ec
lea eax, [ebp - 0xd]
push eax
call fcn.0045241c
push 1
mov dword [ebp - 4], 0
call fcn.0044f04c
mov dword [edi + 4], eax
lea ecx, [esi + 8]
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
add esp, 4
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445a46
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x48c3c0]
or esi, dword [eax*4 + 0x48bf80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x48c180]
or esi, dword [edx*4 + 0x48bd80]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x48c2c0]
or ecx, dword [eax*4 + 0x48be80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x48c080]
or ecx, dword [edx*4 + 0x48bc80]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x48c3c0]
or esi, dword [eax*4 + 0x48bf80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x48c180]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x48bd80]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x48c2c0]
or ecx, dword [eax*4 + 0x48be80]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x48c080]
or ecx, dword [edx*4 + 0x48bc80]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
jne 0x445ac1
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445d46
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], eax
xor esi, esi
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x48c4c0]
test eax, ecx
setne al
mov byte [ebp + esi - 0x74], al
inc esi
cmp esi, 0x38
jl 0x445d69
xor esi, esi
movzx ebx, byte [esi + 0x48c2b0]
lea edi, [esi + esi]
and dword [ebp + edi*4 - 0xf0], 0
mov ecx, ebx
and dword [ebp + edi*4 - 0xf4], 0
xor edx, edx
cmp ecx, 0x1c
jge 0x445dbe
mov al, byte [ebp + ecx - 0x74]
jmp 0x445dc5
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x1c
jl 0x445db3
push 0x1c
pop edx
lea ecx, [ebx + 0x1c]
cmp ecx, 0x38
jge 0x445de1
mov al, byte [ebp + ecx - 0x74]
jmp 0x445de8
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x38
jl 0x445dd6
xor ecx, ecx
movzx eax, byte [ecx + 0x48c280]
cmp byte [ebp + eax - 0x3c], 0
je 0x445e11
mov eax, dword [ecx*4 + 0x48c508]
or dword [ebp + edi*4 - 0xf4], eax
movzx eax, byte [ecx + 0x48c298]
cmp byte [ebp + eax - 0x3c], 0
je 0x445e2d
mov eax, dword [ecx*4 + 0x48c508]
or dword [ebp + edi*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x445df5
inc esi
cmp esi, 0x10
jl 0x445d95
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
call fcn.00445c57
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044df7a
mov esp, ebp
pop ebp
ret