joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b80
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6e377c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
cmp dword [0x71b760], ebx
jne 0x422ba2
call fcn.00422e70
cmp dword [0x71b768], 2
je 0x422bc7
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005bae23
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x422bfc
lea ecx, [esp + 0xc]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x422d20
lea edx, [esp + 4]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 5
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x422cd8
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 2
push edx
call esi
test eax, eax
jne 0x422ccc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x422ccc
mov eax, dword [esp + 0x14]
push edi
push eax
call fcn.005b57b0
mov edx, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push edx
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
push 2
push eax
call esi
test eax, eax
je 0x422cc2
xor esi, esi
cmp dword [edi], ebx
jbe 0x422cc2
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
push ebp
lea ebp, [edi + 4]
mov edi, edi
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push ecx
push edx
call ebx
test eax, eax
je 0x422cb7
mov dword [esp + 0x14], 1
inc esi
add ebp, 8
cmp esi, dword [edi]
jb 0x422ca0
xor ebx, ebx
pop ebp
push edi
call fcn.005b5a6b
add esp, 4
pop edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 8], ebx
je 0x422d20
cmp dword [0x71b760], ebx
jne 0x422cf6
call fcn.00422e70
cmp dword [0x71b768], 2
jne 0x422d20
cmp dword [0x71b760], 6
jb 0x422d20
lea eax, [esp + 4]
call fcn.00422d40
test eax, eax
jne 0x422d1c
cmp dword [esp + 4], 3
jne 0x422d20
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 8]
pop ebx
xor ecx, esp
call fcn.005bae23
add esp, 0x1c
ret
Function at 0x422fd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea ecx, [esp + 4]
push ecx
push edx
mov eax, 4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
xor esi, esi
push esi
push str.EnableLUA
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x423011
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x423020
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 4

Function at 0x4318a8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62ca52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov esi, ecx
sub esp, 0x1c
lea eax, [esi + 0x50]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0042a623
xor eax, eax
mov dword [esp + 0xf0], eax
cmp dword [esi + 0x30], eax
je 0x4318f3
mov esi, dword [esi + 0x30]
jmp 0x4318f6
mov esi, dword [esi + 0x34]
push esi
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0xf8], 0xffffffff
call fcn.004302e7
add esp, 0x24
mov dword [esp + 0xd4], 1
push str.file_sizes
push dword [ebp + 8]
call fcn.0042e879
mov esi, eax
call fcn.0042ec71
push dword [esp + 0x28]
lea edi, [esp + 0x20]
lea esi, [esp + 0x10]
mov ebx, eax
call fcn.00484e85
push dword [esp + 0x2c]
lea esi, [esp + 0x18]
call fcn.00484e85
mov eax, dword [esp + 0xc]
test eax, eax
je 0x431959
cmp eax, dword [esp + 0x14]
je 0x43195e
call fcn.005b544b
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
je 0x431a3a
lea eax, [esp + 0x34]
push eax
call fcn.0042f01f
mov byte [esp + 0xd4], 2
lea esi, [esp + 0xc]
call fcn.0049297c
mov edx, eax
lea eax, [esp + 0x78]
call fcn.0042edaf
mov byte [esp + 0xd4], 3
push eax
lea eax, [esp + 0x38]
call fcn.0041c3aa
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x78]
call fcn.0042ebf2
call fcn.0049297c
lea edx, [eax + 8]
lea eax, [esp + 0x50]
call fcn.0042edaf
mov byte [esp + 0xd4], 4
push eax
lea eax, [esp + 0x38]
call fcn.0041c3aa
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0x50]
call fcn.0042ebf2
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x38]
call fcn.0042ed6b
mov byte [esp + 0xd4], 5
push eax
mov eax, ebx
call fcn.0041c3aa
mov byte [esp + 0xd4], 2
lea ecx, [esp + 0xa0]
call fcn.0042ebf2
mov byte [esp + 0xd4], 1
lea eax, [esp + 0x34]
push eax
call fcn.0042ff82
call fcn.00435fc2
jmp 0x43194b
or dword [esp + 0xd4], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.0046ede1
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628395
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004386b0
mov esi, eax
and dword [esp + 0xa4], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004386b0
mov byte [esp + 0xa4], 1
push 1
push esi
push eax
lea eax, [esp + 0x10]
push eax
call fcn.005eb620
add esp, 0x10
mov byte [esp + 0xa4], 0
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0040337f
or dword [esp + 0xa4], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040337f
mov eax, dword [esp + 4]
neg eax
sbb eax, eax
test eax, fcn.0040234c
je 0x43763c
push str.boost::filesystem::copy_file
lea ecx, [esp + 0x10]
call fcn.004028e2
mov dword [esp + 0xa4], 2
push dword [esp + 8]
lea eax, [esp + 0x10]
push dword [esp + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0043819b
mov byte [esp + 0xa4], 3
push eax
call fcn.00407e1b
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x438257
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x628395
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov ecx, dword [ebp + 0xc]
push esi
lea eax, [esp + 0xc]
push eax
call fcn.004386b0
mov esi, eax
and dword [esp + 0xa4], 0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call fcn.004386b0
mov byte [esp + 0xa4], 1
push esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.005eb5c0
add esp, 0xc
mov byte [esp + 0xa4], 0
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.0040337f
or dword [esp + 0xa4], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.0040337f
mov eax, dword [esp + 4]
neg eax
sbb eax, eax
test eax, fcn.0040234c
je 0x438331
push str.boost::filesystem::rename
lea ecx, [esp + 0x10]
call fcn.004028e2
mov dword [esp + 0xa4], 2
push dword [esp + 8]
lea eax, [esp + 0x10]
push dword [esp + 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0043819b
mov byte [esp + 0xa4], 3
push eax
call fcn.00407e1b
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43997f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x626c89
call fcn.0060d220
push ecx
push esi
mov esi, dword [ebp + 8]
mov dword [esi], vtable.libtorrent::torrent_plugin.0
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [esi + 4]
mov dword [eax], ecx
mov dword [ebp - 0x10], eax
mov dword [eax + 4], ecx
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
mov dword [esi], vtable.smart_ban_plugin.0
call fcn.0043a3b5
mov byte [ebp - 4], 4
call fcn.0060a7fa
mov dword [esi + 0x30], eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43c758
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x623616
call fcn.0060d220
sub esp, 0x58
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 8]
call fcn.004023ff
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 1
call fcn.0041a9ba
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041a9da
mov edi, eax
lea esi, [ebp - 0x34]
call fcn.0041c369
test al, al
jne 0x43c8c6
push 3
pop esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
jmp 0x43c7c3
push 3
pop esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041a9da
mov ecx, eax
call fcn.00409549
mov dword [ebp - 0x20], eax
cmp eax, esi
lea eax, [ebp - 0x20]
jl 0x43c7e7
lea eax, [ebp - 0x28]
mov ebx, dword [eax]
push esi
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.005b79e0
add esp, 0xc
push ebx
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x34]
call fcn.0043ca2b
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x24], ecx
movsd dword es:[edi], dword [esi]
call fcn.0043caa1
add esp, 0x18
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041c588
mov al, byte [ebp - 0x14]
mov cl, al
shr cl, 2
mov byte [ebp - 0x18], cl
mov cl, byte [ebp - 0x13]
and al, 3
mov dl, cl
shl al, 4
shr dl, 4
or al, dl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x12]
and cl, 0xf
mov dl, al
shl cl, 2
shr dl, 6
or cl, dl
and al, 0x3f
lea esi, [ebx + 1]
xor edi, edi
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
test esi, esi
jle 0x43c88e
movzx eax, byte [ebp + edi - 0x18]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
push 1
call fcn.00408dce
inc edi
cmp edi, esi
jl 0x43c86e
push 3
pop eax
sub eax, ebx
test eax, eax
jle 0x43c8a8
mov esi, eax
mov ecx, dword [ebp + 8]
push 0x3d
push 1
call fcn.00408dce
dec esi
jne 0x43c899
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
call fcn.0041a9da
mov edi, eax
lea esi, [ebp - 0x34]
call fcn.0041c369
test al, al
je 0x43c7c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44a1e2
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0xffffffff
push esi
push edi
je 0x44a290
push 0
push 0
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x44a215
push dword [ebx]
mov edi, eax
call fcn.0044ab10
test byte [ebx + 0x88], 2
je 0x44a262
xor eax, eax
mov word [esp + 0xc], ax
mov word [esp + 0xe], ax
call fcn.005ebf90
mov edi, dword [ebx]
lea esi, [esp + 0x10]
call fcn.004556a5
push 4
lea eax, [esp + 0x10]
push eax
push 0x80
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call fcn.0045568c
pop ecx
test eax, eax
jne 0x44a262
call fcn.004556a5
call fcn.005ebf90
push dword [ebx]
lea eax, [esp + 0x14]
call fcn.004544ea
pop ecx
or eax, 0xffffffff
mov ecx, ebx
call fcn.0044b239
mov byte [ebx + 0x88], 0
add ebx, 0x8c
push ebx
call fcn.0044aad2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x450552
Capabilities:
Create thread

Disassembly:
mov eax, 0x628088
call fcn.0060d220
sub esp, 0x64
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x10
mov dword [esi + 8], ebx
call fcn.005b4e59
pop ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x450598
mov dword [eax], vtable.boost::asio::detail::win_thread::func_base.0
mov byte [ebp - 4], 1
mov dword [eax], vtable.boost::asio::detail::win_thread::func_class_boost::asio::detail::resolver_service_class_boost::asio::ip::tcp_::work_io_service_runner_.0
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], bl
mov edi, eax
jmp 0x45059a
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x4505e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.005ebf90
push str.thread.entry_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
push eax
call fcn.0041b62d
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [edi + 8], eax
cmp dword [esi + 8], ebx
jne 0x450629
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.005ebf90
push str.thread.exit_event
push eax
push esi
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 4
jmp 0x4505de
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x453769
push ebx
push ebx
mov dword [ebp - 0x14], ebx
call fcn.005bddf5
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x450686
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [esi + 8]
cmp esi, ebx
je 0x450666
push esi
call edi
call fcn.005ebf90
push str.thread
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x70]
push eax
call fcn.00418c69
mov byte [ebp - 4], 5
jmp 0x4505de
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x450807
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x6295bc
call fcn.0060d220
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], 0x450c20
mov dword [esi + 0x24], eax
or dword [esi + 0x28], 0xffffffff
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x34], eax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x158], al
lea eax, [ebp + 0x24]
push eax
lea eax, [esi + 0x160]
push eax
call fcn.0044cdca
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x24]
push eax
call fcn.00441ed8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x3c

Function at 0x452e59
Capabilities:
Resolve dns

Disassembly:
push esi
push edi
mov esi, eax
call fcn.004556a5
cmp dword [esp + 0x10], 2
je 0x452e7c
mov edi, 0x273f
call fcn.005ebf90
mov dword [esi + 4], eax
mov dword [esi], edi
xor eax, eax
jmp 0x452eb5
push ebx
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
call fcn.005ebf90
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], edi
test ebx, ebx
jne 0x452ea3
xor eax, eax
jmp 0x452eb4
call fcn.004556a5
mov eax, dword [esp + 0x18]
mov esi, ebx
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ebx
pop edi
pop esi
ret

Function at 0x4543af
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0xa5100000
push esi
push edi
mov esi, eax
jne 0x4543d9
cmp dword [ebp + 0x10], 2
jne 0x4543d9
mov edi, 0x2726
call fcn.005ebf90
mov dword [esi + 4], eax
mov dword [esi], edi
or eax, 0xffffffff
jmp 0x454407
call fcn.004556a5
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call fcn.0045568c
mov edi, eax
pop ecx
test edi, edi
jne 0x454405
call fcn.004556a5
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x454693
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x71c278
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
test eax, eax
je 0x4546c8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
ret
push dword [esi + 4]
push method.wxFrame.virtual_304
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call edi
pop edi
ret
Function at 0x455882
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret

Function at 0x456de9
Capabilities:
Get disk size

Disassembly:
mov eax, 0x62230d
call fcn.0060d220
sub esp, 0x30
push ebx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
jne 0x456e86
push edi
push 1
push ebx
lea eax, [ebp - 0x10]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [ebp - 0x10], 0x5c
call fcn.00408711
inc eax
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00401fff
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 8
jb 0x456e37
mov eax, dword [eax + 4]
jmp 0x456e3a
add eax, 4
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edi, eax
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040337f
cmp edi, ebx
pop edi
je 0x456e78
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
imul ecx, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
jmp 0x456e86
mov dword [esi + 0x24], 0x200
mov dword [esi + 0x28], 0x1000
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x24]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x456ed1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x18], ebx
call fcn.00456eba
xor edi, edi
test byte [ebx + 0x20], 4
mov dword [ebp - 8], edi
jne 0x456f6d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
lea edx, [ebp - 0x1c]
push edx
push ecx
push eax
push dword [ebx]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x456f2d
call fcn.005ebf90
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], esi
or eax, 0xffffffff
or edx, eax
jmp 0x457072
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
lea eax, [esi + eax*8]
mov dword [ebp + 0x10], eax
cmp esi, eax
jae 0x45706d
push edi
lea eax, [ebp + 0x14]
push eax
push dword [esi + 4]
mov dword [ebp + 0x14], edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x456f0e
mov eax, dword [ebp + 0x14]
add dword [ebp - 8], eax
add esi, 8
cmp esi, dword [ebp + 0x10]
jb 0x456f41
jmp 0x45706d
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.004308a7
mov esi, dword [0x71b76c]
mov dword [ebp + 0x10], eax
lea eax, [esi + eax - 1]
cdq
idiv esi
mov dword [ebp - 0xc], eax
lea eax, [eax*8 + 8]
call fcn.005c9ee0
mov edx, dword [ebp + 0x14]
lea edx, [ebx + edx*8]
mov eax, esp
mov dword [ebp - 0x10], eax
mov ecx, ebx
mov dword [ebp + 0x14], edx
cmp ebx, edx
jae 0x456fcf
xor edx, edx
cmp dword [ecx + 4], edi
jbe 0x456fc7
mov ebx, dword [ecx]
add ebx, edx
mov dword [eax], ebx
mov dword [eax + 4], edi
add edx, esi
add eax, 8
cmp edx, dword [ecx + 4]
jb 0x456fb4
add ecx, 8
cmp ecx, dword [ebp + 0x14]
jb 0x456fad
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0xc]
push edi
push edi
mov ecx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
push 1
push edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
sar ecx, 0x1f
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
add dword [ebp - 8], eax
mov eax, dword [0x71b76c]
imul eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x30]
push ecx
push edi
mov edi, dword [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
test eax, eax
jne 0x457064
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x45704e
call fcn.005ebf90
mov edi, eax
call esi
mov ecx, dword [ebp + 0x18]
push dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x456f23
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x45702f
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
xor edx, edx
lea esp, [ebp - 0x3c]
pop edi
pop esi
pop ebx
leave
ret 0x14