joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470527
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0041dc7d
add esp, 4
cmp eax, ebx
je 0x418d0a
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], 2
lea edi, [esi + 0x18]
push 8
mov dword [ebp - 0x10], edi
mov dword [edi], ebx
call fcn.0041dc7d
add esp, 4
cmp eax, ebx
je 0x418cf3
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call fcn.00407e50
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.00407e50
mov byte [ebp - 4], 6
mov word [esi + 0x7c], 1
mov dword [ebp - 4], 0xffffffff
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
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004083a0
push 0x48aa78
lea edx, [ebp - 0x1c]
push edx
call fcn.0043d2b9
push ebx
lea ecx, [ebp - 0x28]
call fcn.004083a0
push 0x48aa78
lea eax, [ebp - 0x28]
push eax
call fcn.0043d2b9
int3

Function at 0x423e32
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x423e79
call fcn.0042772c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x423e79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x423e95
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004239ac
mov esi, eax
test edi, edi
je 0x423e93
test ebx, ebx
je 0x423e93
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x424668
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46b81a
call fcn.0043d1af
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42468d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4246d3
lea ecx, [ebp - 0x10]
call fcn.00409030
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041dd5d
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004094b0
mov eax, esi
call fcn.0043d287
ret 8
Function at 0x429266
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4292ae
call fcn.0042772c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4292ae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4292f1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4292da
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4292da
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4292ee
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43ae62
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4934a4]
jne 0x43ae6c
repz ret
jmp fcn.004403af

Function at 0x449aa2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4934a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004413d8
and dword [ebp - 0x14], 0
cmp dword [0x4add6c], 0
mov dword [ebp - 0x18], eax
jne 0x449b55
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x449bfd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x449bfd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x479f1c
push ebx
mov dword [0x4add6c], eax
call edi
push eax
call esi
push 0x479f08
push ebx
mov dword [0x4add70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4add74], eax
call edi
push eax
call esi
mov dword [0x4add7c], eax
test eax, eax
je 0x449b55
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4add78], eax
mov eax, dword [0x4add78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x449bae
cmp dword [0x4add7c], ecx
je 0x449bae
push eax
call esi
push dword [0x4add7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x449bae
test ebx, ebx
je 0x449bae
call edi
test eax, eax
je 0x449ba5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x449ba5
test byte [ebp - 8], 1
jne 0x449bae
or dword [ebp + 0x10], 0x200000
jmp 0x449be1
mov eax, dword [0x4add70]
cmp eax, dword [ebp - 0x18]
je 0x449be1
push eax
call esi
test eax, eax
je 0x449be1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x449be1
mov eax, dword [0x4add74]
cmp eax, dword [ebp - 0x18]
je 0x449be1
push eax
call esi
test eax, eax
je 0x449be1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4add6c]
call esi
test eax, eax
je 0x449bfd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x449bff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ae62
leave
ret
Function at 0x44e820
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x4947e4]
cmp eax, 0xffffffff
je 0x44e8b9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x44e8b8
mov ecx, dword [0x4947e4]
cmp ecx, 0xffffffff
jne 0x44e84c
xor eax, eax
jmp 0x44e855
push ecx
call esi
mov ecx, dword [0x4947e4]
cmp byte [eax + 0x48], 0
je 0x44e8b8
cmp ecx, 0xffffffff
je 0x44e8b8
push ecx
call esi
test eax, eax
je 0x44e8b8
mov eax, dword [0x4947e4]
cmp eax, 0xffffffff
jne 0x44e875
xor eax, eax
jmp 0x44e878
push eax
call esi
mov eax, dword [eax + 0x44]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44e8b8
mov eax, dword [0x4947e4]
cmp eax, 0xffffffff
jne 0x44e896
xor eax, eax
jmp 0x44e899
push eax
call esi
mov eax, dword [eax + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x4885d4
lea ecx, [esp + 0xb]
xor al, al
push ecx
mov byte [esp + 0xf], al
call fcn.0043d2b9
pop esi
pop ecx
ret

Function at 0x4502b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cb68
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0043b6de
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.00408040
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x450360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46cba0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0043b6de
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00408040
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4503f4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4508e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x46cec8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x4947e4]
cmp eax, 0xffffffff
jne 0x450915
xor ebx, ebx
jmp 0x45091e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x450961
mov edi, edi
cmp dword [ebx + 0x18], 0
jne 0x4509a7
cmp dword [ebx + 0xc], 0
jne 0x4509b0
push 0x44e270
push 0x4addc4
call fcn.0044e610
mov eax, dword [0x4947e4]
add esp, 8
cmp eax, 0xffffffff
je 0x450961
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x450993
lea edx, [ebx + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x450993
mov edx, dword [ebx]
mov eax, dword [edx]
push 0
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebx + 0xc], 0
je 0x4509f8
lea ecx, [ecx]
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4509e2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x4509b0
mov ebp, dword [ebx + 0x14]
mov esi, dword [ebp]
cmp esi, ebp
je 0x450930
cmp byte [esi + 0x1d], 0
mov edi, esi
jne 0x450a48
mov eax, dword [esi + 8]
cmp byte [eax + 0x1d], 0
jne 0x450a2d
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
jne 0x450a48
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
je 0x450a21
jmp 0x450a48
mov eax, dword [esi + 4]
cmp byte [eax + 0x1d], 0
jne 0x450a46
cmp esi, dword [eax + 8]
jne 0x450a46
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x450a36
mov esi, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x450a5e
mov eax, dword [edi + 0x18]
test eax, eax
je 0x450a5e
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0x10]
call fcn.00402c20
cmp esi, ebp
jne 0x450a06
jmp 0x450930
Function at 0x450b10
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x20]
push ecx
push 4
push eax
push 0x450a80
push 0
push 0
call fcn.0043f2cf
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x450b39
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
mov eax, 1
lock xadd dword [edx], eax
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x450b5d
cmp eax, 0xffffffff
je 0x450b5d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x454cd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x454cff
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x454ce0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret

Function at 0x458880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46d328
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, dword [esp + 0x44]
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
cmp dword [esi + 0x78], ecx
jne 0x45895d
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x45895d
mov ecx, dword [esi + 0x84]
cmp dword [ecx - 4], edi
jle 0x45895d
mov eax, dword [eax + 0x18]
test al, 3
jne 0x4588fb
test eax, 0x1000000
je 0x45895d
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x18]
call fcn.00405f40
mov edi, dword [esi + 0x64]
sub edi, dword [esi + 0x5c]
xor eax, eax
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov dword [esp + 0x64], eax
mov byte [ecx], al
lea eax, [esp + 0x3c]
push eax
call fcn.00408040
push edi
push 0x11
mov ecx, esi
call fcn.00457be0
cmp dword [esp + 0x28], 0x10
jb 0x458956
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041dcac
add esp, 4
xor al, al
jmp 0x4589de
mov edx, dword [esi + 0x84]
sub edx, dword [esi + 0x80]
test edx, 0xfffffffc
je 0x4589dc
mov eax, dword [esi + 0x84]
cmp dword [eax - 4], edi
jle 0x4589dc
mov edx, dword [eax - 4]
cmp dword [esi + 0x80], eax
je 0x458990
add eax, 0xfffffffc
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
mov ebx, dword [eax + 0x140]
sub ebx, ecx
add ebx, 3
and ebx, 0xfffffffc
add ebx, ecx
mov dword [eax + 0x140], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x140]
sub ecx, dword [eax + 0x13c]
mov eax, dword [eax + 0x13c]
sub ecx, edx
mov dword [eax + edx + 8], ecx
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x80]
test ecx, 0xfffffffc
jne 0x458971
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043ae62
add esp, 0x30
ret 4
Function at 0x468290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x47facd
mov dword [esp], eax
mov dword [esp + 4], 0x47bf20
mov dword [esp + 8], 0x47bf1c
mov dword [esp + 0xc], 0x47bf18
mov dword [esp + 0x10], 0x479c78
mov dword [esp + 0x14], 0x4783e8
mov dword [esp + 0x18], 0x479ca0
mov dword [esp + 0x1c], 0x479c94
mov dword [esp + 0x20], 0x47fa38
mov dword [esp + 0x24], str.__Ee
mov dword [esp + 0x28], 0x480894
mov dword [esp + 0x2c], 0x480f14
mov dword [esp + 0x30], 0x4769e4
mov dword [esp + 0x34], 0x47bf14
mov dword [esp + 0x38], 0x480fa8
mov dword [esp + 0x3c], 0x4814fc
mov dword [esp + 0x40], 0x481500
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x47bc20
mov dword [esp + 0x4c], str.BDMS
mov dword [esp + 0x50], 0x4808a0
mov dword [esp + 0x54], 0x4808ac
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x47bf04
mov dword [esp + 0x64], 0x47bf00
mov dword [esp + 0x68], 0x4811ec
mov dword [esp + 0x6c], 0x4814f8
mov dword [esp + 0x70], 0x47bc24
mov dword [esp + 0x74], 0x47bc14
mov dword [esp + 0x78], 0x47bbf4
mov dword [esp + 0x7c], 0x47bbe8
mov dword [esp + 0x80], 0x47bbe0
mov dword [esp + 0x84], 0x47bbd8
mov dword [esp + 0x88], 0x47bbd0
mov dword [esp + 0x8c], 0x47bc1c
mov dword [esp + 0x90], 0x47fa3c
mov dword [esp + 0x94], 0x47ff88
mov dword [esp + 0x98], 0x48150c
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x481508
mov dword [esp + 0xc0], 0x47bca8
mov dword [esp + 0xc4], 0x47bc90
mov dword [esp + 0xc8], 0x4783ec
mov dword [esp + 0xcc], str.ZYXWVUTRQPONLKJIHGFA
mov dword [esp + 0xd0], 0x47bccc
mov dword [esp + 0xd4], 0x479cbc
mov dword [esp + 0xd8], 0x476764
mov dword [esp + 0xdc], 0x47bcac
mov dword [esp + 0xe0], 0x47bcb4
mov dword [esp + 0xe4], 0x47befc
mov dword [esp + 0xe8], 0x47bcbc
mov dword [esp + 0xec], 0x47bca4
cmp cl, 0x3c
jae 0x4684ad
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x537398
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00536f0f
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 8], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 1]
mov byte [ebp - 0xc], al
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 4], ecx
mov word [ebp - 0x10], 0
jmp 0x5373df
mov dx, word [ebp - 0x10]
add dx, 1
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x5374b9
mov ecx, dword [ebp - 8]
and ecx, 0xff
add ecx, 1
and ecx, 0x800000ff
jns 0x537408
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 8], cl
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0xc]
and edx, 0xff
add ecx, edx
and ecx, 0x800000ff
jns 0x537437
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp - 4]
add ecx, eax
push ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 4]
add eax, edx
push eax
call fcn.0053729f
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [edx + ecx]
add eax, ebx
and eax, 0x800000ff
jns 0x53748e
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x14], al
movsx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp - 4]
mov al, byte [edx + eax]
xor al, byte [esi + ecx]
movsx ecx, word [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov byte [edx + ecx], al
jmp 0x5373d3
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0xc]
mov byte [edx + 1], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405a70
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436cd5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x64
push esi
mov eax, dword [0x449044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
push eax
push esi
push 1
push ecx
call fcn.004206b9
add esp, 0x10
cmp eax, esi
jae 0x405b7b
call fcn.00420795
sub esp, 0x10
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov esi, dword [eax]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x60]
push 0x14
push str.cannot_write_to_file
movups xmmword [eax], xmm0
call fcn.00406150
add esp, 0x18
push eax
push 0x449a90
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.00401710
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x405b45
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405b3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405b8e
push ecx
push edx
call fcn.00419b47
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov dword [ebp - 4], 1
mov byte [ebp - 0x11], 1
cmp byte [ebp - 0x11], 0
jne 0x405b93
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.std::exception.0
push eax
call fcn.0041acf4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00421342
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x74]
call fcn.00401770
push 0x447ad4
lea eax, [ebp - 0x74]
push eax
call fcn.0041aef4
int3

Function at 0x4063d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 0x10], edx
push ebx
mov dword [ebp - 8], eax
movzx eax, ax
push esi
mov esi, eax
mov dword [ebp - 4], eax
push edi
shr esi, 8
xor eax, eax
xor edi, edi
mov dword [ebp - 0xc], esi
cmp dword [ebp + 8], eax
jbe 0x406447
mov ebx, dword [ebp + 0xc]
nop dword [eax + eax]
movzx ecx, word [edx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x406447
jne 0x406431
cmp eax, edx
jge 0x406431
mov ecx, dword [ebp - 8]
movzx esi, cl
nop
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x40643e
inc eax
cmp eax, edx
jl 0x406420
mov esi, dword [ebp - 0xc]
inc edi
mov eax, edx
cmp edi, dword [ebp + 8]
jae 0x406447
mov edx, dword [ebp - 0x10]
jmp 0x406400
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
xor eax, eax
mov bl, 1
test edi, edi
je 0x40647c
mov esi, dword [ebp + 0x10]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x40646d
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x40646f
mov edx, ecx
sub dword [ebp - 4], edx
js 0x40647c
inc eax
xor bl, 1
cmp eax, edi
jb 0x406455
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret