joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4794a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
neg edi
sbb edi, edi
and edi, 5
push edi
push dword [ebx + 0x100]
call esi
push edi
push dword [ebx + 0x104]
call esi
push edi
push dword [ebx + 0x108]
call esi
push edi
push dword [ebx + 0x10c]
call esi
push edi
push dword [ebx + 0xfc]
call esi
lea ecx, [ebx + 0x18c]
call fcn.00479547
cmp dword [ebp + 8], 0
je 0x47950f
push 0
push dword [ebx + 0xa4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx + 0x104]
jmp 0x479515
push dword [ebx + 0x17c]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x47bb96
Capabilities:
Read file on windows

Disassembly:
push 0x278
mov eax, 0x49bbf7
call fcn.00497265
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x280], ebx
call fcn.0045fb56
push 0x4beffc
push ebx
lea ecx, [ebp + 8]
call fcn.0046023d
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x280], ebx
jne 0x47bbe9
or ebx, 0xffffffff
jmp 0x47bcb8
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x279]
call fcn.0048b638
mov esi, dword [sym.imp.MSVCR120.dll_feof]
jmp 0x47bc38
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
test eax, eax
je 0x47bc38
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x279]
call fcn.0048bd34
push dword [ebp - 0x280]
call esi
pop ecx
push dword [ebp - 0x280]
test eax, eax
je 0x47bc03
call dword [sym.imp.MSVCR120.dll_fclose]
pop ecx
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x279]
call fcn.0048b5a9
mov esi, ebx
mov eax, dword [0x4cb014]
mov dword [ebp - 0x284], eax
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
push 0x4a1ef0
push eax
call fcn.0045fd48
mov eax, dword [ebp - 0x284]
add esp, 0xc
mov ecx, edi
push eax
push dword [eax - 8]
call fcn.0045f9dc
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], bl
call fcn.0045e73f
inc esi
cmp esi, 0x10
jl 0x47bc6a
lea ecx, [ebp + 8]
call fcn.0045e73f
mov eax, ebx
call fcn.00497214
ret 8
Function at 0x47c11c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x284
mov eax, 0x49bcde
call fcn.00497265
mov ebx, ecx
mov dword [ebp - 0x270], ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov eax, dword [0x4cb014]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x26c], eax
lea edi, [ecx + 4]
xor esi, esi
push dword [edi]
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], esi
push str.Looking_for_files_using_search_template:__s
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x26c]
push 1
push esi
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
lea eax, [ebx + 0x420]
mov ecx, eax
mov dword [ebp - 0x264], eax
call fcn.004620ac
lea eax, [ebp - 0x260]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47c1c9
push 1
push esi
push ecx
mov ecx, esp
push str.Could_not_find_any_files_matching_the_search_template.
call fcn.0045f630
mov ecx, dword [ebp - 0x264]
call fcn.004620ac
jmp 0x47c2f9
push 0x5c
mov ecx, edi
call fcn.00461017
push eax
push esi
lea eax, [ebp - 0x268]
mov ecx, edi
push eax
call fcn.00460ad5
mov edi, dword [ebp - 0x264]
mov esi, dword [ebp - 0x274]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00461fed
test al, al
jne 0x47c2e4
test byte [ebp - 0x260], 0x10
jne 0x47c2ce
push 0x49f800
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0045f78e
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x264]
call fcn.0045f7e1
lea ecx, [ebp - 0x290]
call fcn.004662a2
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28c]
call fcn.0045f6df
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x290]
call fcn.0045e774
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x288]
call fcn.0045f6df
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x284], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x290]
push eax
call fcn.00476faa
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x290]
push eax
call fcn.0047c30e
lea ecx, [ebp - 0x290]
call fcn.004665ae
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.0045e73f
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47c1f2
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x268]
call fcn.0045e73f
xor esi, esi
inc esi
lea ecx, [ebp - 0x26c]
call fcn.0045e73f
mov eax, esi
call fcn.00497214
ret 8
Function at 0x47e3b5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x550], eax
xor eax, eax
push eax
push eax
push esi
push 0x48193b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x418], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
pop ebp
ret 4
Function at 0x47f590
Capabilities:
Check mutex on windows

Disassembly:
push 0xc
mov eax, 0x49c2b7
call fcn.00497232
mov esi, ecx
lea ebx, [esi + 0x408]
push 0x4a0e04
mov ecx, ebx
call fcn.0045e774
push dword [ebp + 8]
lea edi, [esi + 8]
mov ecx, edi
mov dword [ebp - 0x10], edi
call fcn.0046841d
test eax, eax
je 0x47f5fa
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00467e36
xor edi, edi
mov ecx, eax
push edi
mov dword [ebp - 4], edi
call fcn.0046023d
push eax
push str.Error_reading_crash_info:__s
push ebx
call fcn.0045fd48
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0045e73f
xor eax, eax
jmp 0x47f6ca
push str.RTLReading
push str.Settings
push dword [esi + 0x10]
lea eax, [ebp - 0x14]
push eax
call fcn.004604a9
xor edi, edi
push 0x4a0910
push dword [ebp - 0x14]
inc edi
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCR120.dll__wcsicmp]
add esp, 0x18
test eax, eax
jne 0x47f632
push edi
call dword [sym.imp.USER32.dll_SetProcessDefaultLayout]
xor edi, edi
cmp dword [esi + 0xa8], edi
je 0x47f6a3
mov ecx, esi
call fcn.0047fc6c
test eax, eax
je 0x47f696
push dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.0046841d
test eax, eax
je 0x47f687
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.00467e36
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0046023d
push eax
push str.Error_reading_crash_info:__s
push ebx
call fcn.0045fd48
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0045e73f
jmp 0x47f6c0
cmp dword [esi + 0xc8], edi
jne 0x47f6a3
mov ecx, esi
call fcn.004818b6
lea ecx, [esi + 0x130]
call fcn.0049571b
jmp 0x47f6c0
cmp dword [esi + 0x5c], edi
jne 0x47f6d2
push 1
mov ecx, esi
call fcn.0047e3b5
push str.Success.
mov ecx, ebx
call fcn.0045e774
xor edi, edi
inc edi
lea ecx, [ebp - 0x14]
call fcn.0045e73f
mov eax, edi
call fcn.00497200
ret 4
push str.Local43773530_129a_4298_88f2_20eea3e4a59b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47f6f3
push str.Another_CrashSender.exe_already_tries_to_resend_recent_reports.
jmp 0x47f718
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00468319
test eax, eax
jne 0x47f708
push str.There_are_no_reports_for_us_to_send.
jmp 0x47f718
mov ecx, esi
call fcn.00468834
test eax, eax
jne 0x47f6b1
push str.Not_enough_time_elapsed_to_remind_user_about_recent_crash_reports.
mov ecx, ebx
call fcn.0045e774
jmp 0x47f6c0
Function at 0x47ff70
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x49c412
call fcn.00497232
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x60], ebx
jne 0x47ff8c
xor eax, eax
jmp 0x480116
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [edi + 0x60], ebx
push str.Restarting_the_application...
call fcn.0045f630
lea ecx, [edi + 0x420]
call fcn.004620ac
push 0x44
pop esi
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call sub.MSVCR120.dll_memset
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x6c], esi
push ebx
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [0x4cb014]
add esp, 0x18
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x48001b
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x414]
lea esi, [edi + 8]
mov ecx, esi
call fcn.004682df
mov ecx, eax
call fcn.0046807a
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push 0x4a1f38
push eax
call fcn.0045fd48
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0045e73f
jmp 0x480065
lea ecx, [ebp - 0x14]
push ecx
push dword [edi + 0x414]
lea ecx, [edi + 8]
call fcn.004682df
mov ecx, eax
call fcn.0046807a
mov esi, eax
push ebx
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 2
call fcn.0046023d
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push str.__s___s
push eax
call fcn.0045fd48
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0045e73f
lea esi, [edi + 8]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push dword [edi + 0x414]
call fcn.004682df
mov ecx, eax
call fcn.0046807a
mov esi, dword [eax]
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046023d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], bl
call fcn.0045e73f
cmp dword [ebp - 0x28], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4800c4
push dword [ebp - 0x28]
call esi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], 0
je 0x4800d2
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x18], 0
push ebx
push ebx
push ecx
mov ecx, esp
jne 0x4800f4
push str.Error_restarting_the_application_
call fcn.0045f630
lea ecx, [edi + 0x420]
call fcn.004620ac
jmp 0x48010c
push str.Application_restarted_OK.
call fcn.0045f630
lea ecx, [edi + 0x420]
call fcn.004620ac
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x10]
call fcn.0045e73f
mov eax, ebx
call fcn.00497200
ret
Function at 0x4813ca
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 0x28
mov edi, ecx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x481418
push 1
push esi
push ecx
mov ecx, esp
push str.SetDumpPrivileges:_Could_not_get_the_process_token
call fcn.0045f630
lea ecx, [edi + 0x420]
call fcn.004620ac
jmp 0x481469
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push str.SeDebugPrivilege
inc ebx
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x48143e
push ebx
push esi
push ecx
mov ecx, esp
push str.SetDumpPrivileges:_Couldnt_lookup_SeDebugPrivilege_name
jmp 0x481406
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x481467
push ebx
push esi
push ecx
mov ecx, esp
push str.SetDumpPrivileges:_Could_not_revoke_the_debug_privilege
jmp 0x481406
mov esi, ebx
cmp dword [ebp - 0x18], 0
je 0x481478
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004971ea
mov esp, ebp
pop ebp
ret

Function at 0x4817e1
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x234
mov eax, 0x49c748
call fcn.00497265
mov eax, dword [0x4cb014]
mov dword [ebp - 0x240], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x240]
push 0x57b
push str.CrashSender_d.exe
push eax
call fcn.0045fd48
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x48189c
jmp 0x48188a
push dword [ebp - 0x240]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR120.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x48188a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x234], eax
je 0x48188a
push dword [ebp - 0x234]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x481841
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x240]
call fcn.0045e73f
xor eax, eax
call fcn.00497214
ret
Function at 0x484506
Capabilities:
Read file via mapping

Disassembly:
push 0x14
mov eax, 0x49c91a
call fcn.00497232
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x18]
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, ebx
mov dword [ebp - 0x20], edi
div dword [esi + 8]
mov eax, ebx
sub eax, edx
sub ebx, eax
mov dword [ebp - 0x1c], eax
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x30]
call fcn.00487aae
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp esi, dword [ecx + 0x30]
je 0x48456b
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
push 0
push 4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 0x30]
je 0x484593
mov dword [esi + 0x14], ebx
jmp 0x4845a1
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 0x30]
call fcn.00484226
mov dword [eax], ebx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
add eax, ebx
call fcn.00497200
ret 8

Function at 0x484b59
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push 0x4beffc
push dword [ebp + 8]
xor esi, esi
push eax
mov dword [edi], esi
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 4], esi
je 0x484bf8
push dword [ebp - 4]
lea eax, [ebp + 0xc]
push 2
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
push 2
pop ecx
cmp eax, ecx
jne 0x484bf8
mov ax, word [ebp + 0xc]
cmp al, 0xff
jne 0x484baf
cmp ah, 0xfe
jne 0x484bbd
mov esi, ecx
jmp 0x484bf6
cmp al, 0xfe
jne 0x484bbd
cmp ah, 0xff
jne 0x484bbd
push 3
pop esi
jmp 0x484bf6
push dword [ebp - 4]
call dword [sym.imp.MSVCR120.dll_rewind]
push dword [ebp - 4]
lea eax, [ebp + 8]
push 3
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x14
push 3
pop ecx
cmp eax, ecx
jne 0x484bf8
cmp byte [ebp + 8], 0xef
jne 0x484bf8
cmp byte [ebp + 9], 0xbb
jne 0x484bf8
cmp byte [ebp + 0xa], 0xbf
jne 0x484bf8
xor esi, esi
inc esi
mov dword [edi], ecx
push dword [ebp - 4]
call dword [sym.imp.MSVCR120.dll_fclose]
pop ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4855d6
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0xffffffff
je 0x4855e9
call fcn.0048468d
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x48560b
xor eax, eax
jmp 0x485636
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea ecx, [ebp - 8]
mov dword [esi + 4], eax
push ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [ebp - 8]
xor eax, eax
mov dword [esi + 0x10], ecx
inc eax
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x48563e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_rewind]
push esi
push 1
lea eax, [ebp - 0x14]
push 0xe
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x14
pop esi
cmp eax, 1
je 0x485675
xor eax, eax
jmp 0x48568d
push 2
lea eax, [ebp - 0x14]
push 0x4a34a8
push eax
call sub.MSVCR120.dll_memcmp
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004971ea
mov esp, ebp
pop ebp
ret

Function at 0x48571f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_rewind]
push dword [ebp + 8]
lea eax, [ebp - 4]
push 2
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x14
cmp eax, 2
je 0x485749
xor eax, eax
jmp 0x485757
mov ecx, 0xd8ff
xor eax, eax
cmp word [ebp - 4], cx
sete al
mov esp, ebp
pop ebp
ret

Function at 0x48575b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_rewind]
push dword [ebp + 8]
lea eax, [ebp - 4]
push 3
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x14
cmp eax, 3
je 0x485785
xor eax, eax
jmp 0x48579d
push 3
lea eax, [ebp - 4]
push 0x4a34ac
push eax
call sub.MSVCR120.dll_memcmp
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x4857a1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.MSVCR120.dll_rewind]
push esi
push 8
lea eax, [ebp - 0xc]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
push 8
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.004452ea
mov ecx, dword [ebp - 4]
add esp, 0x20
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.004971ea
mov esp, ebp
pop ebp
ret
Function at 0x486bbf
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x3c]
jmp 0x486c04
push 0x1000
push edi
call fcn.0041eca0
mov dword [esi + 0x58], eax
pop ecx
pop ecx
test eax, eax
je 0x486c18
push dword [esi + 0x24]
push 0x1000
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
test eax, eax
je 0x486c18
push eax
push edi
call fcn.0041ed50
pop ecx
pop ecx
test eax, eax
jne 0x486c18
lea eax, [esi + 0x5c]
push eax
push edi
call fcn.0041eec0
pop ecx
pop ecx
cmp eax, 1
jne 0x486bcb
xor ebx, ebx
inc ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x48841f
Capabilities:
Get file size

Disassembly:
push 0x18
mov eax, 0x49cd9e
call fcn.00497232
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov eax, dword [0x4cb014]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, esi
call fcn.0048871c
test eax, eax
je 0x488532
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0xc]
mov eax, dword [eax - 8]
cdq
add dword [ebx], eax
lea eax, [ebp + 8]
push eax
adc dword [ebx + 4], edx
lea eax, [ebp + 0xc]
push eax
call fcn.00489980
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0xc]
je 0x488532
push edi
lea ecx, [eax + 0x14]
call fcn.0046023d
push eax
lea ecx, [ebp - 0x14]
call fcn.0045f630
push edi
push edi
push 3
push edi
push 1
push connect
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48852a
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
test eax, eax
jne 0x4884da
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48852a
mov eax, dword [ebp - 0x24]
add dword [ebx], eax
mov eax, dword [ebp - 0x20]
adc dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4cb014]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, dword [ebp - 0x18]
call fcn.004886ed
test eax, eax
je 0x488522
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 8]
cdq
add dword [ebx], eax
adc dword [ebx + 4], edx
xor edi, edi
inc edi
lea ecx, [ebp + 0xc]
call fcn.0045e73f
lea ecx, [ebp - 0x14]
call fcn.0045e73f
lea ecx, [ebp - 0x10]
call fcn.0045e73f
lea ecx, [ebp + 8]
call fcn.0045e73f
mov eax, edi
call fcn.00497200
ret 8
Function at 0x4892a4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004883a9
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
push eax
push eax
push esi
push 0x489333
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
pop esi
sbb eax, eax
neg eax
pop ebp
ret 8
Function at 0x48b638
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4
Function at 0x48cf2e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x48cfa5
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax - 8]
lea esi, [eax*2 + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x48cf9f
mov edx, dword [ebx]
shr esi, 1
mov ecx, dword [edx - 8]
add ecx, ecx
push ecx
push edx
push esi
push eax
call dword [sym.imp.MSVCR120.dll_wcsncpy_s]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x48cfa8
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4