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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4d60
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 1
test eax, eax
mov eax, dword [esp + 0x28]
je 0x445085
test eax, eax
jne 0x44508d
jmp 0x445218
test eax, eax
jne 0x4451cf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4450a7
mov bl, byte [edx + 0x15]
test bl, bl
jne 0x445218
test al, al
je 0x4450ba
mov bl, byte [edx + 0x15]
test bl, bl
je 0x4451cf
test al, al
jne 0x4450ea
mov al, byte [edx + 0x15]
test al, al
jne 0x4450ea
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x14], 0
test eax, eax
lea ecx, [esp + 0x2c]
jle 0x445221
jmp 0x4451d8
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [edx + 4]
mov ebx, dword [edx + 8]
lea eax, [eax + eax*2]
lea esi, [esi + eax*4]
mov eax, esi
shl eax, 5
sub eax, esi
mov esi, dword [ecx + 8]
add eax, esi
lea eax, [eax + eax*4]
lea esi, [eax + eax*8]
mov eax, dword [edx]
shl esi, 5
lea eax, [eax + eax*2]
lea edi, [edi + eax*4]
mov eax, edi
shl eax, 5
sub eax, edi
add eax, ebx
mov bl, byte [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 5
test bl, bl
je 0x445142
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea edi, [edi + edi*2]
lea edi, [edi + edi*4]
lea ecx, [ecx + edi*4]
add esi, ecx
mov cl, byte [edx + 0x14]
test cl, cl
je 0x44515a
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
add eax, ecx
cmp esi, eax
ja 0x4451cf
jne 0x445218
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x14], 2
test eax, eax
lea ecx, [esp + 0x28]
jle 0x445205
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x455530
Capabilities:
Get file system object information
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4b670b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004abe02
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x174], 0
and al, 1
add eax, 0x100
or ah, 0x40
push eax
push 0x160
push ecx
push 0
push 0x4e2834
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CImageList::Attach
call sub.MFC42.DLL_AfxGetModuleState
push 0xc29
push 0xe
push 0xc29
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [esp + 8]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x64]
mov edx, dword [esp + 8]
xor ecx, ecx
test eax, eax
lea eax, [esp + 4]
setne cl
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
lea ecx, [esp + 4]
call sub.MFC42.DLL_CImageList::Detach
lea ecx, [esp + 4]
mov dword [esp + 0x174], 0xffffffff
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, dword [esp + 0x16c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x174
ret
Function at 0x457550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b6918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 2
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
lea edi, [eax + 1]
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c3ef0
call sub.MFC42.DLL_AfxDynamicDownCast
add esp, 8
mov dword [esp + 0x18], eax
test edi, edi
je 0x457727
jmp 0x4575ab
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
dec edi
push 2
push edi
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
test edi, edi
mov dword [esp + 0x10], eax
je 0x45771b
mov eax, dword [esi + 0xb0]
lea ebx, [esi + 0xb0]
push 0x4e58d8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45771b
mov eax, dword [esi + 0x74]
push 0
mov ebp, dword [eax + edi*4]
mov eax, dword [esi + 0x48]
mov edx, ebp
shl edx, 5
mov ecx, dword [edx + eax + 8]
test ecx, ecx
je 0x457680
push ecx
lea edi, [esi + 0x44]
mov ebx, esp
mov dword [esp + 0x24], esp
push 0x4df1dc
push ebp
mov ecx, edi
call fcn.0045d570
push eax
push ebx
call sub.MFC42.DLL_operator_3
push ebp
mov ecx, edi
mov dword [esp + 0x60], 0
call fcn.0045d570
push eax
lea eax, [esi + 0xb0]
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_4
push ecx
mov byte [esp + 0x60], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..
push eax
push ecx
call sub.MFC42.DLL_operator_3
mov ecx, esi
mov byte [esp + 0x60], 2
call fcn.00457e00
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x45771b
push 0
push ecx
lea edx, [esi + 0x6c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esi + 0x68]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 4
call fcn.004958d0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ebx
mov byte [esp + 0x74], 5
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x74], 6
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4e58d8
call fcn.004abd48
push ecx
mov byte [esp + 0x78], 7
mov ecx, esp
mov dword [esp + 0x50], esp
push 0
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x3c]
push 0
mov byte [esp + 0x7c], 8
call fcn.00461440
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call fcn.00496360
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4575a7
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x459e70
Capabilities:
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b6d0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebp
push esi
push edi
mov edi, ecx
push 0x4e58d8
mov dword [esp + 0x14], edi
lea ecx, [edi + 0xb0]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x40]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x40]
xor ebp, ebp
test al, al
lea esi, [esp + 0x40]
je 0x459ff1
push ebx
lea ebx, [edi + 0x44]
push esi
lea ecx, [esp + 0x14]
call fcn.004abd48
lea ecx, [esp + 0x1c]
mov dword [esp + 0xcc], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 1
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x38], 0xffffffff
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::TrimRight_2
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x40]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x459f5f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
jmp 0x459f66
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 8]
push ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x30], 1
call fcn.0045d760
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x70]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebp
push edx
push 1
push eax
call fcn.0047bce0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
inc ebp
lea esi, [esi + ecx + 1]
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esi]
mov edi, dword [esp + 0x14]
test al, al
jne 0x459eca
pop ebx
mov eax, dword [edi + 0x20]
push 0
push ebp
push 0x102f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x94]
mov edx, dword [edi + 0x90]
push ecx
push edx
mov ecx, edi
call fcn.004567f0
mov ecx, edi
call fcn.0045c880
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc0
ret
Function at 0x45a7e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b6db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x20]
push 0x101d
push eax
call ebx
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x60]
test al, 1
mov edi, 1
mov ebp, 0x3c
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], 0x63
jne 0x45a84d
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push ecx
call ebx
mov ebp, eax
mov edi, 2
test byte [esi + 0x60], 2
jne 0x45a866
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esp + 0x20], eax
inc edi
test byte [esi + 0x60], 4
jne 0x45a87e
mov eax, dword [esi + 0x20]
push 0
push edi
push 0x101d
push eax
call ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
push str._d__d__d__d
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 0x41
call fcn.00473fe0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret

Function at 0x45a800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b6db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x20]
push 0x101d
push eax
call ebx
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x60]
test al, 1
mov edi, 1
mov ebp, 0x3c
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], 0x63
jne 0x45a84d
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push ecx
call ebx
mov ebp, eax
mov edi, 2
test byte [esi + 0x60], 2
jne 0x45a866
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esp + 0x20], eax
inc edi
test byte [esi + 0x60], 4
jne 0x45a87e
mov eax, dword [esi + 0x20]
push 0
push edi
push 0x101d
push eax
call ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
push str._d__d__d__d
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 0x41
call fcn.00473fe0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x469730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8ec1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x154]
mov dword [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x18], 8
call fcn.00496360
lea edi, [esi + 0xd0]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.00452e00
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xb
call fcn.00496360
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004abf9a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x469748
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b8ec1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x154]
mov dword [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x18], 8
call fcn.00496360
lea edi, [esi + 0xd0]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.00452e00
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xb
call fcn.00496360
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004abf9a
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46f530
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x27c]
call fcn.0041fc60
test eax, eax
jne 0x46f576
push 0x24
push 0x4e1640
push 0x4e2910
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x46f5c6
mov eax, dword [esi + 0x20]
push 1
push 0
push 0
push str.http:__ftp.8u.cn_
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret
mov eax, dword [esi + 0x26c]
test eax, eax
jne 0x46f58e
lea ecx, [esi + 0xdc]
mov dword [0x128], ecx
jmp 0x46f59a
lea edx, [esi + 0xdc]
mov dword [eax + 0x128], edx
mov ecx, dword [esi + 0x26c]
call fcn.004279b0
mov eax, dword [esi + 0x26c]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46f5c6
mov ecx, dword [esi + 0x26c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
pop esi
ret

Function at 0x46fef0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4b995a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
push 0
push 0x3e8
push 1
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_SetTimer]
push 8
mov dword [esi + 0x18c], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 0
je 0x46ff4b
mov ecx, eax
call fcn.00424d80
jmp 0x46ff4d
xor eax, eax
mov dword [esi + 0x100], eax
lea eax, [esp + 8]
push eax
push 0x101
mov dword [esp + 0x1a8], 0xffffffff
mov dword [esi + 0x16c], 0
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x46ff91
mov ax, word [esp + 8]
cmp al, 1
jne 0x46ff8c
xor ecx, ecx
mov cl, ah
cmp cl, al
je 0x46ff91
call sub.WS2_32.dll_WSACleanup
push 0xd0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 1
je 0x46ffbb
push esi
mov ecx, eax
call fcn.0042fba0
jmp 0x46ffbd
xor eax, eax
push esi
lea ecx, [eax + 0x40]
mov dword [esp + 0x1a4], 0xffffffff
mov dword [esi + 0x140], eax
mov dword [esi + 0x13c], eax
call fcn.00410a80
push 0x50
call fcn.004746a0
add esp, 4
test eax, eax
je 0x470028
push 0x51
call fcn.004746a0
add esp, 4
test eax, eax
jne 0x470028
push 0x60
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 2
je 0x470020
push esi
mov ecx, eax
call fcn.00453960
jmp 0x470022
xor eax, eax
mov dword [esi + 0x150], eax
mov ecx, dword [esp + 0x198]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x470ef0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b9acb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x198
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x470f2f
mov ecx, eax
call fcn.0046fae0
mov esi, eax
jmp 0x470f31
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x14]
push eax
push ecx
push esi
push 0x471000
push 0
push 0
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x470f77
test esi, esi
je 0x470f65
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x470fc0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
test edi, edi
je 0x470fee
mov edx, dword [esi + 0x190]
add esi, 0x190
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, edi
pop edi
pop esi
ret

Function at 0x472480
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push esi
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
call fcn.004ac900
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
ret
Function at 0x476dd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ba388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x476e2b
push 0x4e58d8
jmp 0x476e2c
push esi
mov ecx, dword [esp + 0x24]
call sub.MFC42.DLL_CString::operator
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x476ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ba3c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x476f37
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x476f5d
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 0x14
ja 0x476f24
push esi
call dword [sym.imp.MSVCRT.dll__atoi64]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x476f90
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
pop edi
ret

Function at 0x476fc0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub esp, 0x64
lea edx, [esp]
push edi
push eax
push ecx
push 0x4df1e4
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 4]
not ecx
push ecx
mov ecx, dword [esp + 0x74]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString
pop edi
add esp, 0x64
ret