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

Disassembly:
push 0xffffffffffffffff
push 0x448a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x108]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x434f66
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x104]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x114]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x434f12
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x108]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x108]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x104]
sub ecx, edi
test edx, edx
je 0x434f87
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043fab4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x437190
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x448e98
push eax
mov dword fs:[0], esp
sub esp, 0x30
push edi
mov edi, ecx
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x43731e
push ebx
lea eax, [esp + 0x10]
push esi
push eax
call dword [sym.imp.Zbf.dll_public:_static_class_CString___cdecl_CBase::GetAppPath_void_]
add esp, 4
push 0x45be98
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x50], 0
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.0043f5d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 4
call fcn.0043f5d4
lea edx, [esp + 0x10]
push 0x459244
lea eax, [esp + 0x1c]
mov bl, 5
push edx
push eax
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 6
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
test esi, esi
je 0x4372cc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x20]
mov esi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4372c8
mov edx, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [edx + 0x40]
test eax, eax
jne 0x4372c8
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], 0xe
jne 0x4372c8
mov eax, dword [edi + 0xf0]
lea ecx, [edi + 0xe8]
lea edx, [esp + 0xc]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
test esi, esi
jne 0x437254
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 2
call fcn.0043f6ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x34]
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43b4b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4499aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.0043f5d4
lea ebx, [esi + 8]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call fcn.0043f5d4
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.0043f5d4
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.0043f5d4
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 3
call fcn.0043f5d4
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 4
call fcn.0043f5d4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 5
call fcn.0043f5d4
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 6
call fcn.0043f5d4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 7
call fcn.0043f5d4
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 8
call fcn.0043f5d4
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 9
call fcn.0043f5d4
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 0xa
call fcn.0043f5d4
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 0xb
call fcn.0043f5d4
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xc
call fcn.0043f5d4
push 0x45c564
mov ecx, edi
mov byte [esp + 0x20], 0xd
mov dword [esi], 0
call sub.MFC42.DLL_CString::operator
push 0x45c564
mov ecx, ebx
call sub.MFC42.DLL_CString::operator
push 0x45c564
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::operator
xor eax, eax
push 0x45c564
lea ecx, [esi + 0x2c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x30]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x3c]
call sub.MFC42.DLL_CString::operator
push 0x45c564
lea ecx, [esi + 0x40]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1000770e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d024]
jne 0x10007718
repz ret
jmp fcn.100080e6

Function at 0x100094ab
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1001d158]
je 0x100094c6
inc edi
cmp edi, 0x17
jb 0x100094b7
cmp edi, 0x17
jae 0x10009646
push ebp
push 3
call fcn.1000bb53
cmp eax, 1
pop ecx
je 0x10009612
push 3
call fcn.1000bb53
test eax, eax
pop ecx
jne 0x100094fa
cmp dword [0x1001e444], 1
je 0x10009612
cmp ebx, 0xfc
je 0x10009645
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1001e918
push ebp
call fcn.10009e35
add esp, 0xc
test eax, eax
je 0x10009530
push esi
push esi
push esi
push esi
push esi
call fcn.10007ad5
add esp, 0x14
push 0x104
mov esi, 0x1001e931
push esi
push 0
mov byte [0x1001ea35], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10009574
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10009e35
add esp, 0xc
test eax, eax
je 0x10009574
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10007ad5
add esp, 0x14
push esi
call fcn.10009ea0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100095b9
push esi
call fcn.10009ea0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1001ec2c
push 0x10016754
sub ecx, eax
push ecx
push eax
call fcn.1000baa0
add esp, 0x14
test eax, eax
je 0x100095b9
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10007ad5
add esp, 0x14
jmp 0x100095bb
xor esi, esi
push 0x10016750
push ebx
push ebp
call fcn.1000ba2f
add esp, 0xc
test eax, eax
je 0x100095db
push esi
push esi
push esi
push esi
push esi
call fcn.10007ad5
add esp, 0x14
push dword [edi*8 + 0x1001d15c]
push ebx
push ebp
call fcn.1000ba2f
add esp, 0xc
test eax, eax
je 0x100095fd
push esi
push esi
push esi
push esi
push esi
call fcn.10007ad5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1000b872
add esp, 0xc
jmp 0x10009645
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10009645
cmp ebp, 0xffffffff
je 0x10009645
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1001d15c]
push dword [esi]
call fcn.10009ea0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000b872
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000a116
xor ebx, ebx
cmp dword [0x1001ed84], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1000b948
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1000ba28
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000ba28
push eax
call fcn.1000a0a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001ed84], eax
call esi
push eax
call fcn.1000a0a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001ed88], eax
call esi
push eax
call fcn.1000a0a8
mov dword [0x1001ed8c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10009258
test eax, eax
pop ecx
pop ecx
je 0x1000b916
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10007ad5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1000b948
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000a0a8
cmp eax, ebx
pop ecx
mov dword [0x1001ed94], eax
je 0x1000b948
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000a0a8
pop ecx
mov dword [0x1001ed90], eax
mov eax, dword [0x1001ed90]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1000b9cd
cmp dword [0x1001ed94], ecx
je 0x1000b9cd
push eax
call fcn.1000a11f
push dword [0x1001ed94]
mov esi, eax
call fcn.1000a11f
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1000b9cd
cmp edi, ebx
je 0x1000b9cd
call esi
cmp eax, ebx
je 0x1000b99a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000b99a
test byte [ebp - 0x18], 1
jne 0x1000b9cd
lea eax, [ebp - 0x10]
push eax
call fcn.1000928f
test eax, eax
pop ecx
je 0x1000b9b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10007ad5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1000b9c4
or dword [ebp + 0x10], 0x200000
jmp 0x1000ba08
or dword [ebp + 0x10], 0x40000
jmp 0x1000ba08
mov eax, dword [0x1001ed88]
cmp eax, dword [ebp - 8]
je 0x1000ba08
push eax
call fcn.1000a11f
cmp eax, ebx
pop ecx
je 0x1000ba08
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000ba08
mov eax, dword [0x1001ed8c]
cmp eax, dword [ebp - 8]
je 0x1000ba08
push eax
call fcn.1000a11f
cmp eax, ebx
pop ecx
je 0x1000ba08
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001ed84]
call fcn.1000a11f
cmp eax, ebx
pop ecx
je 0x1000ba28
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ba2a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x40b534
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
sub eax, 0xffffff80
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
lea esi, [ecx + 2]
sub ecx, eax
add ecx, 0xfffffffe
lea edx, [eax + 2]
mov dword [esp + 0x18], ecx
lea eax, [edi - 1]
mov dword [esp + 0x10], edx
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
movzx eax, byte [edx - 2]
add ecx, edx
push ecx
mov byte [ecx], al
movzx eax, byte [edx - 1]
mov byte [esi - 1], al
movzx eax, byte [edx]
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
mov edi, dword [edx - 2]
mov ebx, dword [edx + 2]
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0040aae0
mov ecx, dword [ebp + 8]
lea esi, [esi + 8]
mov edx, dword [esp + 0x14]
add esp, 4
movzx eax, byte [ecx + 0x100]
mov ecx, dword [esp + 0x18]
xor byte [edx + ecx], al
add edx, 8
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], edx
movzx eax, byte [ecx + 0x101]
xor byte [esi - 9], al
movzx eax, byte [ecx + 0x102]
xor byte [esi - 8], al
movzx eax, byte [ecx + 0x103]
xor byte [esi - 7], al
movzx eax, byte [ecx + 0x104]
xor byte [esi - 6], al
movzx eax, byte [ecx + 0x105]
xor byte [esi - 5], al
movzx eax, byte [ecx + 0x106]
xor byte [esi - 4], al
movzx eax, byte [ecx + 0x107]
xor byte [esi - 3], al
sub dword [esp + 0x14], 1
mov dword [ecx + 0x100], edi
mov dword [ecx + 0x104], ebx
mov ecx, dword [esp + 0x18]
jne 0x40b465
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6200b8]
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], 0x624e00
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
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x624e00
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x617b34
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00413a40
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 0x418500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x6298e0], ecx
inc eax
cmp eax, 0x100
jb 0x418502
cmp eax, 0x800
jae 0x4185d3
nop
mov edx, dword [eax*4 + 0x6294e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x6298e0]
mov dword [eax*4 + 0x6298e0], edx
inc eax
cmp eax, 0x800
jb 0x4185b0
mov dword [0x624e0c], 0x419370
call fcn.004191a0
mov ecx, dword [0x624e0c]
test eax, eax
mov edx, 0x419410
cmove ecx, edx
mov dword [0x624e0c], ecx
ret
Function at 0x4196f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x419710
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x419742
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x41973f
inc esi
cmp esi, edx
jb 0x419730
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x41986c
cmp ecx, 3
jbe 0x419782
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x4197c0
cmp cl, 0xff
je 0x4197c0
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x419724
dec ecx
shl eax, cl
and eax, 7
je 0x41975a
movzx ecx, byte [eax + 0x59ce28]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x59ce20], 0
mov cl, byte [edx + 4]
je 0x4197aa
test cl, cl
je 0x4197aa
cmp cl, 0xff
jne 0x41975a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x419724
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x4197ee
lea edx, [edi + ebx]
add edx, esi
jmp 0x4197f4
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x419832
movzx edi, byte [eax + 0x59ce28]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x41981e
cmp cl, 0xff
jne 0x419832
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x4197e1
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x419724
pop edi
pop esi
cmp ecx, 3
jbe 0x419881
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c7b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.0041dc70
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.0041dc20
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.0041dcc0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x41c7ec
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x41c840
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x41c830
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41c830
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x41cbd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599076
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x41cc2a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x41cc47
mov eax, dword [esi + 0x20]
jmp 0x41cc4a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x41cc64
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x41cc7e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x41cc98
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.0043f837
push eax
call fcn.0044bd0e
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0043c880
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41cd57
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.0043c880
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x41cd48
test eax, eax
je 0x41cd48
add eax, eax
cmp eax, 0x412
jae 0x41cd43
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x41cd4e
call fcn.0041be32
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00402990
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41cd83
cmp dword [esi + 0x34], 8
jb 0x41cd69
mov ecx, dword [esi + 0x20]
jmp 0x41cd6c
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x41cd83
push 1
push 0x617b78
lea ecx, [esi + 0x20]
call fcn.00407360
cmp dword [esi + 0x30], 0
jne 0x41cd98
push 3
push 0x59cf60
lea ecx, [esi + 0x20]
call fcn.004029e0
mov dword [esi + 4], 0
mov eax, esi
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.0041b6a9
mov esp, ebp
pop ebp
ret