joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451c64
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
and byte [ebp - 0x406], 0
push ebx
push esi
mov esi, ecx
push edi
push 3
mov al, byte [esi + 0xe8]
mov byte [ebp - 0x408], 5
cmp al, 1
mov byte [ebp - 0x407], al
pop edi
jne 0x451d19
push dword [esi + 0x58]
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x451cd0
mov eax, dword [esi + 0x58]
mov byte [ebp - 0x405], 3
mov ebx, dword [eax - 8]
push ebx
push eax
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], bl
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edi, [ebx + 5]
jmp 0x451cef
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 8
pop edi
mov ax, word [esi + 0x5c]
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 2
push eax
lea eax, [ebp + edi - 0x408]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
inc edi
inc edi
jmp 0x451da2
cmp al, 2
jne 0x451d50
mov eax, dword [esi + 0x68]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x404]
push eax
mov byte [ebp - 0x405], 1
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
jmp 0x451d8f
cmp al, 3
jne 0x451da2
push str.0.0.0.0
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x404]
mov byte [ebp - 0x405], 1
push eax
call sub.MSVCRT.dll_memcpy
mov ax, word [esi + 0x5c]
add esp, 0xc
push eax
call sub.WSOCK32.dll_htons
mov dword [ebp - 8], eax
push 2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0xa
pop edi
lea ebx, [esi + 0x2c]
push 0x451ddc
push esi
mov ecx, ebx
call fcn.0044beef
push 0
lea eax, [ebp - 0x408]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Send
cmp eax, edi
je 0x451dd7
mov ecx, ebx
call fcn.0044bf02
push 0
mov ecx, esi
call fcn.00451a08
pop edi
pop esi
pop ebx
leave
ret

Function at 0x456816
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x456892
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x456892
push edi
push 0x64
pop edi
lea eax, [ebp - 0x28]
push 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00440554
add esp, 0xc
dec edi
jne 0x45683f
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
sub eax, dword [ebp - 0x10]
pop edi
sbb ecx, dword [ebp - 0xc]
mov edx, eax
or edx, ecx
je 0x456892
push ecx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00476420
imul eax, eax, 0x64
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fmul qword [str.333333]
call sub.MSVCRT.dll__ftol
test eax, eax
jg 0x456897
mov eax, 0x29a
pop esi
leave
ret
Function at 0x46c668
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push dword [edi + 0x5c]
push 0x50ab54
push esi
call dword [eax + 0x20]
push dword [edi + 0x64]
mov eax, dword [esi]
push 0x50ab5c
push esi
call dword [eax + 0x1c]
mov eax, dword [esi]
and byte [ebp + 8], 0
lea ecx, [ebp + 8]
mov ebx, 0x50ab64
push ecx
push ebx
push esi
call dword [eax + 0x2c]
test byte [edi + 0x34], 8
je 0x46c6b0
or byte [ebp + 8], 1
jmp 0x46c6b4
and byte [ebp + 8], 0
push dword [ebp + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push dword [edi + 0x1f0]
mov eax, dword [esi]
push 0x50ab6c
push esi
call dword [eax + 0x18]
push dword [edi + 0x90]
mov eax, dword [esi]
push 0x50ab7c
push esi
call dword [eax + 0x20]
push dword [edi + 0xbc]
mov eax, dword [esi]
push 0x50ab84
push esi
call dword [eax + 0x20]
push dword [edi + 0x78]
mov eax, dword [esi]
push 0x50ab90
push esi
call dword [eax + 0x20]
mov eax, dword [edi + 0x84]
mov ebx, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
push eax
push 0x50ab98
push esi
call dword [ebx + 0x1c]
push dword [edi + 0x88]
mov eax, dword [esi]
push 0x50ab9c
push esi
call dword [eax + 0x20]
push dword [edi + 0x7c]
mov eax, dword [esi]
push 0x50aba4
push esi
call dword [eax + 0x20]
push dword [edi + 0x180]
mov eax, dword [esi]
push 0x50abb0
push esi
call dword [eax + 0x20]
push dword [edi + 0x70]
mov eax, dword [esi]
push 0x50abb8
push esi
call dword [eax + 0x20]
push dword [edi + 0x80]
mov eax, dword [esi]
push 0x50abc0
push esi
call dword [eax + 0x20]
push dword [edi + 0x74]
mov eax, dword [esi]
push 0x50abcc
push esi
call dword [eax + 0x20]
push dword [edi + 0x194]
mov eax, dword [esi]
push 0x50abd4
push esi
call dword [eax + 0x20]
push dword [edi + 0xc4]
mov eax, dword [esi]
push 0x50abdc
push esi
call dword [eax + 0x20]
push dword [edi + 0xb8]
mov eax, dword [esi]
push 0x50abe8
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push dword [edi + 0x1ac]
push 0x50abf4
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a8]
mov eax, dword [esi]
push 0x50ac00
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a4]
mov eax, dword [esi]
push 0x50ac0c
push esi
call dword [eax + 0x1c]
push dword [edi + 0x1a0]
mov eax, dword [esi]
push 0x50ac1c
push esi
call dword [eax + 0x20]
push dword [edi + 0x8c]
mov eax, dword [esi]
push 0x50ac24
push esi
call dword [eax + 0x20]
push dword [edi + 0xc0]
mov eax, dword [esi]
push 0x50ac30
push esi
call dword [eax + 0x20]
mov eax, dword [esi]
push 2
push 0x50ac40
push esi
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x471c28
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f3b7a
call fcn.00475fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [esi], 0x50b10c
call fcn.00471e4f
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x471d50
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f3c4a
call fcn.00475fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x50b10c
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4721e5
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4f3e32
call fcn.00475fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [esi], 0x50b124
call fcn.0047246c
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x47233d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4f3f2e
call fcn.00475fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x50b124
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x473b00
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x4f414f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x30]
mov eax, 0x55555556
imul ebp
mov eax, edx
push esi
shr eax, 0x1f
add edx, eax
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
lea ecx, [edx + ebp + 3]
mov eax, ecx
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
lea esi, [ecx + eax*2]
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 1
call sub.MFC42.DLL_CString::GetBuffer
xor edi, edi
xor esi, esi
test ebp, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jle 0x473bff
mov eax, dword [esp + 0x34]
xor edx, edx
mov dl, byte [esi + eax]
inc esi
shl edx, 8
cmp esi, ebp
jge 0x473b90
xor ecx, ecx
mov cl, byte [esi + eax]
or edx, ecx
inc esi
jmp 0x473b95
inc ebx
mov dword [esp + 0x10], ebx
shl edx, 8
cmp esi, ebp
jge 0x473ba6
xor ecx, ecx
mov cl, byte [esi + eax]
or edx, ecx
inc esi
jmp 0x473bab
inc ebx
mov dword [esp + 0x10], ebx
lea ecx, [edi + 4]
cmp ecx, edi
mov dword [esp + 0x18], ecx
je 0x473bf5
dec ecx
test ebx, ebx
je 0x473bd0
mov eax, edi
sub eax, ebx
add eax, 4
cmp ecx, eax
jl 0x473bd0
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], 0x3d
jmp 0x473be6
mov ebx, dword [esp + 0x14]
mov eax, edx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + ebx], al
mov ebx, dword [esp + 0x10]
shr edx, 6
cmp ecx, edi
jne 0x473bb6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp esi, ebp
mov edi, ecx
jl 0x473b79
push edi
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x473c50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f4176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00474480
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x50b4e0
call fcn.00474700
push 0x50229c
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x474100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f41f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00474480
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x50b5b4
call fcn.00474700
push 0x50229c
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x47a349
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x47a349
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x47a326
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x50b984]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x50b984]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x50b984]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x50b984]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x50b984]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x50b984]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x50b984]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x50b984]
xor eax, esi
inc edx
dec edi
jne 0x47a264
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x47a343
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x50b984]
xor eax, edi
inc edx
dec esi
jne 0x47a32a
pop edi
pop ebx
not eax
jmp 0x47a34c
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 0xc
Function at 0x48d2f7
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x4f6108
call fcn.00475fe0
sub esp, 0xd8
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
mov byte [eax], 7
mov eax, dword [ebp + 0xc]
mov word [eax], 2
mov eax, dword [ebp + 0x18]
mov word [eax], si
mov eax, dword [ebp + 0x14]
mov word [eax], si
mov eax, dword [ebp + 0x10]
mov word [eax], si
lea eax, [ebp + 8]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._sqqupdatestatcount.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push str.qqupdate
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edi, dword [sym.imp.MSVCRT.dll_atol]
mov dword [ebp - 0x18], esi
mov dword [ebp + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp + 0xc], 0xe
mov ebx, 0x5506f0
mov eax, dword [ebp + 8]
add eax, 0x41
push eax
lea eax, [ebp - 0x1c]
push 0x555c58
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0xe4]
push dword [ebp - 0x10]
push 0xc8
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0xc], 2
shl eax, cl
or dword [ebp - 0x18], eax
inc dword [ebp + 8]
cmp dword [ebp + 8], 8
jb 0x48d3a8
mov eax, dword [ebp - 0x18]
test ah, 0xf0
jne 0x48d406
xor bl, bl
jmp 0x48d499
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleId
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
mov word [ecx], ax
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModuleType
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
mov dword [ebp + 0x18], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xe4]
push 0xc8
push eax
push ebx
push str.ModulePatchNum
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0xe4]
push eax
call edi
pop ecx
push dword [ebp - 0x10]
xor ecx, ecx
mov ch, byte [ebp + 0x18]
mov cl, al
mov eax, dword [ebp + 0x14]
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x4948d7
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
mov eax, 0x4f72ec
call fcn.00475fe0
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x556544
lea edi, [ebx + 0x68]
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
and dword [ebp - 4], 0
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
push 1
pop esi
push dword [eax]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 0x555cdc
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp + 8], 8
jne 0x494990
push esi
jmp 0x494992
push 2
mov ecx, ebx
call fcn.004954b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc