joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100024f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [esi + 0xc]
mov ecx, dword [0x10099dfc]
lea eax, [ebp - 0x14]
push eax
call fcn.10031040
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_bool___thiscall_ScCore::String::operator_class_ScCore::String_const__const]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
test bl, bl
je 0x1000261b
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
push 0
push 1
mov esi, dword [edi]
push 0
push eax
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x10070958]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
je 0x10002605
push 0
push dword [esi + 0x14]
lea ecx, [ebp - 0x10]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::constructor_char_const___class_ScCore::Encoder_const__]
push 0x2c
mov dword [ebp - 4], 1
call dword [sym.imp.ScCore.dll_public:_static_void____cdecl_ScCore::Heap::operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100025e4
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [esi + 0xc]
mov ecx, eax
push dword [esi + 4]
call fcn.10031040
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x10]
xor esi, esi
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::String::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov ecx, dword [0x10099dfc]
add eax, 0xc
push eax
call fcn.10031040
mov ecx, dword [esi]
push eax
mov esi, dword [ecx + 0x30]
mov ecx, esi
call dword [0x10070958]
mov ecx, dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10004300
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006408f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x100988d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x100043cc
je 0x100043c7
cmp eax, 0x80000000
je 0x100043c7
test eax, eax
jne 0x100043d3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
mov eax, dword [0x10099e0c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000437e
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.10031040
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::setString_unsigned_short_int_const__]
mov eax, dword [0x10099e0c]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x100043ac
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100043ef
xorps xmm0, xmm0
jmp 0x100043ea
cmp eax, 0x40000000
je 0x100043df
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100043e6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403992
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x4039e2
push ebx
mov ebx, dword [esp + 0x14]
and ebx, 1
mov al, byte [esi + ebp]
mov ecx, 0x482d58
xor al, 0x73
sub al, 0x58
push ebx
mov byte [esi + ebp], al
call fcn.00402696
push eax
call fcn.00401e6b
mov al, byte [esi + ebp]
sub al, 0x14
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [esi + ebp], al
inc esi
pop ecx
cmp esi, dword [esp + 0x14]
jb 0x4039a8
pop ebx
pop esi
pop ebp
ret

Function at 0x4046c6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x481b00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x425390
lea ecx, [ebp - 0x1c]
call fcn.00402057
push 0xc
call fcn.00407dde
pop ecx
test eax, eax
je 0x4046fd
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00402109
jmp 0x4046ff
xor eax, eax
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x481640
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
call dword [sym.imp.KERNEL32.DLL_FreeConsole]
call fcn.00403969
mov edx, 0x481640
add edx, 0x188
mov esi, 0x430040
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00403767
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00407e1c
leave
ret

Function at 0x408a22
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x408a61
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408a61
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408a61
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408a61
cmp dword [ecx + 0x74], 0xe
jbe 0x408a61
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x417ced
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4292d0
push 0x4292c8
push 0x426e14
push 0x1e
call fcn.00417b5a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417d21
push dword [ebp + 8]
mov ecx, esi
call dword [0x425138]
call esi
jmp 0x417d27
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x419f56
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419bf8

Function at 0x419f61
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00419d87

Function at 0x41a35b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00408b90
mov eax, dword [0x481b00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00417566
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41a39d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41a4f9
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00424250
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x483608]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041b52b
mov ecx, dword [esi*4 + 0x483608]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41a4f2
cmp eax, dword [edi + ecx + 0x24]
jne 0x41a4f2
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41a4f2
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041b52b
add esp, 0x14
test edx, edx
jl 0x41a4f2
jg 0x41a468
test eax, eax
jb 0x41a4f2
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41a4f2
jl 0x41a482
cmp dword [ebp - 0x1008], eax
ja 0x41a4f2
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41a4a0
test ebx, ebx
je 0x41a4d9
cmp ecx, edi
jae 0x41a4d9
mov al, byte [ecx]
cmp al, 0xd
jne 0x41a4ba
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41a4c6
cmp byte [ecx + 1], 0xa
jne 0x41a4c6
inc ecx
jmp 0x41a4c6
movzx eax, al
movsx eax, byte [eax + 0x481dc8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41a4a0
cmp edx, ebx
jne 0x41a4a0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41a4f7
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00407e1c
leave
ret
Function at 0x41a9c9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x483608]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41aa09
cmp byte [ebx], 0xa
jne 0x41aa09
or byte [eax + edi + 0x28], 4
jmp 0x41aa0e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41ab0c
mov al, byte [edx]
cmp al, 0x1a
je 0x41aaee
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41aa3d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41aa62
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41aa6c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41aa1f
jmp 0x41ab0c
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41aae9
cmp dword [ebp - 0xc], 0
je 0x41aae9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x483608]
test byte [eax + edi + 0x28], 0x48
je 0x41aac3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41aaae
mov byte [esi], dl
jmp 0x41aabf
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x483608]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41ab0c
cmp byte [ebp - 1], 0xa
jne 0x41aad2
cmp esi, ebx
jne 0x41aad2
mov byte [esi], 0xa
jmp 0x41ab0b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041b549
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41ab0c
mov byte [esi], 0xd
jmp 0x41ab0b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x483608]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41ab08
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41ab0c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ab15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x483608]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ab58
cmp word [esi], dx
jne 0x41ab58
or byte [edi + eax + 0x28], 4
jmp 0x41ab5d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41acb0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41ac90
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ab9f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41abd5
cmp eax, edx
jae 0x41abe1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ab77
jmp 0x41acb0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41ac8c
cmp dword [ebp - 0x14], 0
je 0x41ac8c
mov eax, dword [ebx*4 + 0x483608]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41ac64
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ac2d
mov word [esi], cx
jmp 0x41ac60
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x483608]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x483608]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x483608]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41acb0
pop ebx
cmp word [ebp - 4], bx
jne 0x41ac75
cmp esi, dword [ebp + 0xc]
jne 0x41ac75
mov word [esi], bx
jmp 0x41acad
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b549
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41acb0
push 0xd
jmp 0x41aca9
mov ecx, dword [ebx*4 + 0x483608]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41aca7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41acb0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40682c
Capabilities:
Connect socket

Disassembly:
les eax, [ebp + 0x4c25dd9]
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
clc
call [edx + ebp*2]
adc byte [edx - 0x18], dl
xor al, 0x4b
invalid
mov dword [esi + 4], edx
mov dword [ecx + 0x24], edx
mov eax, dword [ebp + 0xc]
sub eax, 0x7ec41d11
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0xc]
cmp dword [esi + ecx*4], 0
jne 0x407021
pop edi
pop esi
xor ecx, dword [ebx - 0x26]
mov esp, ebp
pop ebp
sub ecx, edx
push ebp
popfd
add byte [ecx + 0x2faec], 0
mov ecx, dword [ebp + 0xc]
push ebx
or al, 0x53
push esi
xor eax, dword [ebx]
mov ebp, dword [ebp - 0x75]
push ecx
add al, 0x89
inc ebp
adc dword [ebx - 0x76a840bb], ecx
jne 0x4070db
mov al, byte [eax]
mov dword [ebp - 4], esi
test al, al
mov dword [ecx], esi
sbb cl, byte [ecx + 0x7589f075]
fmul dword [ecx - 0x7be423ab]
stosb byte es:[edi], al
jle 0x407107
add byte [eax + 7], bl
adc al, 0xfb
xchg ecx, eax
je 0x40714b
adc ecx, dword [edi - 0xc]
imul eax, eax, 0xf33b2d74
xchg dword [edx + 0x43], esi
mov edi, dword [ebp + 0x7d]
push edi
mov dword [edi], eax
call dword [esi]
jo 0x4070a8
les eax, [eax*4 - 0x7f7af0f3]
or al, byte [eax]
add byte [ebx + 0x78b044f], cl
outsb dx, byte [esi]
dec ebp
fmul qword [ebx - 0x76bfefab]
inc ebp
hlt
mov ebp, dword [ebp - 0x1b]
sub byte [ebp - 0x4b], ah
rcl eax, 0
mov eax, 0x9e0001
xor edx, dword [edi]
inc edi
cmp dword [ecx], eax
mov dword [ebp - 0x44], eax
rol byte [ebp - 0x40], 0x89
push ebp
enter 0x5589, 0xffffffffffffffc4
mov dword [ebp - 0x2c], edx
invalid
Function at 0x6d5c1015
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x90
mov eax, dword [0x6d5c7040]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push esi
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.msvcr100.dll__strdup]
mov esi, eax
cmp byte [esi], 0x5c
pop ecx
jne 0x6d5c10b8
push 3
pop edi
test edi, edi
jle 0x6d5c107c
inc eax
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x6d5c1062
cmp byte [eax], 0x5c
jne 0x6d5c1062
dec edi
jmp 0x6d5c1046
push esi
call dword [sym.imp.msvcr100.dll_free]
mov dword [esp], str.Malformed_UNC
push dword [ebp - 0x14]
call sub.java.dll__JNU_ThrowIOException_8
xor al, al
jmp 0x6d5c10e8
jne 0x6d5c1062
push 0x7f
mov byte [eax + 1], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.kernel32.dll_GetVolumeInformationA]
push esi
test eax, eax
jne 0x6d5c10d8
call dword [sym.imp.msvcr100.dll_free]
mov dword [esp], str.GetVolumeInformation_failed
push dword [ebp - 0x14]
call sub.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x6d5c1078
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x6d5c107e
push esi
call dword [sym.imp.msvcr100.dll_free]
mov dword [esp], str.Absolute_filename_not_specified
push edi
jmp 0x6d5c1073
call dword [sym.imp.msvcr100.dll_free]
mov eax, dword [ebp - 0x18]
shr eax, 3
pop ecx
and eax, 1
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.6d5c2dba
add ebp, 0x74
leave
ret

Function at 0x6d5c2367
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.PdhAddCounterA
push edi
call esi
push str.PdhOpenQueryA
push edi
mov dword [0x6d5c7310], eax
call esi
push str.PdhCloseQuery
push edi
mov dword [0x6d5c7318], eax
call esi
push str.PdhCollectQueryData
push edi
mov dword [0x6d5c708c], eax
call esi
push str.PdhGetFormattedCounterValue
push edi
mov dword [0x6d5c733c], eax
call esi
push str.PdhEnumObjectItemsA
push edi
mov dword [0x6d5c730c], eax
call esi
push str.PdhRemoveCounter
push edi
mov dword [0x6d5c7338], eax
call esi
push str.PdhLookupPerfNameByIndexA
push edi
mov dword [0x6d5c7308], eax
call esi
push str.PdhMakeCounterPathA
push edi
mov dword [0x6d5c70a8], eax
call esi
xor ecx, ecx
mov dword [0x6d5c72b4], eax
pop esi
cmp dword [0x6d5c7310], ecx
je 0x6d5c242d
cmp dword [0x6d5c7318], ecx
je 0x6d5c242d
cmp dword [0x6d5c708c], ecx
je 0x6d5c242d
cmp dword [0x6d5c733c], ecx
je 0x6d5c242d
cmp dword [0x6d5c730c], ecx
je 0x6d5c242d
cmp dword [0x6d5c7338], ecx
je 0x6d5c242d
cmp dword [0x6d5c7308], ecx
je 0x6d5c242d
cmp dword [0x6d5c70a8], ecx
je 0x6d5c242d
cmp eax, ecx
je 0x6d5c242d
xor eax, eax
ret
push str.Required_method_could_not_be_found.
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.msvcr100.dll__snprintf]
add esp, 0xc
or eax, 0xffffffff
ret

Function at 0x6d5c2dba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d5c7040]
jne 0x6d5c2dc4
repz ret
jmp fcn.6d5c31c1
Function at 0x40d578
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
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.00408d2c
mov dword [ebp - 0x14], eax
cmp dword [0x4b2f78], esi
jne 0x40d66b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d5f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d74b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d74b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d74b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b2f78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b2f7c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b2f80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b2f88], eax
test eax, eax
je 0x40d668
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b2f84], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d690
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d683
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6a5
push 4
pop eax
jmp 0x40d74d
cmp dword [ebp - 0x14], esi
je 0x40d6a5
push dword [0x4b2f78]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d68a
mov eax, dword [0x4b2f84]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d703
cmp dword [0x4b2f88], edi
je 0x40d703
push eax
call ebx
push dword [0x4b2f88]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d703
test eax, eax
je 0x40d703
call ecx
test eax, eax
je 0x40d6f8
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 0x40d6f8
test byte [ebp - 8], 1
jne 0x40d703
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d733
mov eax, dword [0x4b2f7c]
cmp eax, edi
je 0x40d730
push eax
call ebx
test eax, eax
je 0x40d730
call eax
mov esi, eax
test esi, esi
je 0x40d730
mov eax, dword [0x4b2f80]
cmp eax, edi
je 0x40d730
push eax
call ebx
test eax, eax
je 0x40d730
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b2f78]
call ebx
test eax, eax
je 0x40d74b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d74d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040e0
mov esp, ebp
pop ebp
ret