joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1e7a4ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.1e7a2d3a
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a2cef
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x1e7a4d0d
jmp 0x1e7a46cc
cmp dword [ebp - 0x37c], 0
je 0x1e7a4d1b
jmp 0x1e7a4dd0
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
invalid
invalid
invalid
je 0x1e7a4d74
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x1e7a4d79
jmp 0x1e7a46cc
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x1e7a4dc0
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a2d3a
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1e7a2cef
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1e7a4dcb
jmp 0x1e7a4dd0
jmp 0x1e7a46cc
cmp dword [ebp - 0x37c], 0
jne 0x1e7a4e7a
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1e7a2f06
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x1e7a4e66
lea eax, [ebp - 0x714]
push eax
call fcn.1e7a2d3a
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.1e7a2dcf
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]

Function at 0x1e7a7500
Capabilities:
Compare security identifiers

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 4], 0x1e7ba2c0
je 0x1e7a751c
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
ret 8
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp + 8]
cmp ecx, 2
jne 0x1e7a7541
test eax, eax
je 0x1e7a754a
mov eax, dword [sym.imp.python27.dll__Py_TrueStruct]
inc dword [eax]
ret 8
cmp ecx, 3
jne 0x1e7a7554
test eax, eax
je 0x1e7a7537
mov eax, dword [sym.imp.python27.dll__Py_ZeroStruct]
inc dword [eax]
ret 8
mov eax, dword [sym.imp.python27.dll__Py_NotImplementedStruct]
inc dword [eax]
ret 8
Function at 0x1e7ab3a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1e7ba8b8]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x1e7ab3dc
cmp dword [esi + 4], edi
je 0x1e7ab3dc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.python27.dll_PyThreadState_Delete]
mov edx, dword [0x1e7ba8b8]
add esp, 4
push edi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError]
mov dword [sym.pywintypes27.dll_struct__is__PyWin_InterpreterState], edi
cmp eax, edi
je 0x1e7ab402
dec dword [eax]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError]
cmp dword [eax], edi
jne 0x1e7ab402
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push eax
call edx
add esp, 4
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError]
mov dword [sym.pywintypes27.dll_struct__object__PyWinExc_ApiError], edi
cmp eax, edi
je 0x1e7ab428
dec dword [eax]
mov eax, dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError]
cmp dword [eax], edi
jne 0x1e7ab428
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push eax
call edx
add esp, 4
mov dword [sym.pywintypes27.dll_struct__object__PyWinExc_COMError], edi
pop edi
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x6d377180
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x6d38bb70]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x6d3847c4
test eax, eax
je 0x6d3771ea
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x6d37721d
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x6d37721d
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d381820
add ebp, 0x8c
leave
ret
Function at 0x6d3772ae
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x6d38bb70]
xor eax, ebp
mov dword [ebp + 0x90], eax
push ebx
push esi
push edi
push 0x10
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov edi, eax
push 0xe
lea esi, [edi + 2]
push esi
push 0x1004
push dword [ebp + 0x9c]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
mov ebx, 0x6d384844
test eax, eax
je 0x6d377323
push esi
call dword [sym.imp.msvcr100.dll_atoi]
pop ecx
mov ecx, 0x3a8
cmp eax, ecx
jg 0x6d377380
je 0x6d37737d
sub eax, 0
je 0x6d37736e
sub eax, 0x36a
je 0x6d3773a3
sub eax, 0x3a
je 0x6d3773a3
mov word [edi], 0x7043
push str.MS950
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d3773ad
push 1
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
mov word [ebp - 0x7c], 0x41fa
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, 0x92db
cmp word [ebp - 0x80], ax
jne 0x6d377434
push str.MS950_HKSCS_XP
jmp 0x6d37742c
push str.UTF_8
push edi
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
jmp 0x6d377328
push ebx
jmp 0x6d377373
cmp eax, 0x3b5
jl 0x6d377323
cmp eax, 0x3b6
jle 0x6d3773a3
cmp eax, 0x551
je 0x6d3773a3
cmp eax, 0xd698
jne 0x6d377323
push str.GB18030
jmp 0x6d377373
mov word [edi], 0x534d
jmp 0x6d377328
push ebx
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d377434
push 0xd698
call dword [sym.imp.kernel32.dll_IsValidCodePage]
test eax, eax
je 0x6d377434
push 0x105
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x6d377434
mov esi, str.FONTSSimSun18030.ttc
push esi
call sub.msvcr100.dll_strlen
mov ebx, eax
lea eax, [ebp - 0x78]
push eax
call sub.msvcr100.dll_strlen
add ebx, eax
pop ecx
pop ecx
cmp ebx, 0x105
jae 0x6d377434
lea eax, [ebp - 0x78]
push esi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x78]
push 0x6d384800
push eax
call dword [sym.imp.msvcr100.dll_fopen]
add esp, 0x10
test eax, eax
je 0x6d377434
push eax
call dword [sym.imp.msvcr100.dll_fclose]
mov dword [esp], str.GB18030
push edi
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
mov ecx, dword [ebp + 0x90]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d381820
add ebp, 0x94
leave
ret
Function at 0x6d37745b
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x6d38bb70]
xor eax, ebp
mov dword [ebp + 0x198], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
mov dword [ebp - 0x7c], 0x105
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d3774f3
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x6d384848
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d3774f3
cmp dword [ebp - 0x80], 1
jne 0x6d3774f3
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d3774f3
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.msvcr100.dll__wcsdup]
pop ecx
jmp 0x6d3774f5
xor eax, eax
mov ecx, dword [ebp + 0x198]
xor ecx, ebp
call fcn.6d381820
add ebp, 0x19c
leave
ret

Function at 0x6d37750a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x6d38bb70]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x80], 0
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x6d37753f
xor eax, eax
jmp 0x6d377574
xor eax, eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x7c]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d377569
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.msvcr100.dll__wcsdup]
pop ecx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.6d381820
add ebp, 0x194
leave
ret
Function at 0x6d3788d9
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d38bb70]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [ebp + 0xa8]
push edi
xor edi, edi
push edi
push eax
push esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], edi
call fcn.6d37dc10
push eax
push esi
call fcn.6d378891
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x74], esi
cmp esi, edi
je 0x6d378976
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x6d37894d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x104
push 0x6d384e94
push esi
push edi
jmp 0x6d378970
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strrchr]
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push 0x104
mov byte [eax], 0
push 0x6d384e94
inc eax
push eax
push esi
call dword [sym.imp.kernel32.dll_SearchPathA]
lea eax, [ebp - 0x68]
push edi
push eax
call dword [sym.imp.msvcr100.dll__open]
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jle 0x6d3789f9
mov esi, dword [sym.imp.msvcr100.dll__read]
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
add esp, 0xc
cmp byte [ebp - 0x6c], 0x4d
jne 0x6d3789ee
cmp byte [ebp - 0x6b], 0x5a
jne 0x6d3789ee
push edi
mov edi, dword [sym.imp.msvcr100.dll__lseek]
push 0x3c
push ebx
call edi
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
movzx eax, byte [ebp - 0x6b]
movzx ecx, byte [ebp - 0x6c]
shl eax, 8
push 0
or eax, ecx
push eax
push ebx
call edi
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
add esp, 0x30
cmp byte [ebp - 0x6c], 0x50
jne 0x6d3789ee
cmp byte [ebp - 0x6b], 0x45
jne 0x6d3789ee
mov dword [ebp - 0x70], 8
push ebx
call dword [sym.imp.msvcr100.dll__close]
mov esi, dword [ebp - 0x74]
pop ecx
push esi
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov ecx, dword [ebp + 0x9c]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d381820
add ebp, 0xa0
leave
ret
Function at 0x6d37933b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
mov byte [ebp - 1], 0
je 0x6d3793cf
cmp dword [ebp + 0x14], 1
je 0x6d3793cf
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x6d379378
push dword [0x6d38bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d379381
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d3793c7
push edi
push ebx
push esi
call fcn.6d37dc10
mov edi, eax
test edi, edi
je 0x6d3793c7
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d3793bf
cmp byte [ebp + 0x18], 0
je 0x6d3793ac
and eax, 0xfffffffe
jmp 0x6d3793af
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d3793bf
mov byte [ebp - 1], 1
push edi
push ebx
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
jmp 0x6d3793d2
mov al, byte [ebp + 0x18]
leave
ret 0x18

Function at 0x6d37953a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x6d379550
push ebx
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d3795c3
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d37dc10
mov esi, eax
cmp esi, ebx
je 0x6d3795c2
push edi
push esi
call sub.jvm.dll__JVM_NativePath_4
push 0x1b6
push 0x502
push esi
call sub.jvm.dll__JVM_Open_12
cmp eax, ebx
jge 0x6d3795ad
cmp eax, 0xffffff9c
je 0x6d3795b5
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d37959b
test al, 0x10
jne 0x6d3795b5
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x6d3795b5
push eax
call sub.jvm.dll__JVM_Close_4
mov bl, 1
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 0xc
Function at 0x6d3795ca
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 1], 0
cmp dword [ebp + 0x10], esi
je 0x6d3795f7
push dword [0x6d38bc9c]
mov eax, dword [edi]
push dword [ebp + 0x10]
push edi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, esi
jne 0x6d379600
push esi
push edi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d379651
push esi
push ebx
push edi
call fcn.6d37dc10
mov esi, eax
test esi, esi
je 0x6d379651
push esi
call sub.jvm.dll__JVM_NativePath_4
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d379649
push esi
test al, 0x10
je 0x6d379636
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
jmp 0x6d37963c
call dword [sym.imp.kernel32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d379649
mov byte [ebp - 1], 1
push esi
push ebx
push edi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x6d3799d1
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov byte [ebp - 1], 0
cmp dword [ebp + 0x10], edi
je 0x6d3799fe
push dword [0x6d38bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d379a07
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d379a42
push edi
push ebx
push esi
call fcn.6d37dc10
mov edi, eax
test edi, edi
je 0x6d379a42
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d379a3a
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d379a3a
mov byte [ebp - 1], 1
push edi
push ebx
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x6d379abb
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 0x10], ebx
je 0x6d379ae9
push dword [0x6d38bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x6d379af3
push 0
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d379b52
push 0
push eax
push esi
call fcn.6d37dc10
mov dword [ebp + 0x10], eax
test eax, eax
je 0x6d379b52
push eax
call sub.jvm.dll__JVM_NativePath_4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x6d379b46
mov eax, dword [ebp + 0x14]
sub eax, 0
je 0x6d379b40
dec eax
je 0x6d379b38
dec eax
jne 0x6d379b46
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
jmp 0x6d379b46
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
jmp 0x6d379b46
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
leave
ret 0x10

Function at 0x6d37a246
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [0x6d38bca0]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.6d3753cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d37a267
xor al, al
jmp 0x6d37a298
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.6d37dc10
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x6d37a2a7
mov eax, dword [esp + 0x18]
dec eax
je 0x6d37a295
dec eax
je 0x6d37a29c
dec eax
dec eax
jne 0x6d37a2a7
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x6d37a297
test al, bl
je 0x6d37a297
xor al, al
jmp 0x6d37a297

Function at 0x6d37a2ab
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x6d37a34d
cmp dword [ebp + 0x14], 1
je 0x6d37a34d
push dword [0x6d38bca0]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d3753cb
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x6d37a2e6
xor al, al
jmp 0x6d37a350
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
mov ebx, dword [sym.imp.msvcr100.dll_free]
cmp eax, 0xffffffff
je 0x6d37a342
test eax, 0x400
je 0x6d37a31b
push edi
call fcn.6d379bba
pop ecx
mov dword [ebp + 0x14], eax
test eax, eax
je 0x6d37a342
push edi
call ebx
mov edi, dword [ebp + 0x14]
pop ecx
push edi
call esi
cmp eax, 0xffffffff
je 0x6d37a342
test al, 0x10
jne 0x6d37a342
cmp byte [ebp + 0x18], 0
je 0x6d37a32f
and eax, 0xfffffffe
jmp 0x6d37a332
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x6d37a342
mov byte [ebp - 1], 1
push edi
call ebx
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
jmp 0x6d37a350
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18
Function at 0x6d37a4a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor esi, esi
push esi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d37dc10
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x6d37a4c7
xor al, al
jmp 0x6d37a536
push esi
push 0x200080
push 1
push esi
push 3
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6d37a525
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 0x50
je 0x6d37a51b
cmp esi, 0xb7
je 0x6d37a51b
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6d37a51b
push esi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d37a4c3
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x6d37a53b
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x6d38bca0]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d3753cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d37a55f
xor al, al
jmp 0x6d37a59f
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6d37a595
push esi
test al, 0x10
je 0x6d37a584
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x6d37a58a
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d37a595
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x6d37a846
Capabilities:
Create directory

Disassembly:
push esi
push dword [0x6d38bca0]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.6d3753cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d37a867
xor al, al
jmp 0x6d37a881
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
test edi, edi
pop ecx
setne al
pop edi
pop esi
ret 0xc

Function at 0x6d37a885
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push dword [0x6d38bca0]
xor bl, bl
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.6d3753cb
push dword [0x6d38bca0]
mov esi, eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.6d3753cb
add esp, 0x18
mov edi, eax
test esi, esi
je 0x6d37a8e1
test edi, edi
je 0x6d37a8e1
push edi
push esi
call dword [sym.imp.msvcr100.dll__wrename]
pop ecx
pop ecx
test eax, eax
jne 0x6d37a8cf
inc bl
push esi
mov esi, dword [sym.imp.msvcr100.dll_free]
call esi
push edi
call esi
pop ecx
pop ecx
mov al, bl
jmp 0x6d37a8e3
xor al, al
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x6d37a983
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ecx
push esi
push dword [0x6d38bca0]
mov byte [esp + 0xb], 0
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d3753cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d37a9aa
xor al, al
jmp 0x6d37aa06
push ebx
push edi
mov edi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push esi
call edi
mov ebx, dword [sym.imp.msvcr100.dll_free]
cmp eax, 0xffffffff
je 0x6d37a9fc
push ebp
test eax, 0x400
je 0x6d37a9de
push esi
call fcn.6d379bba
mov ebp, eax
pop ecx
test ebp, ebp
je 0x6d37a9fb
push esi
call ebx
pop ecx
push ebp
mov esi, ebp
call edi
cmp eax, 0xffffffff
je 0x6d37a9fb
test al, 0x10
jne 0x6d37a9fb
or eax, 1
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x6d37a9fb
mov byte [esp + 0x13], 1
pop ebp
push esi
call ebx
mov al, byte [esp + 0x13]
pop ecx
pop edi
pop ebx
pop esi
pop ecx
ret 0xc