joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a20e
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x450
mov eax, 0x528045
call fcn.004f1db2
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x458], eax
cmp dword [eax + 0x10], ebx
jne 0x44a234
xor eax, eax
jmp 0x44a38f
push eax
lea ecx, [ebp - 0x43c]
call fcn.00417230
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x45c], 0x2e
call fcn.0041b0d0
mov ecx, dword [ebp - 0x42c]
dec ecx
push ecx
push eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0041a570
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.004202a0
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], bl
call fcn.00417360
push str..ocx
lea ecx, [ebp - 0x43c]
call fcn.0041a5a0
test eax, eax
je 0x44a2c8
push str..dll
lea ecx, [ebp - 0x43c]
call fcn.0041a5a0
test eax, eax
jne 0x44a37e
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x44a301
push 5
pop ecx
xor eax, eax
mov esi, str._regsvr32
push 0x206
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004f28b0
mov eax, dword [ebp - 0x458]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x44a343
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x424]
push str._s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x424]
push 5
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x55b570
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x44a37e
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00417360
mov eax, ebx
call fcn.004f1d61
ret 4
Function at 0x44a3df
Capabilities:
Print debug messages

Disassembly:
push 0xe4
mov eax, 0x528090
call fcn.004f1db2
call fcn.0044a397
test eax, eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.SOFTWAREClassesCLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
setne cl
test cl, cl
lea ecx, [ebp - 0x28]
lea eax, [esi - 2]
cmovne esi, eax
mov eax, str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
cmove eax, edx
push eax
call fcn.00417260
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x41]
cmp dword [ebp - 0x14], 8
mov edi, 0xf003f
push 1
cmovae eax, dword [ebp - 0x28]
push edi
push eax
push esi
call fcn.004490d0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push edi
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
lea ecx, [ebp - 0x50]
call fcn.0043c6fa
mov ebx, eax
or edi, 0xffffffff
test ebx, ebx
jne 0x44a47f
push 1
mov eax, 0x559c78
lea ecx, [ebp - 0x50]
push eax
push eax
call fcn.004480d3
mov edi, eax
push ecx
push ecx
lea ecx, [ebp - 0xf0]
call fcn.0044aa63
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf0]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
call fcn.0044d7a5
pop ecx
push edi
push ecx
push dword [ebp - 0x54]
mov edx, str.CrashRepair::BeginRegisterAcessable
push ecx
push ebx
push ecx
mov ecx, eax
call fcn.0044d7d7
mov edx, str.__reg.Open:
mov ecx, eax
call fcn.0044da24
pop ecx
mov ecx, eax
call fcn.0044ac8e
mov edx, str.__helper.AddRegAccess:
mov ecx, eax
call fcn.0044da24
pop ecx
mov ecx, eax
call fcn.0044ab96
mov edx, str.__reg.SetStringValue
mov ecx, eax
call fcn.0044da24
pop ecx
mov ecx, eax
call fcn.0044ac8e
mov edx, str.__location_is:
mov ecx, eax
call fcn.0044da24
mov edx, esi
mov ecx, eax
call fcn.0044da24
push eax
call fcn.0044d7a5
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0044ab5e
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x44a52f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00417360
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call fcn.0044ab1b
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.004f0b93
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0043c6e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00417360
call fcn.004f1d61
ret
Function at 0x44a590
Capabilities:
Print debug messages

Disassembly:
push 0xdc
mov eax, 0x5280e3
call fcn.004f1db2
call fcn.0044a397
test eax, eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov edx, str.SOFTWAREClassesCLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
setne cl
test cl, cl
lea ecx, [ebp - 0x28]
lea eax, [esi - 2]
cmovne esi, eax
mov eax, str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
cmove eax, edx
push eax
call fcn.00417260
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x49]
cmp dword [ebp - 0x14], 8
mov edi, ebx
cmovae eax, dword [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.0044924d
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x50]
cmp dword [esi - 0xc], ebx
je 0x44a62b
lea ecx, [ebp - 0x48]
call fcn.004484dc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00448613
push ebx
lea eax, [ebp - 0x48]
push eax
push 4
push esi
call fcn.00448e4f
add esp, 0x10
movzx edi, al
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0044851f
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00436fdb
push ecx
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0044aa63
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
call fcn.0044d7a5
pop ecx
push edi
push ecx
mov edx, str.CrashRepair::EndRegisterAcessable
mov ecx, eax
call fcn.0044d7d7
mov edx, str.__RestoreRegAccess:
mov ecx, eax
call fcn.0044da24
pop ecx
mov ecx, eax
call fcn.0044ab96
mov edx, str.__location_is:
mov ecx, eax
call fcn.0044da24
mov edx, esi
mov ecx, eax
call fcn.0044da24
push eax
call fcn.0044d7a5
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0044ab5e
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x44a6b8
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00417360
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.0044ab1b
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.004f0b93
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00417360
call fcn.004f1d61
ret
Function at 0x44cec3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
push esi
mov esi, eax
mov dword [ebp - 8], eax
push edi
or edi, 0xffffffff
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44cedc
sub esi, ecx
lea ebx, [esi + 1]
push ebx
call fcn.004f046c
mov esi, eax
pop ecx
test esi, esi
je 0x44cfb0
push ebx
call fcn.004f046c
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
test ebx, ebx
jne 0x44cf14
push esi
call fcn.004f2acf
jmp 0x44cfaf
mov ecx, dword [ebp - 4]
mov edx, esi
inc ecx
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x44cf1c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
sub eax, ecx
push eax
push ecx
push ebx
call fcn.004f9630
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, ebx
sub eax, dword [ebp - 8]
push 0
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
push esi
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x44cfa2
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44cfa2
push 0xc
call fcn.004b1c79
mov ebx, eax
pop ecx
test ebx, ebx
je 0x44cf9f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x10]
and dword [ebx + 4], 0
push dword [ebp - 8]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebx + 8], eax
mov edi, ebx
mov ebx, dword [ebp - 0xc]
push esi
call fcn.004f2acf
push ebx
call fcn.004f2acf
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44cff5
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
mov edi, ecx
mov ebx, edx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44d05b
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x44d054
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x44d054
lea eax, [ebp - 8]
push eax
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
and eax, 0x27
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e782
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f28b0
add esp, 0xc
mov dword [ebp - 0x210], 0x208
lea eax, [ebp - 0x210]
mov ebx, str.SOFTWAREMicrosoftInternet_Explorer
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.svcVersion
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44e80d
cmp dword [ebp - 0x214], 1
jne 0x44e80d
cmp dword [ebp - 0x210], eax
je 0x44e80d
lea eax, [ebp - 0x20c]
push eax
call fcn.004f2ad4
pop ecx
jmp 0x44e854
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Version
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44e852
cmp dword [ebp - 0x214], 1
jne 0x44e852
cmp dword [ebp - 0x210], eax
jne 0x44e7fe
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret

Function at 0x44e863
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push str.winhttp.dll
mov edi, ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x44e931
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call esi
push str.WinHttpConnect
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.WinHttpOpenRequest
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.WinHttpSendRequest
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.WinHttpWriteData
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.WinHttpReceiveResponse
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.WinHttpCloseHandle
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.WinHttpReadData
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.WinHttpQueryDataAvailable
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpSetTimeouts
push dword [edi]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
pop esi
cmp dword [edi + 4], ebx
je 0x44e931
cmp dword [edi + 8], ebx
je 0x44e931
cmp dword [edi + 0xc], ebx
je 0x44e931
cmp dword [edi + 0x10], ebx
je 0x44e931
cmp dword [edi + 0x14], ebx
je 0x44e931
cmp dword [edi + 0x18], ebx
je 0x44e931
cmp dword [edi + 0x1c], ebx
je 0x44e931
cmp dword [edi + 0x20], ebx
je 0x44e931
cmp dword [edi + 0x24], ebx
je 0x44e931
test eax, eax
je 0x44e931
inc ebx
jmp 0x44e938
mov ecx, edi
call fcn.0044e93d
pop edi
mov eax, ebx
pop ebx
ret
Function at 0x44f2df
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.004f5710
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0xfff
mov dword [ebp - 0x2020], eax
xor ebx, ebx
mov dword [ebp - 0x201c], ecx
push edi
lea eax, [ebp - 0x100b]
mov dword [ebp - 0x2014], 0x7d0
push ebx
push eax
mov esi, 0x80004005
mov dword [ebp - 0x2010], 0x1000
mov byte [ebp - 0x100c], bl
call fcn.004f28b0
add esp, 0xc
mov byte [ebp - 0x200c], bl
lea eax, [ebp - 0x200b]
push edi
push ebx
push eax
call fcn.004f28b0
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push str.KxeCollect_Agent
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x2024], ebx
test ebx, ebx
jne 0x44f38a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x44f4ed
push 4
lea eax, [ebp - 0x2014]
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
xor eax, eax
push eax
push 3
push eax
push eax
push 0x50
push str.api.liebao.cn
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2018], eax
test eax, eax
jne 0x44f3dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x44f4ea
push 4
lea ecx, [ebp - 0x2014]
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ebx, dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push 4
push eax
push 5
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x201c]
xor ecx, ecx
push 1
push 0x20000000
push ecx
push ecx
push str.HTTP_1.0
add eax, 0x2c
push eax
push ecx
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x44f447
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x44f4dc
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x44f477
lea eax, [ebp - 0x2010]
push eax
push dword [ebp - 0x2010]
lea eax, [ebp - 0x100c]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x44f48d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x44f4d9
lea eax, [ebp - 0x2010]
mov ecx, 0x1000
push eax
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x2010], ecx
push eax
push ecx
lea eax, [ebp - 0x100c]
push eax
call fcn.0044e607
add esp, 0x10
test eax, eax
je 0x44f4d9
push dword [ebp - 0x2010]
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2020]
call fcn.0044f66c
xor ecx, ecx
test eax, eax
cmovne esi, ecx
push ebx
call edi
push dword [ebp - 0x2018]
call edi
mov ebx, dword [ebp - 0x2024]
push ebx
call edi
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44fb1a
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov esi, ecx
mov al, byte [esi + edx]
cmp al, 0x41
jl 0x44fb35
cmp al, 0x5a
jg 0x44fb35
shl ecx, 6
add ecx, 0xffffffbf
jmp 0x44fb53
cmp al, 0x61
jl 0x44fb45
cmp al, 0x7a
jg 0x44fb45
shl ecx, 6
add ecx, 0xffffffb9
jmp 0x44fb53
cmp al, 0x30
jl 0x44fb5a
cmp al, 0x39
jg 0x44fb5a
shl ecx, 6
add ecx, 4
movsx eax, al
add ecx, eax
jmp 0x44fb79
cmp al, 0x2b
jne 0x44fb66
shl ecx, 6
add ecx, 0x3e
jmp 0x44fb79
cmp al, 0x2f
jne 0x44fb72
shl ecx, 6
add ecx, 0x3f
jmp 0x44fb79
cmp al, 0x3d
jne 0x44fb79
shl ecx, 6
inc esi
cmp esi, 4
jl 0x44fb22
mov byte [edi + 2], cl
shr ecx, 8
mov byte [edi + 1], cl
shr ecx, 8
mov byte [edi], cl
pop edi
pop esi
ret

Function at 0x44fe74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.004f28b0
mov eax, dword [esi + 0x20]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x44feb3
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x44feee
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret
cmp word [ebp + eax*2 - 0x804], 0x5c
je 0x44fef1
dec eax
jns 0x44fee3
add eax, eax
cmp eax, 0x800
jae 0x44ff1f
xor ecx, ecx
push 5
mov word [ebp + eax - 0x804], cx
lea eax, [ebp - 0x804]
push eax
push ecx
push eax
push 0x55b570
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x44fed2
call fcn.004f5873
int3

Function at 0x4513cb
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x52893f
call fcn.004f1d7f
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00437474
push eax
lea ecx, [ebp - 0x14]
call fcn.0043a4ef
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
je 0x45146d
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45146d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
inc eax
push eax
call fcn.004f046c
mov edi, eax
pop ecx
test edi, edi
je 0x451466
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45145f
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov ecx, edi
mov byte [edi + eax], bl
call fcn.00451482
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00451329
mov ebx, eax
push edi
call fcn.004f2acf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00436fdb
mov eax, ebx
call fcn.004f1d4d
ret 4
Function at 0x454fab
Capabilities:
Initialize winsock library

Disassembly:
push 0x1a4
mov eax, 0x529086
call fcn.004f1db2
mov edi, ecx
lea esi, [edi + 0x1008]
mov dword [ebp - 0x1b0], edi
xor ebx, ebx
mov dword [ebp - 0x1a8], esi
push 8
mov dword [ebp - 0x1ac], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.004b1c79
pop ecx
test eax, eax
jne 0x454ff5
call fcn.004f038b
mov dword [esi], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax], esi
push 2
pop ecx
lea eax, [ebp - 0x1a4]
mov dword [ebp - 4], ecx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
or dword [edi], 0xffffffff
mov eax, 0x1f90
or dword [ebp - 4], 0xffffffff
mov word [edi + 0x1024], ax
mov eax, edi
mov dword [edi + 0x1020], ebx
call fcn.004f1d61
ret
Function at 0x4550c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push 0xb0
mov eax, 0x5290e2
call fcn.004f1db2
mov esi, ecx
cmp dword [esi], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ecx
je 0x45510d
push dword [esi]
call ebx
or dword [esi], 0xffffffff
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
and dword [esi + 4], 0
push ecx
push eax
push edi
push ecx
lea ecx, [ebp - 0xac]
call fcn.00458511
and dword [ebp - 4], 0
cmp dword [esi + 0x1018], 0
je 0x45515d
lea edi, [esi + 0x1008]
mov ecx, edi
call fcn.0045541d
mov ecx, dword [eax]
test ecx, ecx
je 0x455146
mov eax, dword [ecx]
push 1
call dword [eax]
dec dword [edi + 0x10]
jne 0x455151
and dword [edi + 0xc], 0
jmp 0x455154
inc dword [edi + 0xc]
cmp dword [esi + 0x1018], 0
jne 0x455133
mov ecx, dword [esi + 0x1020]
test ecx, ecx
je 0x455174
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x1020], 0
xor eax, eax
lea edi, [ebp - 0x22]
mov word [ebp - 0x24], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0045538c
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
or edi, 0xffffffff
mov dword [esi], eax
cmp eax, edi
jne 0x4551c5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x55da88
lea ecx, [ebp - 0x4c]
call fcn.00454f2c
push 0x57d8ac
lea eax, [ebp - 0x4c]
push eax
call fcn.004f1cea
push 4
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x2bf20
push ecx
push 0x1005
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esi + 0x101c]
push eax
lea eax, [esi + 0x1008]
push eax
lea ecx, [ebp - 0xac]
call fcn.004585d5
push 0x12
push 0x4c8
push dword [ebp - 0xb0]
push dword [esi]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, edi
jne 0x45522f
push dword [esi]
call ebx
mov dword [esi], edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x55da98
jmp 0x4551af
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
jne 0x455264
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call edi
cmp eax, 0x2733
je 0x455264
push dword [esi]
call ebx
or dword [esi], 0xffffffff
call edi
push eax
push 0x55da64
jmp 0x4551af
lea ecx, [ebp - 0x64]
call fcn.004171b0
lea ecx, [ebp - 0x7c]
call fcn.004171b0
lea ecx, [ebp - 0x94]
call fcn.00417360
lea ecx, [ebp - 0xac]
call fcn.00417360
call fcn.004f1d61
ret 0x14