joyce8/EMBER2024-capa huggingface dataset:
Function at 0x677f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x68c9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x678002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0067bdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x678002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006736e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0067c20b
push 0x10
call fcn.0067c1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x677fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006681c0
jmp 0x677fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00677b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x677ff0
mov ecx, edi
call fcn.006682c0
push edi
call fcn.0067c1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x678021
inc ebx
cmp ebx, 0x20
jb 0x677f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x679250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d808
push 0x67d288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x679329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x679329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0067c1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x679329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x679329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x67932c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00679351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x679d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x679d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x679d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x679d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x679d94
push eax
push esi
call fcn.0067c20b
add esp, 8
pop esi
ret 0x10

Function at 0x679da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x679e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x679e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x692320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0067bdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x679dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x679e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x679ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x679eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x692320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0067bdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x679eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x679e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x67a000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x67a131
push esi
call fcn.0067d145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0066c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x67a131
push 0
push ebp
call fcn.0066c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0066c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x67a08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0066c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x67a121
push 0x692918
push edi
call fcn.0067b3f0
push eax
push ebx
push esi
call fcn.00679f60
push 0x6928f8
push edi
call fcn.0067b3f0
push eax
push ebx
push esi
call fcn.00679f60
push 0x6928d8
push edi
call fcn.0067b3f0
push eax
push ebx
push esi
call fcn.00679f60
push 0x6928c0
push edi
call fcn.0067b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00679f60
push 0x6928a0
push edi
call fcn.0067b3f0
push eax
push ebx
push esi
call fcn.00679f60
push 0x692888
push edi
call fcn.0067b3f0
push eax
push ebx
push esi
call fcn.00679f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x67b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0067b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0067b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0067b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0067b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x67bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x67bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x68d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x67bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x67bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x402170
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x318
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x314], eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0xc]
push 0x104
push 0x104
push eax
call fcn.004010f0
push dword [eax + 4]
push dword [eax]
call fcn.00427507
add esp, 0x20
xor eax, eax
mov cl, byte [esp + eax]
test cl, cl
je 0x4021ca
cmp cl, 0x7f
ja 0x4021f4
inc eax
cmp eax, 0x104
jl 0x4021b6
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402225
test al, 0x10
je 0x402225
mov eax, 1
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0x10c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4021d4
mov ecx, dword [esp + 0x314]
xor eax, eax
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret

Function at 0x402240
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x318
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0x14]
push 0x104
push 0x104
push eax
call fcn.004010f0
push dword [eax + 4]
push dword [eax]
call fcn.00427507
add esp, 0x20
xor eax, eax
mov cl, byte [esp + eax + 8]
test cl, cl
je 0x40229d
cmp cl, 0x7f
ja 0x4022ed
inc eax
cmp eax, 0x104
jl 0x402288
push 0
push 0
push 3
push 0
push 1
push 8
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp esi, 0xffffffff
je 0x40233a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 0x10
jne 0x40233a
mov eax, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0x114]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 3
push 0
push 1
push 8
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4022c1
mov ecx, dword [esp + 0x31c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret
Function at 0x402f10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x452004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x220], eax
mov esi, ecx
push edi
mov dword [ebp - 0x218], edx
xor eax, eax
mov cl, byte [eax + esi]
test cl, cl
je 0x402f56
cmp cl, 0x7f
ja 0x402f8f
inc eax
cmp eax, 0x104
jl 0x402f42
push 0
push 0
push 3
push 0
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x402fc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Failed_to_open__s__u_n
push 1
call fcn.00401a20
add esp, 0x10
jmp 0x403094
push 0x208
lea eax, [ebp - 0x210]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 3
push 0
push 1
push closesocket
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x402f6c
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
xor edx, edx
mov ecx, ebx
add ecx, dword [ebp - 0x218]
setb dl
neg edx
or edx, ecx
push edx
call fcn.0042475b
add esp, 4
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x403013
push str.Failed_to_alloc_file_buffer_n
push 1
call fcn.00401a20
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403094
push 0
lea ecx, [ebp - 0x214]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403061
cmp ebx, dword [ebp - 0x214]
jne 0x403061
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x218]
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x220]
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422702
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x214]
push esi
push str.Failed_to_read_file___s___u_err:_u
push 1
call fcn.00401a20
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
push eax
call fcn.00424740
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422702
mov esp, ebp
pop ebp
ret
Function at 0x406360
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x206c
call fcn.004423e0
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x2068], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 0xc]
mov edx, 0x2000
lea ecx, [esp + 0x7c]
call fcn.004056e0
add esp, 0xc
mov byte [esp + 0x206f], 0
test edi, edi
jne 0x4063cb
lea eax, [esp + 0x70]
push eax
call fcn.0042b4af
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x270]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x4063ee
lea ecx, [esp + 0x70]
push ecx
push edi
call eax
add esp, 8
test eax, eax
jne 0x4064cd
mov eax, dword [edi + 0x270]
mov edx, dword [eax + 0x30]
test edx, edx
je 0x4064cd
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push 0x44a090
call fcn.004061b0
add esp, 8
test eax, eax
je 0x4064cd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4064cd
push 0x454924
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
call fcn.00427b7f
lea ecx, [edi + 0x290]
mov byte [esp + 0x40], 0
add esp, 4
mov ebx, eax
test ecx, ecx
je 0x406469
cmp word [ecx], 2
jne 0x406469
push 2
push 0
push 0
push 0x32
lea eax, [esp + 0x4c]
push eax
push 0x10
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
lea eax, [esp + 0x3c]
push eax
push ebx
push str.__010lu___error___client__s_
push esi
call fcn.00401900
mov eax, dword [edi]
add esp, 0x10
test eax, eax
je 0x406495
push dword [edi + 4]
push eax
push str._s__s:
push esi
call fcn.00401900
add esp, 0x10
lea eax, [esp + 0x70]
push eax
push 0x44a068
push esi
call fcn.00401900
add esp, 0xc
push esi
push 0xa
call fcn.00427f2e
push esi
call fcn.004293df
add esp, 0xc
push 0x454924
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.00427930
add esp, 4
mov ecx, dword [esp + 0x2074]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00422702
mov esp, ebp
pop ebp
ret
Function at 0x407330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x452004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [edx], 0
lea ecx, [ebp - 0x108]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x104
je 0x407372
mov eax, ecx
sub edx, eax
nop dword [eax]
cmp esi, 1
jbe 0x407372
mov al, byte [edx + ecx]
dec esi
mov byte [ecx], al
inc ecx
cmp byte [edx + ecx], 0
jne 0x407360
push edi
mov byte [ecx], 0
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x4073d4
lea esi, [ebp - 0x107]
add esi, edi
mov al, byte [esi - 1]
cmp al, 0x2f
jne 0x407396
mov byte [esi - 1], 0x5c
jmp 0x40739a
cmp al, 0x5c
jne 0x4073c9
test edi, edi
jle 0x4073c9
nop
mov al, byte [esi]
cmp al, 0x5c
je 0x4073aa
cmp al, 0x2f
jne 0x4073c9
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4073b0
sub eax, edx
push eax
lea eax, [esi + 1]
push eax
push esi
call fcn.004241c0
add esp, 0xc
jmp 0x4073a0
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x407381
push 0x208
push 0
push ebx
call fcn.00423b10
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x104
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x108]
pop edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407450
test dl, dl
je 0x40744c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407450
add eax, 2
add ecx, 2
test dl, dl
jne 0x407430
xor eax, eax
jmp 0x407455
sbb eax, eax
or eax, 1
test eax, eax
je 0x40745e
xor eax, eax
mov word [ebx], ax
push 0x20a
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00423b10
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x407498
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4074b8
jmp 0x40749f
cmp eax, 0x105
jae 0x4074b3
lea eax, [ebp - 0x418]
push eax
push ebx
call fcn.004072f0
add esp, 8
test eax, eax
je 0x4074b8
xor eax, eax
mov word [ebx], ax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00422702
mov esp, ebp
pop ebp
ret
Function at 0x4092f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x452004]
xor eax, esp
mov dword [esp + 0x6c], eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0x67452301
mov dword [esp + 0xc], 0xefcdab89
mov dword [esp + 0x10], 0x98badcfe
mov dword [esp + 0x14], 0x10325476
push esi
push edi
test edx, edx
je 0x409365
lea esi, [ebp + 0xc]
nop
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409345
sub eax, edi
lea ecx, [esp + 8]
push eax
call fcn.00405f60
mov edx, dword [esi + 4]
add esi, 4
add esp, 4
test edx, edx
jne 0x409340
lea edx, [esp + 0x64]
lea ecx, [esp + 8]
call fcn.00406040
mov edx, dword [ebp + 8]
lea esi, [esp + 0x64]
mov edi, 0x10
nop
movzx ecx, byte [esi]
lea edx, [edx + 2]
mov eax, ecx
lea esi, [esi + 1]
shr eax, 4
and ecx, 0xf
mov al, byte [eax + str.0123456789abcdef]
mov byte [edx - 2], al
mov cl, byte [ecx + str.0123456789abcdef]
mov byte [edx - 1], cl
sub edi, 1
jne 0x409380
mov ecx, dword [esp + 0x74]
mov eax, dword [ebp + 8]
pop edi
pop esi
xor ecx, esp
mov byte [edx], 0
call fcn.00422702
mov esp, ebp
pop ebp
ret
Function at 0x40ac50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.004423e0
mov eax, dword [0x452004]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x200c], edx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2010], esi
push edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x40ae62
test ebx, ebx
je 0x40ae62
mov eax, dword [edx]
mov edx, dword [edx + 4]
cmp edx, 0x7fffffff
jb 0x40acaa
ja 0x40aca2
cmp eax, 0xffffffff
jbe 0x40acaa
or eax, 0xffffffff
mov edx, closesocket
test esi, esi
jg 0x40acd3
jl 0x40acb4
test edi, edi
jae 0x40acd3
xorps xmm0, xmm0
movlpd qword [ebp - 0x2018], xmm0
mov esi, dword [ebp - 0x2014]
mov edi, dword [ebp - 0x2018]
mov dword [ebp - 0x2010], esi
jmp 0x40ace5
cmp esi, edx
jl 0x40ace5
jg 0x40acdd
cmp edi, eax
jbe 0x40ace5
mov edi, eax
mov dword [ebp - 0x2010], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x201c], ecx
test ecx, ecx
jl 0x40ae62
mov esi, dword [ebp + 0x10]
jg 0x40ad03
test esi, esi
je 0x40ae62
mov ecx, dword [ebp - 0x200c]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
mov dword [ebp - 0x2014], ecx
mov ecx, dword [ebp + 0x14]
je 0x40ad5c
test edx, edx
jl 0x40ad5c
jg 0x40ad23
test eax, eax
je 0x40ad5c
sub eax, edi
sbb edx, dword [ebp - 0x2010]
cmp ecx, edx
jl 0x40ad37
jg 0x40ad35
cmp esi, eax
jbe 0x40ad37
mov esi, eax
mov edx, dword [ebp - 0x2014]
mov ecx, ebx
push esi
lea edx, [edx + edi]
call fcn.00408950
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422702
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x200c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2014], eax
test eax, eax
je 0x40ae62
mov eax, dword [ebp - 0x2010]
test eax, eax
jl 0x40adf4
jg 0x40ad83
test edi, edi
je 0x40adf4
push 0
push eax
push edi
push dword [ebp - 0x2014]
call fcn.0042c53e
add esp, 4
push eax
call fcn.00427ecf
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40adeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00431e66
push eax
push str.send_file_data
push str._s:_fseeko___failed:__s
push ebx
call fcn.00406360
push str.Error:_Unable_to_access_file_at_requested_position.
push 0x44a068
push 0x1f4
push ebx
call fcn.00406f20
add esp, 0x24
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422702
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x200c]
mov eax, 0x2000
test ecx, ecx
ja 0x40ae05
jb 0x40ae03
cmp esi, eax
jae 0x40ae05
mov eax, esi
push dword [edx + 0x10]
push eax
lea eax, [ebp - 0x2008]
push 1
push eax
call fcn.00430089
mov edi, eax
add esp, 0x10
test edi, edi
jle 0x40ae62
push edi
lea edx, [ebp - 0x2008]
mov ecx, ebx
call fcn.00408950
add esp, 4
cmp eax, edi
jne 0x40ae62
mov ecx, dword [ebp - 0x201c]
cdq
add dword [ebx + 0x2c0], eax
adc dword [ebx + 0x2c4], edx
sub esi, eax
sbb ecx, edx
mov edx, dword [ebp - 0x200c]
mov dword [ebp - 0x201c], ecx
test ecx, ecx
jg 0x40adf4
jl 0x40ae62
test esi, esi
jne 0x40adf4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422702
mov esp, ebp
pop ebp
ret