joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d27
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x9b4]
sub esp, 0xa34
mov eax, dword [0x496ee4]
xor eax, ebp
mov dword [ebp + 0x9b0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x9bc]
xor ebx, ebx
xor eax, eax
push 0x4818f0
mov dword [ebp - 0x80], ebx
mov word [ebp - 0x78], ax
mov byte [ebp - 0x79], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp esi, ebx
je 0x413d99
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x413d8d
lea ecx, [ebp - 0x78]
push ecx
push ebx
push ebx
push 0x1a
push ebx
call eax
test eax, eax
jl 0x413d8d
mov byte [ebp - 0x79], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x79], bl
jne 0x413dbb
push 0x104
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x413dbb
push 0x4818b8
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x78]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP90.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 [ebp + 0x9b0]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047bc8a
add ebp, 0x9b4
leave
ret

Function at 0x4154f7
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, ecx
test eax, eax
jg 0x415509
call fcn.00414b9d
test eax, eax
jle 0x415524
push edi
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4821a0]
mov edi, edx
shl edi, 3
xor ecx, edi
xor edx, ecx
inc esi
dec eax
test eax, eax
jg 0x41550a
pop edi
mov eax, edx
and eax, 0x7fffffff
pop esi
ret
Function at 0x42069e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x496ee4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4973a4]
push ebx
push esi
test eax, eax
je 0x4206d8
push eax
push 0x4855b4
lea eax, [ebp - 0x10c]
push eax
push 0xe6
call fcn.0042061d
add esp, 0x10
jmp 0x420751
call fcn.0041564f
mov esi, 0xe6
test eax, eax
je 0x420718
lea eax, [ebp - 0x314]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x314]
push eax
call fcn.004156fe
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x420734
push 7
pop eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047bc8a
leave
ret
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
call fcn.004157c3
jmp 0x420700
push ebx
push 0x4855b4
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.0042061d
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x14
lea ecx, [ebp - 0x10c]
call fcn.00414b9d
test eax, eax
jbe 0x42076a
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x42076a
dec eax
jne 0x420761
mov byte [ebp + eax - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp + 8]
push 0x4855a8
add eax, 0xffffffe2
push edi
push eax
call fcn.0042061d
mov ecx, edi
call fcn.00414b9d
mov esi, eax
lea eax, [edi + esi]
push eax
push 0x14
call fcn.0041c2f6
add esp, 0x18
push 0x14
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x4207a5
mov byte [edi + esi], cl
xor eax, eax
jmp 0x42070a
Function at 0x447700
Capabilities:
Initialize winsock library
Query or enumerate registry value

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x19c], eax
mov eax, dword [esp + 0x1a8]
sub eax, 0
mov ecx, dword [esp + 0x1a4]
je 0x447813
sub eax, 1
jne 0x44784d
push ecx
mov dword [0x4973a8], ecx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
inc byte [0x496934]
inc byte [0x49693c]
lea eax, [esp + 0xc]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4477fa
mov eax, dword [esp + 0xc]
cmp al, 2
jne 0x4477f4
shr eax, 8
cmp al, 1
jne 0x4477f4
mov eax, dword [0x4973a8]
call fcn.00447690
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 0x4477e7
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 0x4477dc
mov dword [esp], 0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp], 0
je 0x44784d
call fcn.004485a0
jmp 0x44784d
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.0047bc8a
add esp, 0x1a0
ret 0xc
mov eax, dword [0x4973a8]
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.00448320
push 0
call fcn.004481b0
add esp, 4
pop esi
mov ecx, dword [esp + 0x19c]
xor ecx, esp
mov eax, 1
call fcn.0047bc8a
add esp, 0x1a0
ret 0xc

Function at 0x447990
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4973a8]
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 0x44ca50
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 0x44cd60
Capabilities:
Connect socket

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
push edx
test ecx, ecx
je 0x44cd88
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 0x44cda1
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 0x44cdb2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x44cdb9
mov dword [edi + 0x34], 2
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x453780
Capabilities:
Move file

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xbc], 0
mov dword [esp + 0x10], edi
je 0x45379b
call fcn.0044ebd0
cmp byte [esp + 0x20], 0
jne 0x4537a9
mov ecx, edi
call fcn.0044ee90
lea ecx, [edi + 0x118]
mov byte [edi + 0x139], 0
call fcn.00450d40
mov ebp, dword [edi + 0xf0]
add edi, 0xe4
cmp ebp, dword [edi + 0x10]
jbe 0x4537d2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi]
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x4537e2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
test esi, esi
je 0x4537ec
cmp esi, eax
je 0x4537f2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, ebx
je 0x453856
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x45384a
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x45380b
call ebx
mov ecx, dword [ebp + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0
call edx
test esi, esi
jne 0x45384e
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x453826
call ebx
mov eax, dword [ebp + 0x50]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x34]
push eax
call fcn.0044a930
test esi, esi
jne 0x453852
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x453845
call ebx
add ebp, 0x58
jmp 0x4537d4
mov eax, dword [esi]
jmp 0x453804
mov eax, dword [esi]
jmp 0x45381f
mov eax, dword [esi]
jmp 0x45383e
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x453864
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
mov ebp, dword [edi]
cmp esi, dword [edi + 0x10]
jbe 0x453874
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi]
push ebx
push ebp
push esi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.00452710
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
cmp byte [esp + 0x1c], al
pop esi
pop ebp
sete al
pop ebx
add esp, 0xc
mov dword [esp + 4], eax
mov ecx, dword [ecx + 0x34]
jmp fcn.004493b0
Function at 0x45b660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.00473db0
xor ebx, ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp byte [esp + 0xa4], bl
je 0x45b6d5
push edi
lea ecx, [esp + 0x7c]
mov eax, esi
push ecx
lea esi, [esp + 0x18]
lea edi, [esp + 0x5c]
call fcn.004586a0
add esp, 4
pop edi
test al, al
jne 0x45b73b
mov byte [esp + 0xa4], bl
push 4
call fcn.0047bd5c
add esp, 4
cmp eax, ebx
je 0x45b6ef
lea edx, [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x38], eax
jmp 0x45b6f3
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x38]
call fcn.00449a60
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ebx
call fcn.0044bae0
lea ecx, [esp + 0x38]
call fcn.00450d40
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], ebx
push eax
jmp 0x45b82e
cmp ebp, ebx
je 0x45b7b7
lea ecx, [esp + 0xc]
push ecx
push str.lastfetchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b75d
mov edx, dword [esp + 0xc]
mov dword [ebp], edx
lea eax, [esp + 0xc]
push eax
push str.lastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b77b
mov ecx, dword [esp + 0xc]
mov dword [ebp + 4], ecx
lea edx, [esp + 0xc]
push edx
push str.plastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b799
mov eax, dword [esp + 0xc]
mov dword [ebp + 8], eax
lea ecx, [esp + 0xc]
push ecx
push str.nplastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b7b7
mov edx, dword [esp + 0xc]
mov dword [ebp + 0xc], edx
push 4
call fcn.0047bd5c
add esp, 4
cmp eax, ebx
je 0x45b7d1
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
mov dword [esp + 0x1c], eax
jmp 0x45b7d5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1c]
call fcn.00449a60
lea edx, [esp + 0x1c]
push edx
push str.peer
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call fcn.00473420
cmp dword [esp + 0x34], ebx
lea eax, [esp + 0x1c]
seta cl
movzx edx, cl
mov ecx, dword [esp + 0x18]
push eax
push edx
call fcn.0044bae0
lea ecx, [esp + 0x1c]
call fcn.00450d40
mov eax, dword [esp + 0x30]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x54]
call fcn.00474340
mov ecx, dword [esp + 0x94]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047bc8a
add esp, 0x8c
ret
Function at 0x45b684
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
push ebx
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
call fcn.00473db0
xor ebx, ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp byte [esp + 0xa4], bl
je 0x45b6d5
push edi
lea ecx, [esp + 0x7c]
mov eax, esi
push ecx
lea esi, [esp + 0x18]
lea edi, [esp + 0x5c]
call fcn.004586a0
add esp, 4
pop edi
test al, al
jne 0x45b73b
mov byte [esp + 0xa4], bl
push 4
call fcn.0047bd5c
add esp, 4
cmp eax, ebx
je 0x45b6ef
lea edx, [esp + 0x38]
mov dword [eax], edx
mov dword [esp + 0x38], eax
jmp 0x45b6f3
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x38]
call fcn.00449a60
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ebx
call fcn.0044bae0
lea ecx, [esp + 0x38]
call fcn.00450d40
mov edx, dword [esp + 0x4c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], ebx
push eax
jmp 0x45b82e
cmp ebp, ebx
je 0x45b7b7
lea ecx, [esp + 0xc]
push ecx
push str.lastfetchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b75d
mov edx, dword [esp + 0xc]
mov dword [ebp], edx
lea eax, [esp + 0xc]
push eax
push str.lastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b77b
mov ecx, dword [esp + 0xc]
mov dword [ebp + 4], ecx
lea edx, [esp + 0xc]
push edx
push str.plastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b799
mov eax, dword [esp + 0xc]
mov dword [ebp + 8], eax
lea ecx, [esp + 0xc]
push ecx
push str.nplastsearchtime
lea ecx, [esp + 0x18]
call fcn.00473190
test al, al
je 0x45b7b7
mov edx, dword [esp + 0xc]
mov dword [ebp + 0xc], edx
push 4
call fcn.0047bd5c
add esp, 4
cmp eax, ebx
je 0x45b7d1
lea ecx, [esp + 0x1c]
mov dword [eax], ecx
mov dword [esp + 0x1c], eax
jmp 0x45b7d5
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1c]
call fcn.00449a60
lea edx, [esp + 0x1c]
push edx
push str.peer
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call fcn.00473420
cmp dword [esp + 0x34], ebx
lea eax, [esp + 0x1c]
seta cl
movzx edx, cl
mov ecx, dword [esp + 0x18]
push eax
push edx
call fcn.0044bae0
lea ecx, [esp + 0x1c]
call fcn.00450d40
mov eax, dword [esp + 0x30]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ebx
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x54]
call fcn.00474340
mov ecx, dword [esp + 0x94]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047bc8a
add esp, 0x8c
ret
Function at 0x45d940
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x220]
xor eax, eax
push str.shell32.dll
mov word [esp + 0x14], ax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x45d9a8
push str.SHGetFolderPathW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45d99d
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x1a
push 0
call eax
test eax, eax
jl 0x45d99d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x45d9ef
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45d9ef
lea eax, [esp + 0xc]
push eax
push 0x104
lea ecx, [esp + 0x18]
push ecx
call fcn.0040aaa5
test eax, eax
jl 0x45d9ef
mov eax, dword [esp + 0xc]
push 0x4818b8
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + eax*2 + 0x18]
push eax
call fcn.0040aa16
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call dword [sym.imp.MSVCP90.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.0047bc8a
add esp, 0x210
ret

Function at 0x45fc10
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x45fc19
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 0x45fc40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x45fc49
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
dec ecx
and eax, ecx
ret

Function at 0x45fdf0
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 0x45fe34
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 0x45fe70
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 0x45fe70
mov eax, dword [esp]
mul dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call fcn.0047c240
add esp, 0x28
ret
xor eax, eax
xor edx, edx
add esp, 0x28
ret
Function at 0x45fec0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x254
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x250], eax
push ebp
mov ebp, dword [esp + 0x25c]
test ebp, ebp
jne 0x45fef8
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0047bc8a
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.MSVCR90.dll_malloc]
shr esi, 1
add esp, 4
mov edi, eax
cmp esi, 0x7fffffff
ja 0x45ff26
push ebp
push esi
push edi
call fcn.0040aa16
cmp word [edi + ebx*2 - 2], 0x5c
lea eax, [edi + ebx*2]
jne 0x45ff38
push 0x481914
jmp 0x45ff3d
push str..
push 5
push eax
call fcn.0040aa16
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push edi
mov esi, eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp esi, 0xffffffff
jne 0x45ff76
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x45ff72
cmp eax, 1
jne 0x45ff7d
xor eax, eax
jmp 0x45ff82
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.0047bc8a
add esp, 0x254
ret

Function at 0x45ffa0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x628
mov eax, dword [0x496ee4]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov esi, dword [esp + 0x630]
xor eax, eax
push 4
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push esi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor ecx, ecx
cmp word [esp + 0x12], 0x3a
mov word [esp + 0x16], cx
je 0x45fff5
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0045fe80
add esp, 8
push 0x104
lea eax, [esp + 0x21c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x104
lea ecx, [esp + 0x438]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
pop esi
test eax, eax
jne 0x460043
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.0047bc8a
add esp, 0x628
ret
movzx eax, byte [esp]
mov ecx, dword [esp + 0x624]
shr eax, 6
xor ecx, esp
and eax, 1
call fcn.0047bc8a
add esp, 0x628
ret
Function at 0x460680
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x48ab2c
push 1
push 0
push 0x48ab3c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4606d4
mov eax, dword [esp + 4]
test eax, eax
je 0x4606bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x4606ce
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 0x48ab8c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4606af
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 0x4606af
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 0x4606b3
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 0x4606b3
test eax, eax
je 0x46073b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
test eax, eax
je 0x46074a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
add esp, 8
ret
Function at 0x462000
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x462014
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x46202c
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x46206c
cmp eax, 2
je 0x46206c
cmp eax, 3
je 0x46206c
cmp dword [ecx + 0x2c], 0
jne 0x462062
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.004752e0
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 0x462080
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x462094
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4620ac
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret 0xc
cmp eax, 1
je 0x4620ec
cmp eax, 2
je 0x4620ec
cmp eax, 3
je 0x4620ec
cmp dword [ecx + 0x2c], 0
jne 0x4620e2
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.004752e0
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