joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454994
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4549ab
add esp, 0xfffffff0
call fcn.0040345c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004196dc
mov eax, dword [0x45a014]
cmp word [eax + 2], 0
jne 0x4549d3
mov eax, dword [0x45a014]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045606c
mov eax, dword [0x45a0c0]
cmp word [eax + 2], 0
jne 0x4549ed
mov eax, dword [0x45a0c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456264
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4119d4]
call fcn.00403108
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4119d4]
call fcn.00403108
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bc18]
call fcn.00423154
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454b74
mov eax, dword [0x459f38]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423524
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456804
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459f38]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c444
test eax, eax
je 0x454ae2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083e0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c46c
test eax, eax
je 0x454af6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040f8
mov eax, dword [0x459e24]
cmp byte [eax], 0
jne 0x454b2a
mov eax, ebx
call fcn.00454c9c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004569e0
mov eax, ebx
call fcn.004573a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454b6a
call fcn.004034b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454f1c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45bbdc]
cmp dword [eax + 0x30], 0
je 0x454fc6
cmp dword [ebx + 0x94], 0
jne 0x454fc0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454eac
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454fc0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454f86
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454fc0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413d3c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454f95
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455b28
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455b5d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f78
jmp 0x455b6a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403edc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456bbc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456bfd
mov eax, esi
call fcn.0043d360
test al, al
je 0x456bfd
mov eax, dword [ebx + 0x84]
call fcn.0043d05c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456bfd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d05c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43b900
Capabilities:
Encode data using xor

Disassembly:
invalid
in al, 3
jge 0x43b8ea
or ecx, dword [ecx]
and esp, dword [ebx - 0x37]
imul ebx, dword [ebp - 0x65], 0xa9c629a1
test ebp, ebp
scasb al, byte es:[edi]
add edx, dword [edi - 0x5e]
xchg edx, eax
mov edi, 0xf9382bc2
xchg esi, eax
sub ebp, dword [edi + ecx*2]
aas
stosd dword es:[edi], eax
loopne 0x43b928
not byte [ebx]
sar dword [edx + ebx + 0x12], cl
aad 0x72
jb 0x43b8da
js 0x43b8b0
dec ebx
mov dword [edx - 0x16], eax
insb byte es:[edi], dx
mov esi, 0x85e4dc25
sub byte [ebp - 0x56fd03bf], ah
push 0x5ff1ebff
sbb dh, byte [ebx]
out dx, eax
push ecx
invalid
push esi
fcmovu st(0), st(4)
xor esi, ecx
jno 0x43b929
jg 0x43b93f
push ebp
inc ebx
sub byte [ebp + 0x7917b18f], dl
ret
popal
fstp dword [ebx - 0x47afff3d]
scasb al, byte es:[edi]
ljmp 0x3a32
Function at 0x10033b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10033b3f
pop dword [ebp - 0x20]
mov eax, 0x40df097c
add eax, 0xcf2431c3
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x4186f49c
sub dword [ebp - 0x30], 0xf334af51
mov dword [ebp - 0x2c], 0x98dc256
add dword [ebp - 0x2c], 0x28a589ef
mov dword [ebp - 0x28], 0xaa4d2b3b
add dword [ebp - 0x28], 0xa1ff18f3
mov dword [ebp - 0x24], 0xa52c337d
add dword [ebp - 0x24], 0x5ad3cc83
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x733c436a
add dword [ebp - 0x30], 0x13625ec
mov dword [ebp - 0x2c], 0xfb1ed315
add dword [ebp - 0x2c], 0x464d8e60
mov dword [ebp - 0x28], 0x2b9a0c17
add dword [ebp - 0x28], 0x37d56055
mov dword [ebp - 0x24], 0x7eb92312
sub dword [ebp - 0x24], 0x7eb92312
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xd5b0b185
sub eax, 0xc5acd101
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x40433
push 0
call eax
mov ecx, 0x5290
mov edx, eax
mov esi, 0x95a7cb17
sub esi, 0x85a0b917
add esi, dword [ebp - 0x20]
mov ebx, 0x51f62085
add ebx, 0x1e47258a
mov dword [ebp - 0x10], 0xaf668c66
mov edi, dword [esi]
xor dword [ebp - 0xc], 0xf8018958
xor edi, ebx
mov dword [edx], edi
sub dword [ebp - 0x10], eax
add edx, 4
add esi, 4
loop 0x10033c56
add eax, 0x13d13
mov ebx, eax
add eax, 0x5f413af6
add eax, 0xa0bec50f
mov ecx, 0xcaee9a0c
add ecx, 0x451165f4
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40d29e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407cfb
mov dword [ebp - 0x14], eax
cmp dword [0x453fd8], esi
jne 0x40d391
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d31e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d471
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d471
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d471
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x453fd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x453fdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x453fe0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x453fe8], eax
test eax, eax
je 0x40d38e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x453fe4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d3b6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d3a9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d3cb
push 4
pop eax
jmp 0x40d473
cmp dword [ebp - 0x14], esi
je 0x40d3cb
push dword [0x453fd8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d3b0
mov eax, dword [0x453fe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d429
cmp dword [0x453fe8], edi
je 0x40d429
push eax
call ebx
push dword [0x453fe8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d429
test eax, eax
je 0x40d429
call ecx
test eax, eax
je 0x40d41e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d41e
test byte [ebp - 8], 1
jne 0x40d429
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d459
mov eax, dword [0x453fdc]
cmp eax, edi
je 0x40d456
push eax
call ebx
test eax, eax
je 0x40d456
call eax
mov esi, eax
test esi, esi
je 0x40d456
mov eax, dword [0x453fe0]
cmp eax, edi
je 0x40d456
push eax
call ebx
test eax, eax
je 0x40d456
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x453fd8]
call ebx
test eax, eax
je 0x40d471
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d473
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040440e
mov esp, ebp
pop ebp
ret
Function at 0x71dc50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2d5000]
push edi
jmp 0x71dc6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71dc71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dc60
mov eax, 1
add ebx, ebx
jne 0x71dc83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71dc94
jne 0x71dcb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dcb3
dec eax
add ebx, ebx
jne 0x71dca0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71dc78
add ebx, ebx
jne 0x71dcaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71dd05
xor ecx, ecx
sub eax, 3
jb 0x71dccb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71dd3a
sar eax, 1
mov ebp, eax
jmp 0x71dcd6
add ebx, ebx
jne 0x71dcd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dca4
inc ecx
add ebx, ebx
jne 0x71dce4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71dca4
add ebx, ebx
jne 0x71dcf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71dce6
jne 0x71dd02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71dce6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71dd24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71dd16
jmp 0x71dc66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71dd24
add edi, ecx
jmp 0x71dc66
pop esi
mov edi, esi
mov ecx, 0x3e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71dd42
cmp byte [edi], 7
jne 0x71dd42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x71dd47
lea edi, [esi + 0x31b000]
mov eax, dword [edi]
or eax, eax
je 0x71ddb6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a7104]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a7140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71dd74
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a7148]
or eax, eax
je 0x71ddb0
mov dword [ebx], eax
add ebx, 4
jmp 0x71dd91
call dword [esi + 0x3a7144]
mov ebp, dword [esi + 0x3a714c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x71ddea
sub esp, 0xffffff80
jmp 0x40125d
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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.6d48d2e0
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