joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ad1
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4153c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, 0x103
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x10], 0x5e
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0xd], 0x74
mov byte [ebp - 0xc], 0x30
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x2b
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], 0x75
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], bl
mov byte [ebp - 0x218], bl
call sub.MSVCR90.dll_memset
push esi
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call sub.MSVCR90.dll_memset
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call sub.MSVCR90.dll_strlen
mov esi, eax
add esp, 0x1c
xor ecx, ecx
cmp esi, ebx
jle 0x401b7d
mov eax, ecx
and eax, 0x80000001
jns 0x401b72
dec eax
or eax, 0xfffffffe
inc eax
add al, 3
add byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, esi
jl 0x401b64
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push str._s_s
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004018aa
add esp, 0x18
test eax, eax
lea eax, [ebp - 0x114]
je 0x401be3
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push eax
call fcn.00401f4d
add esp, 0xc
jmp 0x401bea
push eax
call fcn.004019cd
pop ecx
test eax, eax
je 0x401bfd
push ebx
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
call dword [edi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040206c
leave
ret

Function at 0x401e32
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0x403360
push dword [esp + 0x10]
xor edi, edi
call dword [sym.imp.MSVCR90.dll_fopen]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x401e70
push esi
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x401e68
inc edi
push esi
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x401e75
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
xor ecx, ecx
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x18], ecx
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ecx
pop edi
je 0x401ec1
mov eax, dword [ebp + 0xc]
mov ecx, 0x200
mul ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, eax
mov eax, ecx
leave
ret

Function at 0x40206c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4153c0]
jne 0x402076
repz ret
jmp fcn.0040253c
Function at 0x1001466a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1001a53f
call fcn.10018cb9
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x1001483e
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10019121
add esp, 0xc
test eax, eax
js 0x10014838
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x10014706
push esi
call fcn.100058ff
pop ecx
test al, al
je 0x10014706
mov eax, esi
call fcn.10018d7b
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10014712
push esi
lea ecx, [ebp - 0x428]
call fcn.10019121
push 3
push esi
push edi
push eax
call fcn.10019121
test eax, eax
je 0x10014838
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x10014746
call fcn.10005ba0
mov esi, eax
jmp 0x1001481d
push dword [ebp - 0x424]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10014769
call fcn.10005ba0
jmp 0x10014814
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x1001475f
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x420], esi
cmp eax, esi
jae 0x10014799
mov esi, 0x8007000e
jmp 0x10014816
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10019121
mov dword [ebp - 4], 1
jmp 0x100147d8
cmp dword [ebp - 0x418], 0
je 0x10014792
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp - 0x418]
call fcn.10019121
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.10019121
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10014858
lea ecx, [ebp - 0x418]
call fcn.100148c1
jmp 0x10014858
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x10014853
lea ecx, [ebp - 0x418]
call fcn.100148c1
mov esi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.10005aa9
mov eax, esi
lea esp, [ebp - 0x444]
call fcn.10018d12
ret 0x10
Function at 0x6d487180
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x6d49bb70]
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, 0x6d4947c4
test eax, eax
je 0x6d4871ea
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 0x6d48721d
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x6d48721d
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.6d491820
add ebp, 0x8c
leave
ret
Function at 0x6d4872ae
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x6d49bb70]
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, 0x6d494844
test eax, eax
je 0x6d487323
push esi
call dword [sym.imp.msvcr100.dll_atoi]
pop ecx
mov ecx, 0x3a8
cmp eax, ecx
jg 0x6d487380
je 0x6d48737d
sub eax, 0
je 0x6d48736e
sub eax, 0x36a
je 0x6d4873a3
sub eax, 0x3a
je 0x6d4873a3
mov word [edi], 0x7043
push str.MS950
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d4873ad
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 0x6d487434
push str.MS950_HKSCS_XP
jmp 0x6d48742c
push str.UTF_8
push edi
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
jmp 0x6d487328
push ebx
jmp 0x6d487373
cmp eax, 0x3b5
jl 0x6d487323
cmp eax, 0x3b6
jle 0x6d4873a3
cmp eax, 0x551
je 0x6d4873a3
cmp eax, 0xd698
jne 0x6d487323
push str.GB18030
jmp 0x6d487373
mov word [edi], 0x534d
jmp 0x6d487328
push ebx
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d487434
push 0xd698
call dword [sym.imp.kernel32.dll_IsValidCodePage]
test eax, eax
je 0x6d487434
push 0x105
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x6d487434
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 0x6d487434
lea eax, [ebp - 0x78]
push esi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x78]
push 0x6d494800
push eax
call dword [sym.imp.msvcr100.dll_fopen]
add esp, 0x10
test eax, eax
je 0x6d487434
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.6d491820
add ebp, 0x94
leave
ret
Function at 0x6d48745b
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x6d49bb70]
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 0x6d4874f3
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 0x6d494848
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x6d4874f3
cmp dword [ebp - 0x80], 1
jne 0x6d4874f3
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 0x6d4874f3
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.msvcr100.dll__wcsdup]
pop ecx
jmp 0x6d4874f5
xor eax, eax
mov ecx, dword [ebp + 0x198]
xor ecx, ebp
call fcn.6d491820
add ebp, 0x19c
leave
ret

Function at 0x6d48750a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x6d49bb70]
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 0x6d48753f
xor eax, eax
jmp 0x6d487574
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 0x6d487569
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.6d491820
add ebp, 0x194
leave
ret
Function at 0x6d4888d9
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d49bb70]
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.6d48e120
push eax
push esi
call fcn.6d488891
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x74], esi
cmp esi, edi
je 0x6d488976
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x6d48894d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x104
push 0x6d494e94
push esi
push edi
jmp 0x6d488970
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 0x6d494e94
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 0x6d4889f9
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 0x6d4889ee
cmp byte [ebp - 0x6b], 0x5a
jne 0x6d4889ee
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 0x6d4889ee
cmp byte [ebp - 0x6b], 0x45
jne 0x6d4889ee
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.6d491820
add ebp, 0xa0
leave
ret
Function at 0x6d48933b
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 0x6d4893cf
cmp dword [ebp + 0x14], 1
je 0x6d4893cf
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x6d489378
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d489381
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d4893c7
push edi
push ebx
push esi
call fcn.6d48e120
mov edi, eax
test edi, edi
je 0x6d4893c7
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d4893bf
cmp byte [ebp + 0x18], 0
je 0x6d4893ac
and eax, 0xfffffffe
jmp 0x6d4893af
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d4893bf
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 0x6d4893d2
mov al, byte [ebp + 0x18]
leave
ret 0x18

Function at 0x6d48953a
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 0x6d489550
push ebx
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d4895c3
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d48e120
mov esi, eax
cmp esi, ebx
je 0x6d4895c2
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 0x6d4895ad
cmp eax, 0xffffff9c
je 0x6d4895b5
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d48959b
test al, 0x10
jne 0x6d4895b5
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x6d4895b5
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 0x6d4895ca
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 0x6d4895f7
push dword [0x6d49bc9c]
mov eax, dword [edi]
push dword [ebp + 0x10]
push edi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, esi
jne 0x6d489600
push esi
push edi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489651
push esi
push ebx
push edi
call fcn.6d48e120
mov esi, eax
test esi, esi
je 0x6d489651
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 0x6d489649
push esi
test al, 0x10
je 0x6d489636
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
jmp 0x6d48963c
call dword [sym.imp.kernel32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d489649
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 0x6d4899d1
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 0x6d4899fe
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d489a07
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489a42
push edi
push ebx
push esi
call fcn.6d48e120
mov edi, eax
test edi, edi
je 0x6d489a42
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d489a3a
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d489a3a
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 0x6d489abb
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 0x6d489ae9
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x6d489af3
push 0
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489b52
push 0
push eax
push esi
call fcn.6d48e120
mov dword [ebp + 0x10], eax
test eax, eax
je 0x6d489b52
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 0x6d489b46
mov eax, dword [ebp + 0x14]
sub eax, 0
je 0x6d489b40
dec eax
je 0x6d489b38
dec eax
jne 0x6d489b46
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
jmp 0x6d489b46
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
jmp 0x6d489b46
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 0x6d48a246
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [0x6d49bca0]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a267
xor al, al
jmp 0x6d48a298
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.6d48e120
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x6d48a2a7
mov eax, dword [esp + 0x18]
dec eax
je 0x6d48a295
dec eax
je 0x6d48a29c
dec eax
dec eax
jne 0x6d48a2a7
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x6d48a297
test al, bl
je 0x6d48a297
xor al, al
jmp 0x6d48a297

Function at 0x6d48a2ab
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 0x6d48a34d
cmp dword [ebp + 0x14], 1
je 0x6d48a34d
push dword [0x6d49bca0]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d4853cb
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x6d48a2e6
xor al, al
jmp 0x6d48a350
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 0x6d48a342
test eax, 0x400
je 0x6d48a31b
push edi
call fcn.6d489bba
pop ecx
mov dword [ebp + 0x14], eax
test eax, eax
je 0x6d48a342
push edi
call ebx
mov edi, dword [ebp + 0x14]
pop ecx
push edi
call esi
cmp eax, 0xffffffff
je 0x6d48a342
test al, 0x10
jne 0x6d48a342
cmp byte [ebp + 0x18], 0
je 0x6d48a32f
and eax, 0xfffffffe
jmp 0x6d48a332
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x6d48a342
mov byte [ebp - 1], 1
push edi
call ebx
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
jmp 0x6d48a350
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18
Function at 0x6d48a4a8
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.6d48e120
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x6d48a4c7
xor al, al
jmp 0x6d48a536
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 0x6d48a525
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 0x50
je 0x6d48a51b
cmp esi, 0xb7
je 0x6d48a51b
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6d48a51b
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 0x6d48a4c3
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 0x6d48a53b
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x6d49bca0]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a55f
xor al, al
jmp 0x6d48a59f
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6d48a595
push esi
test al, 0x10
je 0x6d48a584
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x6d48a58a
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d48a595
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc