joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6102f4b0
Capabilities:
Create mailslot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
xor edi, edi
mov eax, esi
mov dword [ebp - 0xc], ebx
and eax, 3
mov ebx, dword [ebp + 8]
je 0x6102f508
dec eax
je 0x6102f580
test byte [0x6110a820], 1
jne 0x6102f620
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 0x16
mov dword [eax], 0x16
mov ebx, dword [ebp - 0xc]
mov eax, edi
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, 0x6110742c
lea edx, [ebx + 0x90]
mov dword [esp + 0xc], eax
mov eax, esi
shr eax, 0xe
mov dword [esp], edx
and al, 1
cmp al, 1
sbb eax, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
call sub.KERNEL32.dll_CreateMailslotA
sub esp, 0x10
cmp eax, 0xffffffff
mov edx, 0x57
je 0x6102f60d
mov dword [ebx + 0x10], eax
mov ecx, 0x10000
mov edi, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call method.fhandler_base.set_flags_int__int_
movzx eax, word [ebx + 4]
mov word [ebx + 8], ax
mov eax, edi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
cmp ebx, dword [0x61147d80]
je 0x6102f5bb
test byte [0x6110a820], 1
jne 0x6102f667
call sym.cygwin1.dll___errno
mov edx, dword [sym.cygwin1.dll__impure_ptr]
mov dword [edx], 1
mov dword [eax], 1
mov ebx, dword [ebp - 0xc]
mov eax, edi
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [0x611630ec]
xor ecx, ecx
lea edx, [ebx + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov ecx, 3
mov dword [esp + 0x10], ecx
mov ecx, 0x6110742c
mov dword [esp + 8], eax
mov eax, 0x40000000
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_CreateFileA
sub esp, 0x1c
cmp eax, 0xffffffff
jne 0x6102f545
mov edx, 0x6d
mov eax, str._ext_build_netrel_src_cygwin_1.5.24_2_winsup_cygwin_fhandler_mailslot.cc
call sym.__Z8seterrnoPKci_8
jmp 0x6102f56a
mov dword [esp], 0x6110a820
mov eax, 0x76
mov edx, 0x16
mov dword [esp + 0x14], eax
mov eax, str.virtual_int_fhandler_mailslot::open_int__mode_t_
mov dword [esp + 0x10], eax
mov eax, 0x6111eae1
mov dword [esp + 0xc], eax
mov eax, 0x6111ea70
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 0x18], edx
mov dword [esp + 4], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6102f4e2
mov dword [esp], 0x6110a820
mov eax, 1
mov esi, 0x6111ea70
mov dword [esp + 0x18], eax
mov eax, 0x66
mov ebx, 0x40
mov dword [esp + 0x14], eax
mov eax, str.virtual_int_fhandler_mailslot::open_int__mode_t_
mov dword [esp + 0x10], eax
mov eax, 0x6111eae1
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6102f595
Function at 0x61043070
Capabilities:
Check mutex on windows

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 0x13c
lea ebx, [esp + 0x20]
mov dword [esp + 8], eax
mov eax, str.mtinfo_mutex
mov ebp, dword [esp + 0x150]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.__Z11shared_namePcPKci_12
sub esp, 0xc
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], 0x61107408
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x61043199
mov dword [esp], edi
mov eax, 0xffffffff
mov dword [esp + 4], eax
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [ebp]
sub esp, 8
test eax, eax
jne 0x61043132
mov dword [ebp], 0x179b2af0
xor esi, esi
lea ebx, [ebp + 8]
mov dword [ebp + 4], 2
mov dword [esp + 4], esi
mov ebp, 1
inc esi
mov dword [esp], ebx
add ebx, 0x570
mov dword [esp + 8], ebp
call method.mtinfo_drive.initialize_int__bool_
cmp esi, 7
jbe 0x610430f0
mov dword [esp], edi
call sub.KERNEL32.dll_ReleaseMutex
sub esp, 4
mov dword [esp], edi
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call sub.KERNEL32.dll_ReleaseMutex
sub esp, 4
mov dword [esp], edi
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp]
sub esp, 4
cmp eax, 0x179b2af0
jne 0x610431a9
mov eax, dword [ebp + 4]
cmp eax, 2
je 0x61043127
mov dword [esp + 0x10], eax
mov edi, 2
mov esi, str.MT_version_number_mismatch:__lu__should_be__lu
mov dword [esp + 0x14], edi
mov ebx, 0x61121fd8
mov ecx, 0x8000
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], str.CreateMutex__s___E.__Terminating.
call sym.___api_fatal
mov dword [esp + 4], eax
mov edx, 0x179b2af0
mov dword [esp + 8], edx
mov dword [esp], str.MT_magic_number_screwed_up:__lu__should_be__lu
call sym.___api_fatal
lea esi, [esi]
lea edi, [edi]
Function at 0x610517b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
movzx eax, byte [esp + 0x34]
test al, al
mov byte [esp + 0x1b], al
jne 0x61051833
cmp byte [0x611401a4], 0
je 0x61051833
mov edx, dword [0x611401a8]
xor ecx, ecx
cmp edx, 0
mov dword [esp + 0x10], edx
jle 0x61051829
mov eax, dword [0x61140010]
mov edx, eax
mov dword [esp + 0x14], eax
lea esi, [esi]
mov ebp, ecx
mov esi, dword [edx]
mov edi, ebx
shl ebp, 4
cld
and eax, 0xff
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x6105180e
xor al, byte [eax + 0x61106b3c]
cmp al, byte [edi - 1]
jne 0x61051819
test al, al
jne 0x610517ff
mov eax, 1
jmp 0x6105181b
xor eax, eax
test eax, eax
jne 0x61051851
inc ecx
add edx, 0x10
cmp dword [esp + 0x10], ecx
jg 0x610517f0
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0xffffffff
mov eax, 0x6110652c
call method.muto.acquire_unsigned_long_
dec eax
je 0x61051861
mov eax, 0x6110652c
call method.muto.release__
jmp 0x610517d1
mov edx, dword [esp + 0x14]
add esp, 0x1c
pop ebx
lea eax, [ebp + edx]
pop esi
pop edi
pop ebp
ret
cmp byte [0x611401a4], 0
je 0x61051882
cmp byte [esp + 0x1b], 0
je 0x61051845
mov eax, dword [0x61140038]
mov dword [esp], eax
call method.etc.file_changed_int_
test al, al
je 0x61051845
mov edx, dword [0x61140028]
test dl, 1
jne 0x610518a0
mov ecx, dword [0x6114002c]
lea eax, [ecx + 0x61140020]
mov dword [esp], eax
call edx
jmp 0x61051845
mov ecx, dword [0x6114002c]
mov eax, dword [ecx + 0x61140020]
mov edx, dword [eax + edx - 1]
jmp 0x61051893
Function at 0x610583a0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
sub esp, 0x1c
xor ebx, ebx
nop
mov dword [esp + 8], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call sub.KERNEL32.dll_CreatePipe
sub esp, 0x10
test eax, eax
jne 0x61058401
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xe7
jne 0x610583f5
cmp ebx, 8
jg 0x610583f5
mov dword [esp], 0xa
inc ebx
call sub.KERNEL32.dll_Sleep
sub esp, 4
cmp ebx, 9
jle 0x610583b0
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 4
add esp, 0x1c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x61060910
Capabilities:
Get hostname

Disassembly:
push esi
push ebx
sub esp, 0x114
mov ebx, dword [esp + 0x120]
mov dword [esp], 0
mov esi, dword [esp + 0x124]
call sym.__Z20sig_dispatch_pendingb_4
mov edx, dword fs:[4]
sub esp, 4
lea ecx, [esp + 0x30]
sub edx, 0x319c
mov eax, dword [edx + 0xc30]
mov dword [esp + 0x100], eax
mov eax, dword [edx + 0xc34]
mov dword [edx + 0xc30], ecx
mov dword [esp + 0x104], eax
mov eax, 0xe
mov dword [edx + 0xc34], eax
mov dword [esp], ecx
call sym.___sjfault
test eax, eax
jne 0x610609fa
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.610fe948
sub esp, 8
test eax, eax
jne 0x610609d0
test byte [0x6110a820], 1
jne 0x61060a26
mov edx, dword fs:[4]
mov eax, dword [esp + 0x100]
sub edx, 0x319c
mov dword [edx + 0xc30], eax
mov eax, dword [esp + 0x104]
mov dword [edx + 0xc34], eax
xor eax, eax
add esp, 0x114
pop ebx
pop esi
ret
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_GetComputerNameA
sub esp, 8
test eax, eax
jne 0x61060990
mov edx, 0x368
mov eax, str.cygwin_gethostname
call sym.__set_winsock_errno_char_const__int_
mov eax, dword fs:[4]
mov edx, dword [esp + 0x100]
sub eax, 0x319c
mov dword [eax + 0xc30], edx
mov edx, dword [esp + 0x104]
mov dword [eax + 0xc34], edx
mov eax, 0xffffffff
jmp 0x610609c6
mov dword [esp + 0x10], ebx
mov eax, str.name__s
mov dword [esp + 0xc], eax
mov eax, str.int_cygwin_gethostname_char__size_t_
mov dword [esp + 8], eax
mov eax, 0x40
mov dword [esp + 4], eax
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x6106099d
Function at 0x61064ae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
sub esp, 0x240
mov eax, dword [0x611630ec]
test byte [eax + 0x10], 1
je 0x61064ba3
mov ecx, 0x104
lea ebx, [ebp - 0x118]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.KERNEL32.dll_GetSystemDirectoryA
sub esp, 8
xor edx, edx
test eax, eax
je 0x61064c1d
mov dword [esp], ebx
call sym.cygwin1.dll__strlen
mov edx, 0x6972645c
mov ecx, 0x73726576
mov dword [ebp + eax - 0x118], edx
mov edx, 0x6374655c
mov dword [ebx + eax + 4], ecx
mov dword [ebx + eax + 8], edx
mov word [ebx + eax + 0xc], 0x5c
mov dword [esp + 4], esi
lea esi, [ebp - 0x228]
mov dword [esp], ebx
call sym.cygwin1.dll__strcat
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._cygwin_conv_to_full_posix_path
test byte [0x6110a820], 1
jne 0x61064c58
mov dword [esp], esi
mov ebx, 0x61127054
mov dword [esp + 4], ebx
call sym._fopen_1
test byte [0x6110a820], 1
mov ebx, eax
jne 0x61064c26
mov edx, ebx
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov ecx, 0x104
lea ebx, [ebp - 0x118]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sub.KERNEL32.dll_GetWindowsDirectoryA
sub esp, 8
xor edx, edx
test eax, eax
je 0x61064c1d
mov dword [esp], ebx
call sym.cygwin1.dll__strlen
mov edx, 0x5c
mov word [ebp + eax - 0x118], dx
mov dword [esp + 4], esi
lea esi, [ebp - 0x228]
mov dword [esp], ebx
call sym.cygwin1.dll__strcat
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._cygwin_conv_to_full_posix_path
test byte [0x6110a820], 1
jne 0x61064c58
mov dword [esp], esi
mov eax, 0x61127054
mov dword [esp + 4], eax
call sym._fopen_1
test byte [0x6110a820], 1
mov ebx, eax
mov edx, eax
jne 0x61064c26
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov edx, str.FILE_open_system_file_const_char_
mov ecx, str.handle_to_netdb_file__p
mov dword [esp + 8], edx
mov eax, 0x40
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
mov edx, ebx
jmp 0x61064b9a
mov dword [esp + 0x10], ebx
mov eax, str.netdb_file_to_open__s
mov ebx, 0x40
mov dword [esp + 0xc], eax
mov eax, str.FILE_open_system_file_const_char_
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x6110a820
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61064b78
Function at 0x61066510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
movzx eax, byte [esp + 0x34]
test al, al
mov byte [esp + 0x1b], al
jne 0x61066593
cmp byte [0x6114478c], 0
je 0x61066593
mov edx, dword [0x61144790]
xor ecx, ecx
cmp edx, 0
mov dword [esp + 0x10], edx
jle 0x61066589
mov eax, dword [0x61144600]
mov edx, eax
mov dword [esp + 0x14], eax
lea esi, [esi]
mov ebp, ecx
mov edi, dword [edx]
mov esi, ebx
shl ebp, 5
cld
and eax, 0xff
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x6106656e
xor al, byte [eax + 0x61106b3c]
cmp al, byte [edi - 1]
jne 0x61066579
test al, al
jne 0x6106655f
mov eax, 1
jmp 0x6106657b
xor eax, eax
test eax, eax
jne 0x610665b1
inc ecx
add edx, 0x20
cmp dword [esp + 0x10], ecx
jg 0x61066550
add esp, 0x1c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 0xffffffff
mov eax, 0x6110652c
call method.muto.acquire_unsigned_long_
dec eax
je 0x610665c1
mov eax, 0x6110652c
call method.muto.release__
jmp 0x61066531
mov edx, dword [esp + 0x14]
add esp, 0x1c
pop ebx
lea eax, [ebp + edx]
pop esi
pop edi
pop ebp
ret
cmp byte [0x6114478c], 0
je 0x610665e2
cmp byte [esp + 0x1b], 0
je 0x610665a5
mov eax, dword [0x61144620]
mov dword [esp], eax
call method.etc.file_changed_int_
test al, al
je 0x610665a5
mov edx, dword [0x61144610]
test dl, 1
jne 0x61066600
mov ecx, dword [0x61144614]
lea eax, [ecx + 0x61144608]
mov dword [esp], eax
call edx
jmp 0x610665a5
mov ecx, dword [0x61144614]
mov eax, dword [ecx + 0x61144608]
mov edx, dword [eax + edx - 1]
jmp 0x610665f3

Function at 0x61067020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], esi
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 4], edi
mov edi, edx
cmp dword [0x61144e38], 2
je 0x61067070
cld
and eax, 0xff
dec ecx
js 0x61067058
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x61067054
xor al, byte [eax + 0x61106b3c]
cmp al, byte [edi - 1]
jne 0x6106705f
test al, al
jne 0x61067042
mov eax, 1
jmp 0x61067061
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.cygwin1.dll__strncmp
test eax, eax
mov esi, dword [ebp - 8]
sete al
mov edi, dword [ebp - 4]
mov esp, ebp
movzx eax, al
pop ebp
ret

Function at 0x61067180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], esi
mov esi, eax
mov dword [ebp - 4], edi
mov edi, edx
cmp dword [0x61144e38], 2
je 0x610671c5
cld
and eax, 0xff
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x610671ae
xor al, byte [eax + 0x61106b3c]
cmp al, byte [edi - 1]
jne 0x610671b9
test al, al
jne 0x6106719f
mov eax, 1
jmp 0x610671bb
xor eax, eax
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.cygwin1.dll__strcmp
test eax, eax
mov esi, dword [ebp - 8]
sete al
mov edi, dword [ebp - 4]
mov esp, ebp
movzx eax, al
pop ebp
ret
Function at 0x610682b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], eax
cmp edx, 0
mov dword [ebp - 0x20], edx
lea esi, [esi]
jle 0x61068336
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
imul eax, dword [edx + ecx*4 + 0x3f6c], 0x214
lea esi, [eax + edx]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
mov eax, 0x2f
lea edi, [esi + 0x110]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.cygwin1.dll__strrchr
test eax, eax
mov edx, eax
je 0x61068380
cmp edi, eax
je 0x61068390
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sub eax, 0x108
cmp eax, ebx
je 0x61068341
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
jg 0x610682e2
mov eax, dword [ebp - 0x14]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov ecx, ebx
cld
and eax, 0xff
dec ecx
js 0x61068362
lodsb al, byte [esi]
scasb al, byte es:[edi]
je 0x6106835e
xor al, byte [eax + 0x61106b3c]
cmp al, byte [edi - 1]
jne 0x61068369
test al, al
jne 0x6106834c
mov eax, 1
jmp 0x6106836b
xor eax, eax
test eax, eax
je 0x61068380
lea eax, [edx + 1]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], eax
inc edx
mov dword [ebp - 0x14], edx
nop
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x20], edx
jmp 0x610682e0
cmp ebx, 1
jne 0x61068380
mov ecx, dword [ebp - 0x1c]
lea eax, [esi + 0x111]
cmp dword [ecx + 0x20c], 1
jg 0x61068372
inc dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
cmp dword [ebp - 0x20], edx
jmp 0x610682e0
Function at 0x610696a0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test eax, eax
js 0x6106976b
cmp dword [edx + 4], eax
jg 0x6106974c
mov edx, dword fs:[4]
mov esi, 1
mov ebx, 0x61
mov eax, dword [edx - 0x29ec]
test eax, eax
je 0x61069742
lea edi, [ebp - 0x12c]
lea esi, [esi]
lea edi, [edi]
test esi, eax
jne 0x610696fc
inc ebx
add esi, esi
cmp ebx, 0x7a
jbe 0x610696f0
mov dword [esp], edi
mov eax, str._c:_
lea edi, [ebp - 0x12c]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sym.___small_sprintf
mov dword [esp], edi
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
inc eax
jne 0x610697a4
mov edx, dword fs:[4]
mov eax, esi
not eax
mov ecx, dword [edx - 0x29ec]
and eax, ecx
test eax, eax
mov dword [edx - 0x29ec], eax
jne 0x61069790
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
imul eax, dword [edx + eax*4 + 0x3fe4], 0x214
lea eax, [eax + edx + 8]
mov dword [esp], eax
call method.mount_item.getmntent__
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword fs:[4]
mov esi, 1
mov ebx, 0x61
lea edi, [ebp - 0x12c]
mov eax, dword [edx - 0x29ec]
test eax, eax
je 0x61069742
lea esi, [esi]
cmp ebx, 0x7a
ja 0x610696fc
mov eax, dword [edx - 0x29ec]
jmp 0x610696f0
mov byte [ebp - 0x12a], 0
mov dword [esp + 0xc], ebx
mov eax, dword [0x61107518]
lea ebx, [ebp - 0x128]
mov dword [esp], ebx
add eax, 0xa460
mov dword [esp + 8], eax
mov eax, str._s_c
mov dword [esp + 4], eax
call sym.___small_sprintf
mov eax, dword [0x61107518]
mov edx, ebx
mov ecx, dword [eax + 0xa568]
lea eax, [ebp - 0x12c]
call sym.fillout_mntent_char_const__char_const__unsigned_int_
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x61069ad0
Capabilities:
Get disk information

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push ebx
sub esp, 4
mov ebx, dword fs:[4]
mov dword [ebx - 0x29f0], ecx
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [ebx - 0x29ec], eax
mov eax, dword fs:[4]
mov eax, dword [eax - 0x29ec]
test al, 1
jne 0x61069b10
test al, 2
jne 0x61069b30
mov eax, dword [ebp + 8]
pop edx
pop ebx
pop ebp
ret
mov dword [esp], 0x611279e0
call sym.is_floppy_char_const_
test al, al
jne 0x61069b54
mov eax, dword fs:[4]
test byte [eax - 0x29ec], 2
je 0x61069b05
nop
mov dword [esp], 0x611279e3
call sym.is_floppy_char_const_
test al, al
je 0x61069b05
mov eax, dword fs:[4]
and dword [eax - 0x29ec], 0xfffffffd
mov eax, dword [ebp + 8]
pop edx
pop ebx
pop ebp
ret
mov eax, dword fs:[4]
and dword [eax - 0x29ec], 0xfffffffe
jmp 0x61069b26
Function at 0x61069c00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
test byte [eax + 0x114], 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
je 0x61069ca0
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.KERNEL32.dll_GetFileSize
sub esp, 8
cmp eax, 0x2000
mov ebx, eax
ja 0x61069ca0
lea eax, [eax + 0x1e]
and eax, 0xfffffff0
call sym.cygwin1.dll__alloca
mov dword [esp + 8], ebx
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x23]
and ecx, 0xfffffff0
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sub.KERNEL32.dll_ReadFile
sub esp, 0x14
test eax, eax
je 0x61069dc5
cmp dword [ebp - 0x10], ebx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
je 0x61069d10
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x110]
test dl, 0x50
jne 0x61069cf0
xor ecx, ecx
cmp dword [ebp - 0x10], 1
jle 0x61069ce0
movzx eax, byte [ebp - 0x14]
cmp al, 0x23
je 0x61069d87
cmp al, 0x3a
je 0x61069dbf
cmp al, 0x4d
je 0x61069d9b
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x61069cf0
mov ecx, dword [ebp - 0x1c]
or edx, 0x10
mov dword [ecx + 0x110], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp], ecx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x20]
xor ebx, ebx
cmp dword [edi], 0x4c
je 0x61069dde
test bl, bl
je 0x61069ca0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
add edx, 0x4c
test byte [eax + 0x14], 1
jne 0x61069db2
movzx eax, word [edx]
test ax, ax
movzx ebx, ax
je 0x61069ca0
cmp bx, 0x103
ja 0x61069ca0
mov dword [esp + 8], ebx
add edx, 2
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call sym.cygwin1.dll__strncpy
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
mov byte [ecx + ebx], 0
mov dword [ebp - 0x18], ebx
je 0x61069cf0
mov eax, 0x1000001
mov dword [ecx + 0x110], eax
jmp 0x61069cf0
cmp byte [ebp - 0x13], 0x21
jne 0x61069cca
mov ecx, 1
jmp 0x61069ce0
lea eax, [ebp - 0x14]
cmp byte [eax + 1], 0x5a
jne 0x61069ce0
mov ecx, 1
jmp 0x61069ce0
movzx eax, word [eax + 0x4c]
lea edx, [eax + edx + 2]
jmp 0x61069d35
cmp byte [ebp - 0x13], 0xa
jmp 0x61069da2
mov esi, dword [ebp - 0x1c]
mov eax, 5
mov dword [esp + 4], eax
mov dword [esp], esi
call method.symlink_info.set_error_int_
jmp 0x61069cf0
cld
mov eax, dword [ebp - 0x20]
mov edx, 0x61127690
mov ecx, 0x10
mov edi, edx
add eax, 4
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x61069d1e
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x14]
and eax, 0xfffffffe
cmp eax, 0xc
jne 0x61069d1e
cmp dword [edx + 0x3c], 1
jne 0x61069d1e
mov ebx, 1
jmp 0x61069d1e
Function at 0x610709f0
Capabilities:
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx ecx, byte [0x611005c0]
mov dword [ebp + 8], 0
mov edx, dword [ebp + 0xc]
pop ebp
jmp sym.symlink_worker_char_const__char_const__bool__bool_
Function at 0x610731d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], al
cmp dword [ebx + 0x1e0], 0xffffffff
je 0x61073210
mov eax, dword [0x61107154]
mov eax, dword [eax + 0x1e0]
test eax, eax
je 0x61073210
mov eax, dword [0x61146334]
test eax, eax
je 0x61073220
nop
lea esi, [esi]
xor eax, eax
cmp dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
leave
setne al
ret
mov dword [esp], ebx
call method._pinfo.sync_proc_pipe__
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 8]
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
lea eax, [ebp - 9]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1e0]
mov dword [esp], eax
call sub.KERNEL32.dll_WriteFile
sub esp, 0x14
test eax, eax
jne 0x61073210
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x6d
je 0x610732a1
test byte [0x6110a820], 1
je 0x61073210
movsx eax, byte [ebp - 9]
mov ebx, str.bool__pinfo::alert_parent_char_
mov dword [esp], 0x6110a820
mov ecx, 0x40
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov eax, str.sending__d_notification_to_parent_failed___E
mov dword [esp + 0xc], eax
call method.strace.prntf_unsigned_int__char_const__char_const__..._
jmp 0x61073210
mov dword [ebx + 0x10], 1
mov eax, dword [ebx + 0x1e0]
mov edx, 0xffffffff
mov dword [ebx + 0x1e0], edx
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
jmp 0x61073210