joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014710
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
push 0x28
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x100147e5
push 0x7f00
mov dword [esi], 0x400b
push 0
mov ebx, dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esi + 4], sym.CNCS232.dll_Ordinal_22
mov dword [esi + 0xc], 8
mov eax, dword [0x100428cc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0x10
call ebx
push esi
mov edi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], str.KnpCursor
call edi
push 5
mov dword [esi], 0x400b
mov dword [esi + 4], sym.CNCS232.dll_Ordinal_20
mov dword [esi + 0xc], 4
call dword [sym.imp.GDI32.dll_GetStockObject]
push esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], str.KnpTab
call edi
push 0x7f00
mov dword [esi], 0x400b
mov dword [esi + 4], sym.CNCS232.dll__KnpDirectionProc_16
mov dword [esi + 0xc], 0x10
mov eax, dword [0x100428cc]
push 0
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0x10
call ebx
push esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], str.KnpDirection
call edi
test ax, ax
jne 0x100147de
push str.error_:_RegisterClass_KnpDirection_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
ret
Function at 0x10030960
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.1002f1e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1003fde0], eax
cmp eax, 0xffffffff
jne 0x1003097a
xor eax, eax
pop esi
ret
push 0x74
push 1
call fcn.1002e710
add esp, 8
mov esi, eax
test esi, esi
je 0x100309bc
push esi
mov eax, dword [0x1003fde0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x100309bc
push esi
call fcn.100309f0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10030a10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x1003fde0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x10030a73
push 0x74
push 1
call fcn.1002e710
add esp, 8
mov edi, eax
test edi, edi
je 0x10030a69
push edi
mov eax, dword [0x1003fde0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x10030a69
push edi
call fcn.100309f0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi], eax
mov dword [edi + 4], 0xffffffff
jmp 0x10030a73
push 0x10
call fcn.1002f1a0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
ret

Function at 0x10031480
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.10031540
cmp dword [0x10040650], 1
mov esi, dword [esp + 0x10]
jne 0x100314a3
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x1004064c], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x10040648], bl
jne 0x100314fd
cmp dword [0x100447c8], 0
je 0x100314eb
mov edi, dword [0x100447c4]
sub edi, 4
cmp edi, dword [0x100447c8]
jb 0x100314eb
mov eax, dword [edi]
test eax, eax
je 0x100314e0
call eax
sub edi, 4
cmp edi, dword [0x100447c8]
jae 0x100314d8
push 0x1003e038
push 0x1003e030
call fcn.10031560
add esp, 8
push 0x1003e040
push 0x1003e03c
call fcn.10031560
add esp, 8
test ebx, ebx
je 0x1003151c
call fcn.10031550
pop edi
pop esi
pop ebx
ret
mov dword [0x10040650], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10033b40
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor ebx, ebx
push ebp
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [0x10040b54], ebx
jne 0x10033b8f
call esi
cmp eax, ebx
mov edi, eax
je 0x10033b6d
mov dword [0x10040b54], 1
jmp 0x10033b8f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x10033b85
mov dword [0x10040b54], 2
jmp 0x10033b8f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x10040b54], 1
jne 0x10033c3e
test edi, edi
jne 0x10033bb2
call esi
mov edi, eax
test edi, edi
jne 0x10033bb2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp word [edi], 0
mov esi, edi
je 0x10033bcc
add esi, 2
cmp word [esi], 0
jne 0x10033bba
add esi, 2
cmp word [esi], 0
jne 0x10033bba
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x10033c2d
push ebp
call fcn.1002e640
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x10033c2d
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x10033c1c
push ebx
call fcn.1002e7c0
add esp, 4
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
cmp dword [0x10040b54], 2
jne 0x10033cc2
test ebx, ebx
jne 0x10033c61
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x10033c61
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov ebp, ebx
cmp byte [ebx], 0
je 0x10033c76
inc ebp
cmp byte [ebp], 0
jne 0x10033c68
inc ebp
cmp byte [ebp], 0
jne 0x10033c68
sub ebp, ebx
inc ebp
push ebp
call fcn.1002e640
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
jne 0x10033c9b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x1003a670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, dword [esp + 0x18]
push 2
mov esi, dword [esp + 0x18]
push eax
push esi
call sub.KERNEL32.dll_FindResourceA
mov edi, eax
or edi, edi
jne 0x1003a694
sub eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret 0x20
push edi
push esi
call sub.KERNEL32.dll_SizeofResource
mov ebp, eax
push edi
push esi
call sub.KERNEL32.dll_LoadResource
mov esi, eax
or esi, esi
jne 0x1003a6b3
sub eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret 0x20
push ebp
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov ebx, eax
or ebx, ebx
jne 0x1003a6ca
sub eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret 0x20
mov edi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x64], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x50], eax
push 0
call sub.USER32.dll_GetDC
mov edi, eax
push 0
push ebx
lea eax, [ebx + 0x68]
push eax
push 4
push ebx
push edi
call sub.GDI32.dll_CreateDIBitmap
mov esi, eax
push edi
push 0
call sub.USER32.dll_ReleaseDC
push ebx
call sub.KERNEL32.dll_GlobalFree
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret 0x20

Function at 0x401376
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.USER32.dll_CharNextA]
xor ebx, ebx
xor edi, edi
mov cl, byte [eax]
test cl, cl
je 0x4013a3
cmp cl, 0x22
jne 0x40139b
inc edi
push eax
call esi
cmp edi, 2
jne 0x40138f
push eax
call esi
mov edi, eax
push ebx
mov dword [ebp - 8], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0xc]
push eax
push 0x4012ec
push 4
push ebx
push 0x40122c
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40144f
mov al, byte [edi]
test al, al
mov dword [ebp - 4], ebx
mov bl, 1
je 0x401423
cmp al, 0x2d
jne 0x4013f2
cmp byte [edi + 1], 0x20
jne 0x4013f2
push edi
xor bl, bl
call esi
push eax
call esi
mov dword [ebp - 8], eax
mov edi, eax
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
call edi
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
mov dword [ebp - 4], eax
je 0x401423
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
push 0
push 0
call edi
push dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
neg bl
sbb ebx, ebx
add ebx, 3
push ebx
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 4], 0
je 0x40144f
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x6acd80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65e015
lea edi, [esi - 0x25d015]
push edi
or ebp, 0xffffffff
jmp 0x6acda2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6acda9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6acd98
mov eax, 1
add ebx, ebx
jne 0x6acdbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6acdcc
jne 0x6acdeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6acdeb
dec eax
add ebx, ebx
jne 0x6acdd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6acdb0
add ebx, ebx
jne 0x6acde7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6ace3d
xor ecx, ecx
sub eax, 3
jb 0x6ace03
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6ace72
sar eax, 1
mov ebp, eax
jmp 0x6ace0e
add ebx, ebx
jne 0x6ace0e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6acddc
inc ecx
add ebx, ebx
jne 0x6ace1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6acddc
add ebx, ebx
jne 0x6ace29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6ace1e
jne 0x6ace3a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6ace1e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6ace5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6ace4e
jmp 0x6acd9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6ace5c
add edi, ecx
jmp 0x6acd9e
pop esi
mov edi, esi
mov ecx, 0xaa90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6ace7a
cmp byte [edi], 0x14
jne 0x6ace7a
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 0x6ace7f
lea edi, [esi + 0x2aa000]
mov eax, dword [edi]
or eax, eax
je 0x6acef7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ac524]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ac560]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6aceac
mov ecx, edi
jns 0x6acedb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2ac568]
or eax, eax
je 0x6acef1
mov dword [ebx], eax
add ebx, 4
jmp 0x6acec9
call dword [esi + 0x2ac564]
mov ebp, dword [esi + 0x2ac56c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x6acf2b
sub esp, 0xffffff80
jmp 0x402f40
Function at 0x10001006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10001010
repz ret
jmp fcn.10001292

Function at 0x10004dfa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001398
and dword [ebp - 0x14], 0
cmp dword [0x10009784], 0
mov dword [ebp - 0x18], eax
jne 0x10004ead
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004f55
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004f55
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10009784], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009788], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000978c], eax
call edi
push eax
call esi
mov dword [0x10009794], eax
test eax, eax
je 0x10004ead
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009790], eax
mov eax, dword [0x10009790]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10004f06
cmp dword [0x10009794], ecx
je 0x10004f06
push eax
call esi
push dword [0x10009794]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004f06
test ebx, ebx
je 0x10004f06
call edi
test eax, eax
je 0x10004efd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10004efd
test byte [ebp - 8], 1
jne 0x10004f06
or dword [ebp + 0x10], 0x200000
jmp 0x10004f39
mov eax, dword [0x10009788]
cmp eax, dword [ebp - 0x18]
je 0x10004f39
push eax
call esi
test eax, eax
je 0x10004f39
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004f39
mov eax, dword [0x1000978c]
cmp eax, dword [ebp - 0x18]
je 0x10004f39
push eax
call esi
test eax, eax
je 0x10004f39
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10009784]
call esi
test eax, eax
je 0x10004f55
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004f57
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001006
leave
ret
Function at 0x4068b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068dc
xor eax, eax
test eax, eax
je 0x4068ef
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068ef
xor ecx, ecx
jmp 0x4068f2
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a15
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a5dec], 0
push esi
jne 0x406a4c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a26
mov dword [ecx*4 + 0x7a5de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a21
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a7d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a5de8]
xor eax, esi
inc ecx
dec edx
jne 0x406a5f
pop edi
not eax
pop esi
ret 0xc

Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021a8
push 0x4021ac
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100068d8
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x10013010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10013f40], 0
push esi
push edi
mov esi, 0x10013f40
jne 0x1000699f
mov edi, 0x104
push edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10006928
push 0x100022bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10006a36
push 0x100022b4
lea eax, [ebp - 0x120]
push eax
push 0x100021dc
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.100050d5
add esp, 0x14
test eax, eax
jns 0x10006954
push 0x10002290
jmp 0x1000691d
push 0
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1000697b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000697b
push 0x10002260
jmp 0x1000691d
push 0x1000224c
push 0x10001524
lea eax, [ebp - 0x120]
push eax
push 0x10002244
push edi
push esi
call fcn.100050d5
add esp, 0x18
test eax, eax
js 0x1000694d
push 0x10002240
push esi
call fcn.10007a52
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100069bc
push 0x10002214
jmp 0x1000691d
lea eax, [ebp - 0x1c]
push eax
call 0x10007970
lea eax, [ebp - 0x10]
push eax
call 0x10007892
pop ecx
pop ecx
lea eax, [ebp - 0x10]
test ebx, ebx
je 0x100069fd
push ebx
push 0x1000220c
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x100021fc
lea eax, [ebp - 0x47c]
push 0x258
push eax
call fcn.100050d5
add esp, 0x1c
jmp 0x10006a20
push 0x1000220c
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x100021e8
lea eax, [ebp - 0x47c]
push 0x258
push eax
call fcn.100050d5
add esp, 0x18
lea eax, [ebp - 0x47c]
push esi
push eax
call fcn.100076d4
push esi
call fcn.1000765b
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100072a1
leave
ret
Function at 0x10006a94
Capabilities:
Create directory
Get common file path
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10013010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10014048], 0
push esi
push edi
mov esi, 0x10014048
jne 0x10006b5b
mov edi, 0x104
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x10006ae4
push 0x100022bc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10006b88
push 0x100022b4
lea eax, [ebp - 0x108]
push eax
push 0x100021dc
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100050d5
add esp, 0x14
test eax, eax
jns 0x10006b10
push 0x10002290
jmp 0x10006ad9
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10006b37
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10006b37
push 0x10002260
jmp 0x10006ad9
push 0x100022ec
push 0x10001524
lea eax, [ebp - 0x108]
push eax
push 0x10002244
push edi
push esi
call fcn.100050d5
add esp, 0x18
test eax, eax
js 0x10006b09
push 0x10002240
push esi
call fcn.10007a52
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10006b78
push 0x10002214
jmp 0x10006ad9
push esi
push ebx
call fcn.100076d4
push esi
call fcn.1000765b
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100072a1
leave
ret

Function at 0x100072a1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10013010]
jne 0x100072ab
repz ret
jmp fcn.1000abac

Function at 0x10007a6e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10007782
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
Function at 0x10007bbe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.100077cd
push eax
push esi
push dword [ebp + 8]
call fcn.10007782
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x10007c58
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100077cd
push eax
push esi
push dword [ebp + 8]
call fcn.10007782
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100077bd
adc edx, dword [edi]
pop ss
js 0x10007c07
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100077bd
jb 0x10007caa
cmp dword [ebp - 0x837a73], esp
invalid
call dword [eax - 0x18]
sbb al, 0xfb
invalid