joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
movzx eax, word [esp + 4]
cmove ecx, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push esi
push str.ZIPRES
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4357c9
mov ecx, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test ecx, ecx
push edi
cmove ecx, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push esi
test edi, edi
je 0x4357c2
mov eax, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hResourceInstance]
test eax, eax
cmove eax, dword [sym.MainExtractor.exe_struct_HINSTANCE____DuiLib::CPaintManagerUI::m_hInstance]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4357c8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call sym.MainExtractor.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_void___unsigned_int_
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret

Function at 0x439010
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439053
cmp byte [esp + 8], 0
je 0x439047
cmp byte [esp + 0xc], 0
mov ecx, 1
mov eax, 4
cmovne eax, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
xor eax, eax
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
Function at 0x45a910
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4f7600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x45a980
cmp dword [esi + 0x10], 0
je 0x45a980
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0048a740
mov ebx, esp
test ebx, ebx
je 0x45a980
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1b8
call fcn.00436810
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0
push 0
push 0
push str.textchanged
push dword [esi + 0x10]
mov ecx, eax
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x462760
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x109c], 0
je 0x4627ca
cmp dword [esp + 8], 0x100
jne 0x4627bb
cmp word [esp + 0xc], 0xd
jne 0x4627bb
cmp byte [esi + 0x10a2], 0
je 0x46279d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4627bb
cmp byte [esi + 0x10a3], 0
jne 0x4627bb
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x4627b5
push 0
push 0
push 0
push str.return
push esi
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x109c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
jmp dword [eax + 0xc]
mov eax, 1
pop esi
ret 0x10
Function at 0x463130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1300
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4f7600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x10], eax
mov dword [eax + 0x14dc], 0
cmp dword [edi + 4], 0
jne 0x4631eb
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push eax
lea ecx, [ebp - 0x20]
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_struct_tagRECT_const__
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.MainExtractor.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov ecx, esp
push 0
push 0x40000000
push 0
movups xmmword [ecx], xmm0
push eax
mov ecx, edi
call sym.MainExtractor.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x10]
mov esi, eax
call sym.MainExtractor.exe_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov ecx, esi
call sym.MainExtractor.exe_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, eax
mov dword [ebp - 4], 0
call sym.MainExtractor.exe_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa5], al
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp byte [ebp - 0xa5], 0
je 0x463233
mov eax, dword [edi + 0x10]
add eax, 0x14cc
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x14cc
push eax
push 0
push 0x1002
push dword [edi + 4]
call esi
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret 4
Function at 0x4686e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x24], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], esi
mov dword [edi + 0x364], ecx
mov dword [edi + 0x368], 0
mov dword [edi + 0x36c], eax
test ecx, ecx
jne 0x46875e
call sym.MainExtractor.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, dword [esp + 0xc]
test esi, esi
je 0x46875e
call sym.MainExtractor.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call sym.MainExtractor.exe_public:_static_class_DuiLib::ObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, edi
lea ecx, [edi + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
lea ecx, [esp + 0x2c]
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
mov ecx, dword [edi + 0x364]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
test ecx, ecx
jne 0x468796
mov eax, dword [esp + 0x10]
jmp 0x46879d
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call sym.MainExtractor.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
movups xmm0, xmmword [esp + 0x18]
push 0
sub esp, 0x10
mov ecx, esp
push 0x88
push closesocket
push 0
movups xmmword [ecx], xmm0
push eax
mov ecx, edi
call sym.MainExtractor.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4687e3
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4687d7
mov eax, dword [esp + 0x14]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.00489fe1
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x46a3f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46a46f
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esp + 0x14]
mov dword [ebx], eax
test eax, eax
je 0x46a46f
push esi
push eax
mov dword [esp + 0x10], 0
call fcn.00489ca7
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
cmp eax, dword [ebx]
je 0x46a468
push esi
call fcn.0046a3e0
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ecx
ret
pop edi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x46a480
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1960
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4f7600]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call sym.MainExtractor.exe_public:_static_class_DuiLib::CDuiString_const____cdecl_DuiLib::CPaintManagerUI::GetResourcePath_void_
push eax
lea ecx, [ebp - 0x94]
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_class_DuiLib::CDuiString_const__
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call sym.MainExtractor.exe_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x94]
call sym.MainExtractor.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46a554
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x46a554
push eax
mov dword [ebp - 0x98], 0
call fcn.00489ca7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx]
je 0x46a556
push esi
call fcn.0046a3e0
add esp, 4
xor esi, esi
lea ecx, [ebp - 0x94]
call sym.MainExtractor.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov eax, esi
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.00489fe1
mov esp, ebp
pop ebp
ret
Function at 0x46a580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push edi
push dword [esp + 0x14]
push dword [esp + 0x14]
call sym.MainExtractor.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x46a5b7
push edi
call sym.MainExtractor.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x46a5bd
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebp
xor eax, eax
pop ebx
ret
call sym.MainExtractor.exe_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetResourceDll_void_
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, dword [esp + 0x18]
mov dword [ebp], eax
test eax, eax
je 0x46a5b7
push esi
push eax
call fcn.00489ca7
add esp, 4
mov esi, eax
push dword [ebp]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.0048ba50
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x46cff0
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
mov ebx, dword [esp + 0x420]
push esi
mov esi, dword [esp + 0x420]
test ebx, ebx
je 0x46d0eb
movzx eax, word [ebx]
test ax, ax
je 0x46d0eb
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
nop
cmp dx, 0x2f
je 0x46d03c
cmp dx, 0x5c
jne 0x46d03e
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x46d030
cmp edi, ebx
je 0x46d086
sub edi, ebx
lea eax, [esp + 0xc]
sar edi, 1
push edi
push ebx
push eax
call fcn.00496d26
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x46d102
xor eax, eax
mov word [esp + edi + 0xc], ax
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0046cff0
add esp, 8
lea ecx, [esp + 0x214]
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x46d090
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x46d0a2
lea edi, [esp + 0x214]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x46d0c0
mov ecx, ebx
lea eax, [esp + 0x214]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [esp + 0x418]
pop esi
pop ebx
xor ecx, esp
call fcn.00489fe1
add esp, 0x414
ret
call fcn.0048a9b5
int3
Function at 0x46d790
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
cmp dword [ebp], 0
jne 0x46d924
cmp dword [ebp + 4], 0xffffffff
jne 0x46d924
push edi
lea edi, [ebp + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x46d7c0
mov eax, dword [0x4c1c34]
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi], eax
push esi
cmp ebx, 1
jne 0x46d7fa
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebx
je 0x46d815
pop esi
pop ebx
pop edi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
cmp ebx, 2
je 0x46d811
cmp ebx, 3
je 0x46d811
pop esi
pop ebx
pop edi
mov eax, 0x10000
pop ebp
pop ecx
ret 0xc
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov byte [esp + 0x20], 0
cmp ebx, 1
je 0x46d85b
cmp ebx, 2
jne 0x46d8a3
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x46d894
pop esi
pop ebx
pop edi
mov eax, 0x200
pop ebp
pop ecx
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edi, eax
call esi
push 2
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push edi
mov edi, dword [esp + 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x46d890
pop esi
pop ebx
pop edi
mov eax, 0x100
pop ebp
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
sete byte [esp + 0x20]
push 0x1c
call fcn.00489c69
add esp, 4
mov esi, eax
cmp ebx, 1
je 0x46d8d8
cmp ebx, 2
je 0x46d8d8
mov eax, dword [esp + 0x1c]
mov word [esi], 0x100
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0xc], 0
jmp 0x46d90b
mov cl, byte [esp + 0x20]
mov byte [esi], 1
mov byte [esi + 1], cl
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test cl, cl
je 0x46d90b
push 1
push 0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
push esi
call fcn.00470e10
add esp, 4
mov dword [ebp], eax
mov eax, dword [0x4fe5e0]
pop esi
pop ebx
pop edi
pop ebp
pop ecx
ret 0xc
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x470780
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0
je 0x4707c0
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4707b4
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
div ebp
pop ebp
pop ebx
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x10]
push esi
mov esi, dword [edi + 0x14]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x14]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x1c]
call fcn.0048ba50
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x470890
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x47089b
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not eax
cmp esi, 8
jb 0x47095c
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
sub edi, 1
jne 0x4708b5
pop edi
test esi, esi
je 0x47097a
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4c15b8]
sub esi, 1
jne 0x470960
not eax
pop esi
ret
Function at 0x479300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x47932d
cmp eax, edi
jge 0x47931d
push esi
call fcn.00474d40
add esp, 4
mov eax, dword [esi + 0xc]
mov ecx, edi
shr eax, cl
sub dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, eax
test eax, eax
jle 0x47935d
mov eax, dword [esi + 0xc]
push ebx
mov bl, al
nop dword [eax + eax]
mov byte [esp + ecx + 0x10], bl
sub edx, 8
shr eax, 8
inc ecx
mov dword [esi + 0xc], eax
mov bl, al
test edx, edx
jg 0x479340
mov dword [esi + 8], edx
pop ebx
cmp ecx, 4
jge 0x479379
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x47936a
xor dl, dl
jmp 0x47936f
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [esp + ecx + 0xc], dl
inc ecx
cmp ecx, 4
jl 0x479360
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0xf]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [esp + 0xe]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4793b1
mov dword [0x4fe5e8], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4793c9
pop edi
mov dword [0x4fe5e8], 0x4c1e80
xor eax, eax
pop esi
ret
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4793e3
push edi
push ecx
push esi
call fcn.0047c590
add esp, 0xc
test eax, eax
je 0x4793ac
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0048ba50
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
ret

Function at 0x47cea0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0048bfd0
add esp, 0xc
lea eax, [esp]
xorps xmm0, xmm0
movups xmmword [esp], xmm0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x78]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
add esp, 0x54
ret

Function at 0x47d2a0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x4f7600]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x40c]
push esi
mov esi, dword [esp + 0x414]
push 0x4c2314
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call fcn.00493f6c
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x47d362
push eax
push 0x400
lea eax, [esp + 0x10]
mov dword [esi + 4], 0
push 1
push eax
mov dword [esi], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
call fcn.00494532
add esp, 0x10
test eax, eax
je 0x47d350
push eax
lea eax, [esp + 0xc]
push eax
push esi
call fcn.0047d1e0
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0x400
push 1
push eax
call fcn.00494532
add esp, 0x1c
test eax, eax
jne 0x47d328
push esi
call fcn.0047d0d0
push dword [esp + 8]
call fcn.00494329
add esp, 8
mov ecx, dword [esp + 0x408]
pop esi
xor ecx, esp
call fcn.00489fe1
add esp, 0x408
ret