joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fead
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
xor esi, esi
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call ebx
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x40fede
or eax, eax
jmp 0x40ffcf
push edi
push esi
lea eax, [ebp - 4]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ffcb
cmp dword [ebp - 4], edi
jne 0x40ffcb
movzx edi, word [ebp - 0x106]
mov dword [ebp - 0x14], edi
imul edi, edi, 0x28
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x40ffcb
movzx eax, word [ebp - 0xf8]
mov ecx, dword [ebp - 0xc]
push esi
push esi
lea eax, [eax + ecx + 0x18]
push eax
push dword [ebp + 8]
call ebx
cmp eax, 0xffffffff
je 0x40ffcb
push esi
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ffcb
cmp edi, dword [ebp - 4]
je 0x40ff7e
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40ffcb
mov eax, dword [ebp - 0x14]
cmp eax, esi
jle 0x40ffb3
mov edi, dword [ebp - 8]
add edi, 0x14
mov dword [ebp - 0xc], eax
push esi
push esi
push dword [edi]
push dword [ebp + 8]
call ebx
cmp eax, 0xffffffff
je 0x40ffab
mov eax, dword [edi - 4]
mov ecx, dword [edi]
add eax, ecx
cmp dword [ebp - 0x10], eax
jae 0x40ffab
mov dword [ebp - 0x10], eax
add edi, 0x28
dec dword [ebp - 0xc]
jne 0x40ff8e
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x10]
cmp eax, esi
ja 0x40ffce
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ffd3
Capabilities:
Get file size

Disassembly:
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x40fffe
mov eax, edi
jmp 0x41003f
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push str.totoal_file_size:__lu_n
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
pop ecx
mov ecx, esi
call fcn.0040fdc8
cmp eax, 0x4550
jne 0x41002f
push esi
call fcn.0040fead
pop ecx
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
mov eax, ebx
jl 0x41003e
mov eax, edi
pop ebx
pop edi
pop esi
ret
Function at 0x410dd3
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x410e11
call fcn.0041081d
test eax, eax
je 0x410e17
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x410b3c
push edi
push edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x78], eax
je 0x410e11
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x80]
cmp eax, edi
je 0x410e11
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x38]
push dword [esi + 0x34]
push edi
push edi
push dword [esi + 0x60]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x410e11
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x410e13

Function at 0x41187d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push dword [0x4598ac]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41192f
push esi
push dword [0x4598ac]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41192f
push esi
push dword [0x4598ac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x411928
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x411921
cmp dword [ebp + 0xc], 0
je 0x411921
push edi
push eax
push dword [ebp + 0xc]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.00411578
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x411931
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x411938
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x21c
lea ebp, [esp - 4]
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push 0x18
mov eax, 0x4475ca
call fcn.00445203
mov edi, dword [ebp + 0x228]
mov eax, dword [ebp + 0x22c]
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push 0x44a5b5
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
xor esi, esi
inc esi
push str.MIMEDatabaseContent_Type_
lea ecx, [ebp]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x1ff
lea eax, [ebp + 0x1d]
push ebx
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0x200
mov dword [ebp - 0x18], esi
mov byte [ebp + 0x1c], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [ebp - 0x20]
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x411a1f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push str.Extension
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411a13
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call dword [0x4492a4]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.004451f4
add ebp, 0x220
leave
ret
Function at 0x412830
Capabilities:
Initialize winsock library
Query or enumerate registry value

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x1a8]
sub eax, 0
mov ecx, dword [esp + 0x1a4]
je 0x412944
sub eax, 1
jne 0x41297e
push ecx
mov dword [0x459680], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
add byte [0x459004], 1
add byte [0x45900c], 1
lea eax, [esp + 0xc]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x41292b
mov ax, word [esp + 0xc]
cmp al, 2
jne 0x412925
cmp ah, 1
jne 0x412925
mov eax, dword [0x459680]
call fcn.004127c0
lea ecx, [esp + 4]
push ecx
push str.SOFTWAREOrbit
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x412918
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0
push 0
push str.debug
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41290d
mov dword [esp], 0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0
je 0x41297e
call fcn.004135f0
jmp 0x41297e
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.004451f4
add esp, 0x1a0
ret 0xc
mov eax, dword [0x459680]
push esi
mov esi, dword [sym.imp.USER32.dll_UnregisterClassA]
push eax
push str.orbt_downdl
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push str.ORBTSockWindowClass
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
call fcn.00413370
push 0
call fcn.00412ed0
add esp, 4
pop esi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
mov eax, 1
call fcn.004451f4
add esp, 0x1a0
ret 0xc

Function at 0x412ac0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x459680]
push esi
push 0
push eax
push 0
push 0
push 2
push 2
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 0xcf0000
push str.orbt_downdl
push str.orbt_downdl
push 0x8000080
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 8]
push ecx
push 0xffffffffffffffeb
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, esi
pop esi
ret
Function at 0x414400
Capabilities:
Move file

Disassembly:
sub esp, 0x20
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
jne 0x4145be
cmp dword [esp + 0x28], 0
mov eax, 1
mov byte [esi + 0xd], al
jne 0x4145d6
push str._I_Complete_
push 3
push esi
mov dword [esi + 0x2f0], eax
call fcn.00413760
mov ecx, dword [esi + 0x39c]
add esp, 0xc
test ecx, ecx
je 0x41445e
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push str._I_Complete_
push 3
push 4
call edx
mov ecx, dword [esi + 0x380]
test ecx, ecx
je 0x41446d
call fcn.00425640
mov ecx, dword [esi + 0x378]
push ebx
push edi
call fcn.00421250
cmp dword [esi + 0x104], 0
lea ebx, [esi + 0xf0]
jne 0x41449a
lea eax, [esi + 0x10c]
push eax
mov ecx, ebx
call dword [0x449200]
jmp 0x41450a
cmp dword [ebx + 0x18], 8
jb 0x4144a5
mov eax, dword [ebx + 4]
jmp 0x4144a8
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0042a8c0
mov ecx, dword [esp + 0x18]
add esp, 8
cmp dword [esp + 0x24], 8
jae 0x4144c5
lea ecx, [esp + 0x10]
cmp dword [esi + 0x124], 8
lea edi, [esi + 0x10c]
jb 0x4144d9
mov eax, dword [edi + 4]
jmp 0x4144dc
lea eax, [edi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4144f3
push edi
lea ecx, [esp + 0x10]
call dword [0x449200]
lea edx, [esp + 0xc]
push edx
mov ecx, ebx
call dword [0x449200]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp byte [esi + 0x1fc], 0
je 0x41458b
cmp byte [esi + 0x348], 0
je 0x414582
cmp dword [esi + 0x2cc], 2
je 0x41453c
cmp dword [esi + 0x204], 0
jl 0x414582
jg 0x41453c
cmp dword [esi + 0x200], 0x80000
jbe 0x414582
cmp dword [esi + 0x160], 0
jne 0x414582
cmp dword [esi + 0x204], 0
jg 0x414582
jl 0x414559
cmp dword [esi + 0x200], 0xffffffff
jae 0x414582
mov ecx, dword [esi + 0x170]
lea eax, [esi + 0x2fc]
push eax
push ecx
lea edx, [esi + 0x48]
push edx
push ebx
lea eax, [esi + 0x2b0]
push eax
lea ecx, [esi + 0x294]
push ecx
call fcn.00423e50
add esp, 0x18
cmp byte [esi + 0x1fc], 0
jne 0x4145d0
mov eax, dword [esi + 0x200]
mov edx, dword [esi + 0x204]
mov ecx, eax
or ecx, edx
je 0x4145d0
mov ecx, dword [esi + 0x378]
mov edi, dword [ecx + 0x28]
cmp edi, eax
jne 0x4145b1
mov eax, dword [ecx + 0x2c]
cmp eax, edx
je 0x4145d0
push 0x69
push 6
mov ecx, esi
call fcn.00413cb0
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004451f4
add esp, 0x20
ret 4
push 0
push 5
jmp 0x4145b5
push str._F_Error_occured__
push 4
push esi
call fcn.00413760
mov ecx, dword [esi + 0x39c]
add esp, 0xc
test ecx, ecx
je 0x414600
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push str._F_Error_occured__
push 4
push 4
call eax
mov eax, dword [esi + 0x338]
cmp eax, 6
je 0x41462c
mov ecx, dword [esi + 0x39c]
test ecx, ecx
je 0x414622
mov edx, dword [ecx]
push 0
push 0x69
push 6
push eax
mov eax, dword [edx]
call eax
mov dword [esi + 0x338], 6
cmp byte [esi + 0x348], 0
jne 0x4145be
mov ecx, dword [esi + 0x378]
call fcn.00421250
mov ecx, dword [esp + 0x20]
pop esi
xor ecx, esp
call fcn.004451f4
add esp, 0x20
ret 4
Function at 0x417a70
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 0x10

Function at 0x417db0
Capabilities:
Connect socket

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
test ecx, ecx
push edx
je 0x417dd8
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
push edx
call eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
jmp 0x417df1
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x417e02
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x417e09
mov dword [edi + 0x34], 2
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x4281e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x220]
push str.shell32.dll
mov word [esp + 0x14], 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x428248
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42823d
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x1a
push 0
call eax
test eax, eax
jl 0x42823d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x42828f
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42828f
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0x18]
push ecx
call fcn.0040a6ac
test eax, eax
jl 0x42828f
mov eax, dword [esp + 0xc]
push str.Application_Data
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x18]
push eax
call fcn.0040a601
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004451f4
add esp, 0x210
ret

Function at 0x42a450
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x42a459
ret
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret

Function at 0x42a480
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x42a489
ret
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
cmp esi, dword [esp + 8]
pop esi
setne cl
sub ecx, 1
and eax, ecx
ret

Function at 0x42a640
Capabilities:
Get disk size

Disassembly:
sub esp, 0x28
push str.GetDiskFreeSpaceExW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42a684
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
push edx
call eax
test eax, eax
je 0x42a6c0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 0x28
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x42a6c0
mov eax, dword [esp]
mul dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call fcn.00445a00
add esp, 0x28
ret
xor eax, eax
xor edx, edx
add esp, 0x28
ret
Function at 0x42a710
Capabilities:
Get disk information

Disassembly:
sub esp, 0x254
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebp
mov ebp, dword [esp + 0x25c]
test ebp, ebp
jne 0x42a748
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004451f4
add esp, 0x254
ret
push ebx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea esi, [ebx + ebx + 0xa]
push esi
call dword [sym.imp.MSVCR80.dll_malloc]
shr esi, 1
add esp, 4
cmp esi, 0x7fffffff
mov edi, eax
ja 0x42a776
push ebp
push esi
push edi
call fcn.0040a601
cmp word [edi + ebx*2 - 2], 0x5c
lea eax, [edi + ebx*2]
jne 0x42a788
push 0x44c278
jmp 0x42a78d
push str..
push 5
push eax
call fcn.0040a601
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edi
mov esi, eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp esi, 0xffffffff
jne 0x42a7c6
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x42a7c2
cmp eax, 1
jne 0x42a7cd
xor eax, eax
jmp 0x42a7d2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.004451f4
add esp, 0x254
ret

Function at 0x42a7f0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x628
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov esi, dword [esp + 0x630]
push edi
push 4
xor edi, edi
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [esp + 0x16], 0x3a
mov word [esp + 0x1a], di
je 0x42a844
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0042a6d0
add esp, 8
push 0x104
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x104
lea eax, [esp + 0x43c]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
pop edi
pop esi
jne 0x42a893
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.004451f4
add esp, 0x628
ret
movzx eax, byte [esp]
mov ecx, dword [esp + 0x624]
shr eax, 6
xor ecx, esp
and eax, 1
call fcn.004451f4
add esp, 0x628
ret
Function at 0x42aed0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x44dbf4
push 1
push 0
push 0x44dc04
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x42af24
mov eax, dword [esp + 4]
test eax, eax
je 0x42af0f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x42af1e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
add esp, 8
ret
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x44dc54
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x42aeff
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jl 0x42aeff
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
mov eax, dword [esp + 4]
jl 0x42af03
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
mov eax, dword [esp + 4]
jl 0x42af03
test eax, eax
je 0x42af8b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x42af9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
add esp, 8
ret
Function at 0x42c780
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x42c794
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x42c7ac
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x42c7ec
cmp eax, 2
je 0x42c7ec
cmp eax, 3
je 0x42c7ec
cmp dword [ecx + 0x2c], 0
jne 0x42c7e2
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.004179b0
push eax
call dword [sym.imp.WS2_32.dll_send]
ret 0xc
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
jmp edx
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc

Function at 0x42c800
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x42c814
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x42c82c
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x42c86c
cmp eax, 2
je 0x42c86c
cmp eax, 3
je 0x42c86c
cmp dword [ecx + 0x2c], 0
jne 0x42c862
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push eax
call fcn.004179b0
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc
mov ecx, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
jmp edx
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc