joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c40
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x5340
call fcn.0040a1ca
mov eax, dword [0x4845c0]
xor eax, esp
mov dword [esp + 0x533c], eax
push esi
mov esi, dword [esp + 0x5348]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x405c70
xor eax, eax
jmp 0x405df8
test esi, esi
jne 0x405c77
lea esi, [edi + 8]
push esi
call fcn.004058b0
test eax, eax
je 0x405c69
push ebx
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004056e0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x10]
push ecx
call ebx
lea edx, [esp + 0x10]
sub edx, 1
cmp byte [eax + edx], 0x5c
jne 0x405cb2
mov eax, 1
jmp 0x405df7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x248]
push eax
call esi
lea ecx, [esp + 0x244]
push ecx
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x244]
sub edx, 1
cmp byte [eax + edx], 0x5c
je 0x405cf2
push 0x46c1dc
lea eax, [esp + 0x248]
push eax
call ebx
cmp dword [esp + 0x5354], 0
je 0x405d1a
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call sub.ntdll.dll_strrchr
add esp, 8
test eax, eax
je 0x405d1a
add eax, 1
push eax
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x248]
push ecx
call ebx
lea edx, [esp + 0x244]
push edx
mov ecx, edi
call fcn.00405950
test eax, eax
je 0x405d70
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405d70
mov ecx, dword [edi + 4]
push ecx
call fcn.004073f0
test eax, eax
je 0x405d77
xor eax, eax
jmp 0x405df7
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, edi
mov eax, dword [edi + 4]
push 0x5000
lea edx, [esp + 0x350]
push edx
push eax
call fcn.00406bf0
mov esi, eax
test esi, esi
jle 0x405dc4
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x358]
push edx
push ebx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x405dc1
cmp dword [esp + 0x10], esi
je 0x405d80
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 4]
push eax
call fcn.00406ee0
test esi, esi
pop ebp
jne 0x405df0
mov ecx, dword [esp + 0x228]
push ecx
lea edx, [esp + 0x248]
push edx
mov ecx, edi
call fcn.00405990
xor eax, eax
test esi, esi
sete al
pop ebx
mov ecx, dword [esp + 0x5344]
pop edi
pop esi
xor ecx, esp
call fcn.00437fc2
add esp, 0x5340
ret 8
Function at 0x407580
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40758f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4821f0]
test eax, eax
je 0x40759d
call fcn.00407410
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x407691
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x485e20]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x485e20]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x485e20]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x485e20]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x485e20]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x485e20]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x485e20]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x485e20]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x4075b7
pop edi
pop ebx
test edx, edx
je 0x4076b1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x485e20]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x407695
not eax
pop esi
ret 0xc
Function at 0x417650
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x417689
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00411e8a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040e542
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x41958a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4195cd
call fcn.00412fae
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4195cd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4195e8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00419141
test ebx, ebx
mov esi, eax
je 0x4195e6
test edi, edi
je 0x4195e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41a03c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x467bd2
call fcn.00439e02
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41a061
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41a0ad
call fcn.0041a5f2
push eax
lea ecx, [ebp - 0x10]
call fcn.004032a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a390
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402280
mov eax, esi
call fcn.00439eda
ret 8

Function at 0x437fc2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4845c0]
jne 0x437fcc
repz ret
jmp fcn.00440e5b
Function at 0x453f9f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004423bc
xor ebx, ebx
cmp dword [0x488ac4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x454074
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x453fdf
xor eax, eax
jmp 0x454138
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x473660
push edi
call esi
cmp eax, ebx
je 0x453fd8
push eax
call fcn.00442359
mov dword [esp], 0x473650
push edi
mov dword [0x488ac4], eax
call esi
push eax
call fcn.00442359
mov dword [esp], 0x47363c
push edi
mov dword [0x488ac8], eax
call esi
push eax
call fcn.00442359
mov dword [0x488acc], eax
lea eax, [ebp - 8]
push eax
call fcn.0043a384
test eax, eax
pop ecx
pop ecx
je 0x454042
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00440945
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x454074
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00442359
cmp eax, ebx
pop ecx
mov dword [0x488ad4], eax
je 0x454074
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442359
pop ecx
mov dword [0x488ad0], eax
mov eax, dword [0x488ad0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4540ed
cmp dword [0x488ad4], esi
je 0x4540ed
push eax
call fcn.004423c5
pop ecx
call eax
cmp eax, ebx
je 0x4540ba
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x488ad4]
call fcn.004423c5
pop ecx
call eax
test eax, eax
je 0x4540ba
test byte [ebp - 0x18], 1
jne 0x4540ed
lea eax, [ebp - 0xc]
push eax
call fcn.0043a433
test eax, eax
pop ecx
je 0x4540d5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00440945
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4540e4
or dword [ebp + 0x10], 0x200000
jmp 0x45411e
or dword [ebp + 0x10], 0x40000
jmp 0x45411e
mov eax, dword [0x488ac8]
cmp eax, esi
je 0x45411e
push eax
call fcn.004423c5
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45411e
mov eax, dword [0x488acc]
cmp eax, esi
je 0x45411e
push dword [ebp - 4]
push eax
call fcn.004423c5
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x488ac4]
call fcn.004423c5
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x465648
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4845c0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004654c0
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x465697
cmp dword [ebp - 0x1c], 5
jb 0x4656af
jmp 0x4656ab
cmp dword [ebp - 0x10], 1
jne 0x4656af
cmp dword [ebp - 0x1c], 4
ja 0x4656ab
jne 0x4656af
cmp dword [ebp - 0x18], 0
jbe 0x4656af
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x476eb8
call fcn.0046527d
test eax, eax
jge 0x4656d0
mov byte [0x485d60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00437fc2
add ebp, 0x78
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x228d3737
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x7b647778
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430004]
jne 0x401010
repz ret
jmp fcn.0040137b

Function at 0x4089c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404ae5
and dword [ebp - 4], 0
cmp dword [0x432798], 0
mov ebx, eax
jne 0x408a74
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408b25
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408b25
push eax
call fcn.00404a73
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432798], eax
call esi
push eax
call fcn.00404a73
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43279c], eax
call esi
push eax
call fcn.00404a73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4327a0], eax
call esi
push eax
call fcn.00404a73
pop ecx
mov dword [0x4327a8], eax
test eax, eax
je 0x408a74
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a73
pop ecx
mov dword [0x4327a4], eax
mov eax, dword [0x4327a4]
cmp eax, ebx
je 0x408acc
cmp dword [0x4327a8], ebx
je 0x408acc
push eax
call fcn.00404aee
push dword [0x4327a8]
mov esi, eax
call fcn.00404aee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408acc
test edi, edi
je 0x408acc
call esi
test eax, eax
je 0x408ac3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408ac3
test byte [ebp - 0xc], 1
jne 0x408acc
or dword [ebp + 0x10], 0x200000
jmp 0x408b05
mov eax, dword [0x43279c]
cmp eax, ebx
je 0x408b05
push eax
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b05
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408b05
mov eax, dword [0x4327a0]
cmp eax, ebx
je 0x408b05
push eax
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b05
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432798]
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b25
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408b27
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x18b72bab
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x3f2f4c87
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x6d531000
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push edi
xor edi, edi
push edi
push str.Shell_TrayWnd
push edi
push edi
call esi
cmp eax, edi
je 0x6d531022
push edi
push str.TrayNotifyWnd
push edi
push eax
call esi
pop edi
pop esi
ret

Function at 0x6d53144f
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2cc]
sub esp, 0x34c
mov eax, dword [0x6d541910]
xor eax, ebp
mov dword [ebp + 0x2c8], eax
push esi
push 0x104
lea eax, [ebp + 0xc0]
push eax
push dword [0x6d546a40]
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0xc0]
push eax
call fcn.6d531415
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push str._sjavacpl.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x38
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call sub.MSVCR100.dll_memset
lea eax, [ebp + 0x1c4]
mov dword [ebp - 0x70], eax
add esp, 0x20
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], 0x6d53b5fe
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 5
mov dword [ebp - 0x60], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x6d53150a
push 0x10
push str.Unable_to_Start_Java_TM__Plug_in_Control_Panel
lea eax, [ebp + 0x1c4]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp + 0x2c8]
xor ecx, ebp
pop esi
call fcn.6d539821
add ebp, 0x2cc
leave
ret

Function at 0x6d531a0e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.START___Native___JVM___Java_console_initialization
call fcn.6d531194
mov eax, dword [ebp + 0xc]
xor edi, edi
pop ecx
cmp eax, edi
jne 0x6d531a31
mov eax, 0x80004005
jmp 0x6d531aba
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x328], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x6d531a4c
mov eax, 0x80004005
jmp 0x6d531ab9
push edi
push edi
mov dword [esi + 0x318], 0xbbd
mov eax, dword [0x6d546a40]
push 1
push edi
mov dword [esi + 0x324], eax
call dword [sym.imp.kernel32.dll_CreateEventA]
push eax
mov dword [esi + 0x330], eax
call dword [sym.imp.kernel32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x6d5318fa
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x330]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esi + 0x330]
call dword [sym.imp.kernel32.dll_CloseHandle]
push str.END_____Native___JVM___Java_console_initialization
mov dword [esi + 0x330], edi
call fcn.6d531194
pop ecx
xor eax, eax
pop esi
pop edi
leave
ret 8
Function at 0x6d5320d8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
add eax, eax
mov dword [ecx], eax
push esi
mov esi, dword [esp + 8]
shl eax, 2
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll_realloc]
pop ecx
pop ecx
test eax, eax
jne 0x6d53210d
push 0x6d53c1e0
call dword [sym.imp.MSVCR100.dll_perror]
pop ecx
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov dword [esi], eax
pop esi
ret 8

Function at 0x6d5328bd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x17e8]
mov eax, 0x1868
call fcn.6d539990
mov eax, dword [0x6d541910]
xor eax, ebp
mov dword [ebp + 0x17e4], eax
push esi
lea eax, [ebp + 0xc8]
mov esi, ecx
push eax
mov dword [ebp - 0x80], esi
call fcn.6d53a551
pop ecx
test al, al
jne 0x6d532902
lea eax, [ebp + 0xc8]
push eax
lea ecx, [esi + 0x20]
call fcn.6d53467c
lea eax, [ebp + 0xc8]
push 0x6d53bea0
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x6d532a73
push ebx
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x12d0]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp + 0x12d0]
push eax
lea eax, [ebp + 0x14d8]
push str._sSunJavaDeploymentLibTrusted
push eax
call esi
mov ebx, dword [sym.imp.kernel32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x14d8]
push eax
call ebx
mov dword [ebp - 0x7c], eax
push edi
lea eax, [ebp + 0x13d4]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x13d4]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d53298f
mov byte [eax], 0
lea eax, [ebp + 0x13d4]
push eax
lea eax, [ebp + 0x15dc]
push str._sjss
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x15dc]
push eax
call ebx
or ebx, 0xffffffff
mov edi, eax
cmp dword [ebp - 0x7c], ebx
jne 0x6d5329c6
cmp edi, ebx
je 0x6d532a71
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x16e0]
push eax
call fcn.6d53a551
cmp dword [ebp - 0x7c], ebx
je 0x6d532a38
cmp edi, ebx
je 0x6d532a14
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s__s
push eax
call esi
mov esi, dword [sym.imp.kernel32.dll_FindClose]
add esp, 0x14
push dword [ebp - 0x7c]
call esi
push edi
call esi
jmp 0x6d532a62
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push 0x6d53bf04
push eax
call esi
add esp, 0x10
push dword [ebp - 0x7c]
jmp 0x6d532a5c
cmp edi, ebx
je 0x6d532a62
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s
push eax
call esi
add esp, 0x10
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x10c8]
push eax
call fcn.6d532113
pop edi
pop ebx
mov ecx, dword [ebp + 0x17e4]
xor ecx, ebp
pop esi
call fcn.6d539821
add ebp, 0x17e8
leave
ret
Function at 0x6d532a89
Capabilities:
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x6d541910]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 8
mov dword [ebp - 0x80], ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x70]
fild dword [ebp - 0x70]
test eax, eax
jns 0x6d532ace
fadd qword [0x6d53c398]
fld qword [0x6d53c390]
fmul st(1), st(0)
fmul st(1), st(0)
fxch st(1)
call fcn.6d5399d0
fild dword [ebp - 0x5c]
mov esi, eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jns 0x6d532af1
fadd qword [0x6d53c398]
fmul st(1)
fmul st(1)
call fcn.6d5399d0
mov ebx, eax
mov edi, 0x80
cmp esi, ebx
jl 0x6d532b26
mov eax, dword [ebp - 0x6c]
fild dword [ebp - 0x6c]
test eax, eax
jns 0x6d532b15
fadd qword [0x6d53c398]
fmul st(1)
fmulp st(1)
call fcn.6d5399d0
cmp eax, edi
jg 0x6d532b28
push 0x40
jmp 0x6d532b38
fstp st(0)
cmp esi, 0x20
jle 0x6d532b22
cmp esi, 0x40
jg 0x6d532b36
cmp ebx, edi
jl 0x6d532b22
push 0x60
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
pop edi
push edi
lea eax, [ebp - 0x58]
push str._Xmx_dm
push eax
call esi
mov ecx, dword [ebp - 0x80]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.6d532113
push edi
lea eax, [ebp - 0x58]
push str._Djavaplugin.maxHeapSize_dm
push eax
call esi
mov ecx, dword [ebp - 0x80]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.6d532113
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d539821
add ebp, 0xac
leave
ret

Function at 0x6d5355a1
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d5355ef
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d535600
push 0xd
pop eax
jmp 0x6d53562a
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d535603
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x6d535bc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d541910]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d53a551
mov ebx, eax
cmp ebx, esi
je 0x6d535c33
lea ecx, [ebp - 0x74]
call fcn.6d5354cf
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d539821
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d535c4b
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d535bc0
cmp eax, esi
jne 0x6d535c7d
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d535c3b
lea ecx, [ebp - 0x74]
call fcn.6d5354cf
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d535460
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d5354cf
mov eax, esi
jmp 0x6d535c19