joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12ec1850
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x12ec187d
pop esi
xor eax, eax
pop ebx
add esp, 0x44
ret
push ebp
push edi
push ebx
push esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0x40
jbe 0x12ec1942
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x58]
push ebx
push ecx
lea edx, [esp + 0x1c]
push 0x40
push edx
push esi
mov dword [esp + 0x6c], ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x12ec1942
cmp word [esp + 0x14], 0x5a4d
jne 0x12ec1942
mov eax, dword [esp + 0x50]
lea ebx, [eax + 0x108]
cmp ebp, ebx
jbe 0x12ec1942
mov edi, dword [esp + 0x5c]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.12f92690
mov ecx, edi
call fcn.12f92da0
push 0
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x58]
push 0
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x12ec1942
mov edx, dword [esp + 0x60]
mov dword [esp + 0x10], 1
mov dword [edx], edi
mov eax, dword [edi + 0x3c]
mov edx, dword [esp + 0x64]
add eax, edi
lea ecx, [eax + 4]
add eax, 0x18
mov dword [edx], ecx
mov ecx, dword [esp + 0x68]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x44
ret
Function at 0x12ec3540
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x13065d12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push esi
push edi
xor ebx, ebx
push 0x131912a8
lea ecx, [esp + 0x10]
mov dword [esp + 0x844], ebx
call fcn.12f46b50
mov esi, dword [esp + 0x858]
mov edi, 1
cmp esi, ebx
mov dword [esp + 0x84c], edi
je 0x12ec3759
push esi
call fcn.12f5c51d
add esp, 4
test eax, eax
je 0x12ec3759
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
push ebp
push 0x208
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.12f5c57b
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x43e]
push 0x17
mov word [esp + 0x440], bx
push str.DeviceTSafeDiskVolume
rep stosd dword es:[edi], eax
push esi
call fcn.12f5e383
add esp, 0x18
test eax, eax
jne 0x12ec3708
push str.DeviceTSafeDiskVolume
call fcn.12f5c51d
push esi
mov ebp, eax
call fcn.12f5c51d
mov ecx, 0x11
add esp, 8
sub ecx, ebp
add eax, ecx
cmp eax, 0x208
ja 0x12ec3646
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esi + ebp*2 + 2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push edx
mov ax, word [esi + ebp*2]
lea ecx, [esp + 0x20]
push eax
push str._TSD_VOLUME__c:_s
push ecx
call fcn.12f5cfbf
add esp, 0x10
push esi
call fcn.12f5c51d
add esp, 4
cmp eax, 0x19
jbe 0x12ec3708
mov ax, word [esi + ebp*2 + 2]
lea ebx, [esi + ebp*2 + 2]
cmp ax, 0x5c
je 0x12ec3671
cmp ax, 0x2f
jne 0x12ec3708
mov ax, word [0x130e0f14]
mov edx, dword [0x130e0f10]
mov word [esp + 0x18], ax
mov ax, word [esi + ebp*2]
mov dword [esp + 0x14], edx
cmp ax, 0x43
mov word [esp + 0x14], ax
jb 0x12ec369b
cmp ax, 0x5a
jbe 0x12ec36a7
cmp ax, 0x63
jb 0x12ec3708
cmp ax, 0x7a
ja 0x12ec3708
lea ecx, [esp + 0x430]
push 0x208
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x12ec3708
cmp eax, 0x208
jae 0x12ec3708
lea eax, [esp + 0x430]
push 0x18
push eax
push esi
call fcn.12f5e383
add esp, 0xc
test eax, eax
jne 0x12ec3708
mov ecx, 0x104
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
xor ecx, ecx
push ebx
stosw word es:[edi], ax
mov cx, word [esi + ebp*2]
lea edx, [esp + 0x20]
push ecx
push 0x13121544
push edx
call fcn.12f5cfbf
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.12f47570
mov eax, dword [0x13199068]
pop ebp
test eax, eax
je 0x12ec3739
mov ecx, dword [esp + 0xc]
push ecx
push str.CTSCDTGlobalMgr::CorrectSCDTPath_____s_
push str.procidentifytype
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov esi, dword [esp + 0x854]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.12f468f0
mov dword [esp + 0x840], 1
jmp 0x12ec3773
mov esi, dword [esp + 0x854]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.12f468f0
mov dword [esp + 0x840], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x84c], 0
call fcn.12f472f0
mov ecx, dword [esp + 0x844]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x844
ret 8
Function at 0x12ecaa50
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x65c]
test eax, eax
jne 0x12ecaab4
call fcn.12f9c520
test eax, eax
jne 0x12ecaab4
push 0xffffffffffffffff
call sym.winahdcore32.dll_GetSCDTDesktopMode
cmp eax, 2
je 0x12ecaab4
call fcn.12f9c880
test eax, eax
je 0x12ecaab4
mov ecx, esi
call fcn.12ec0930
test eax, eax
je 0x12ecaab4
call fcn.12d91a00
test eax, eax
je 0x12ecaab4
mov eax, dword [esi + 0x65c]
test eax, eax
jne 0x12ecaab4
push 0
push 0
push 0
push 0x12ecaac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x65c], eax
pop esi
ret

Function at 0x12ecb940
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130668b8
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
jne 0x12ecb974
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 4
mov eax, dword [0x13199068]
xor edi, edi
test eax, eax
je 0x12ecb994
push esi
push str.CTSCDTGlobalMgr::IsDisableDir_1___s_
push str.SCDTDecrypt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
push esi
lea ecx, [esp + 0x1c]
call fcn.12f46b50
push 0x5c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.12f4ac70
push 0x130c4ed0
lea ecx, [esp + 0x1c]
call fcn.12f47f40
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12ecb9ef
mov ecx, dword [esp + 0x18]
push esi
push ecx
push str.CTSCDTGlobalMgr::IsDisableDir_2___s____d_
push str.SCDTDecrypt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, 3
jne 0x12ecba07
mov edx, dword [esp + 0x18]
push edx
call fcn.12f5c51d
add esp, 4
cmp eax, esi
ja 0x12ecba1b
jmp 0x12ecba16
cmp esi, 4
je 0x12ecba16
cmp esi, 5
je 0x12ecba16
cmp esi, 2
jne 0x12ecba1b
mov edi, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.12f472f0
mov eax, dword [0x13199068]
test eax, eax
je 0x12ecba4a
push edi
push str.CTSCDTGlobalMgr::IsDisableDir____d_
push str.SCDTDecrypt
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x12ecd250
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.12e30bc0
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 4
cmp eax, 0xffffffff
je 0x12ecd27f
test al, 0x10
jne 0x12ecd29e
test al, 1
je 0x12ecd278
and al, 0xfe
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.13005df0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x12ecd295
pop edi
pop esi
ret 8
push esi
call fcn.12e30bc0
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, ecx
or edx, 0x10
cmp eax, edx
je 0x12ecd2af
push ecx
push esi
call edi
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x12ed2e40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x131c13e0
jmp 0x12ed2e70
push 0xffffffffffffffff
push 0x13066dae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call fcn.12f55c40
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0x11
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 0xa
mov byte [esp + 0x18], 1
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 2
call fcn.12f55c40
mov eax, dword [0x1307d24c]
lea ebp, [esi + 0x6c]
mov byte [esp + 0x18], 3
mov dword [ebp], eax
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 4
call fcn.12f55c40
lea ecx, [esi + 0x94]
mov byte [esp + 0x18], 5
call fcn.12f54670
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 6
call fcn.12f55c40
lea ecx, [esi + 0xc8]
mov byte [esp + 0x18], 7
call fcn.12f54670
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 8
call fcn.12f55c40
mov byte [esp + 0x18], 9
mov dword [esi + 0x100], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x108], edi
mov dword [esi + 0x104], edi
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 0xa
call fcn.12f55c40
lea ecx, [esi + 0x134]
mov byte [esp + 0x18], 0xb
call fcn.12f4cc70
lea ecx, [esi + 0x144]
mov byte [esp + 0x18], 0xc
call fcn.12f4cc70
lea ecx, [esi + 0x154]
mov byte [esp + 0x18], 0xd
call fcn.12f4cc70
lea ecx, [esi + 0x164]
mov byte [esp + 0x18], 0xe
call fcn.12f4cc70
mov byte [esp + 0x18], 0xf
mov dword [esi], 0x1307bca8
push 0x131912a8
mov ecx, ebp
call fcn.12f47570
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x70], 1
mov dword [esi + 0xdc], 1
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x12ed4a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1305d9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 1
push esi
lea ecx, [esp + 0x14]
call fcn.12f56170
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x20], ebx
cmp ecx, ebx
je 0x12e3a30e
mov ecx, dword [ecx]
cmp ecx, ebx
jne 0x12e3a308
cmp eax, ebx
je 0x12e3a323
mov edi, dword [eax]
push eax
call fcn.12f5c050
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a312
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], ebx
cmp eax, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
je 0x12e3a344
mov edi, dword [eax]
push eax
call fcn.12f5c050
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x12e3a333
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.12f561d0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, 0x131b52a8
jmp 0x12e3a2d0
Function at 0x12ed72b0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x20c
mov ecx, 0x131aad68
push esi
push edi
call fcn.12e36a40
mov esi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12ed72e9
mov eax, esi
and eax, 0xffff
push eax
push str.CTSCDTPolicy::GetSysLanguage____d_
push str.SCDTProc
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
test si, si
jne 0x12ed731b
call fcn.12f9d250
mov esi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12ed731b
mov ecx, esi
and ecx, 0xffff
push ecx
push str.CTSCDTPolicy::GetSysLanguage____d_
push str.SCDTProc
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea edx, [esp + 0xc]
push 0x103
push edx
and esi, 0xffff
push 0x1004
push esi
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x131097d0
push ecx
mov dword [esp + 0x14], 0xffffffff
call fcn.12f5d063
mov ax, word [esp + 0x14]
add esp, 0xc
pop edi
pop esi
add esp, 0x20c
ret
Function at 0x12ed7820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x130673a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 4]
xor esi, esi
push 1
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], esi
call fcn.12f56170
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x48], esi
neg ecx
sbb ecx, ecx
cmp ecx, esi
je 0x12ed797f
jmp 0x12ed786c
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
jne 0x12ed788b
mov esi, dword [ebx + 0x28]
xor eax, eax
test esi, esi
jbe 0x12ed788b
mov edx, dword [ebx + 0x24]
mov ecx, dword [edx]
test ecx, ecx
jne 0x12ed788b
inc eax
add edx, 4
cmp eax, esi
jb 0x12ed787d
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x12ed78b8
mov eax, dword [ecx + 4]
mov edi, dword [ebx + 0x28]
inc eax
cmp eax, edi
jae 0x12ed78b8
mov edx, dword [ebx + 0x24]
lea edx, [edx + eax*4]
mov esi, dword [edx]
test esi, esi
mov dword [esp + 0x10], esi
jne 0x12ed78b8
inc eax
add edx, 4
cmp eax, edi
jb 0x12ed78a6
mov ebp, dword [ecx + 8]
mov eax, dword [esp + 0x10]
lea esi, [ecx + 0x10]
mov ecx, 6
lea edi, [esp + 0x28]
mov dword [esp + 0x18], eax
test ebp, ebp
rep movsd dword es:[edi], dword [esi]
je 0x12ed797f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc ecx
cmp eax, 6
mov dword [esp + 0x14], ecx
jne 0x12ed7973
mov ecx, dword [ebx + 0x24]
xor edi, edi
cmp ecx, edi
je 0x12ed7975
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [ebx + 0x28]
mov eax, dword [ecx + edx*4]
cmp eax, edi
lea ecx, [ecx + edx*4]
je 0x12ed7975
cmp dword [eax + 8], ebp
je 0x12ed791b
mov ecx, eax
mov eax, dword [eax]
cmp eax, edi
jne 0x12ed790c
jmp 0x12ed7975
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x2c]
dec eax
mov dword [ebx + 0x2c], eax
jne 0x12ed7975
mov esi, dword [ebx + 0x24]
cmp esi, edi
je 0x12ed7954
mov eax, dword [ebx + 0x28]
cmp eax, edi
jbe 0x12ed7954
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x12ed794e
mov eax, dword [eax]
cmp eax, edi
jne 0x12ed7948
add ecx, 4
dec edx
jne 0x12ed7942
push esi
call fcn.12f5c050
mov ecx, dword [ebx + 0x34]
add esp, 4
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], edi
call fcn.12f54ad0
mov dword [ebx + 0x34], edi
jmp 0x12ed7975
xor edi, edi
cmp dword [esp + 0x10], edi
jne 0x12ed7868
mov eax, dword [0x13199068]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x12ed79a5
mov edx, dword [esp + 4]
push edx
push str.CTSCDTPolicy::ClearLocalPendingSocketMap__lu
push str.SCDTNWRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f561d0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x12edb050
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x12edb092
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x12edb072
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x12edb092
mov eax, dword [esi + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x12edb092
push eax
push 0
call fcn.13005df0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov eax, dword [esi]
test eax, eax
jne 0x12edb09c
pop esi
ret 4
mov ecx, dword [esp + 8]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
mov eax, dword [0x13199068]
test eax, eax
je 0x12edb0cd
mov edx, dword [esi + 4]
push edi
push edx
push str.CTSCDTShareDataMgr::CTSDSyncObjLock::Lock__1__m_wstrKeyName_s___dwWait_08x_
push str.SCDTCheck
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
test edi, edi
je 0x12edb0e0
cmp edi, 0x80
je 0x12edb0e0
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x12edf480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x13067d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.12e9bf00
push 1
push edi
push ecx
mov dword [esp + 0x44], edi
mov ecx, esp
mov dword [esp + 0x14], esp
push str.scdt_hookapi_gateway_proxy_dns_enable
call fcn.12f46b50
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 0
call fcn.12e9c110
lea ecx, [esp + 0xc]
call fcn.12e9c180
test eax, eax
je 0x12edf4fb
lea ecx, [esp + 0xc]
call fcn.12e9c670
mov edi, eax
cmp edi, 1
je 0x12edf4fb
cmp edi, 2
jne 0x12edf4fb
mov dword [esi + 0x84], 0
jmp 0x12edf505
mov dword [esi + 0x84], 1
mov eax, dword [0x13199068]
test eax, eax
je 0x12edf529
mov eax, dword [esi + 0x84]
add esi, 4
push eax
push edi
push str.CTSCDTVPNGatewayMgr::CheckDNSEnable__Num:_d__Enable:_d_
push esi
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.12e9c070
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret

Function at 0x12ee0700
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x131c3208
jmp 0x12ee0730
push 0xffffffffffffffff
push 0x13067db4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.12f55c40
xor ebx, ebx
lea ecx, [esi + 0x244]
mov dword [esp + 0x18], ebx
call fcn.12f55c40
mov eax, 1
mov byte [esp + 0x18], al
mov dword [esi + 0x264], ebx
mov dword [esi + 0x270], ebx
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x268], ebx
mov byte [esp + 0x18], 2
mov dword [esi + 0x2c], eax
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x3c]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x264]
cmp eax, ebx
je 0x12ee07c5
push eax
call fcn.12f5c050
add esp, 4
mov dword [esi + 0x264], ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x26c], ebx
mov dword [esi + 0x268], ebx
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x12ee48b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x130681b8
push eax
mov al, byte [0x131c3480]
mov dword fs:[0], esp
sub esp, 0x2c
test al, 1
push esi
mov esi, ecx
jne 0x12ee48f7
or al, 1
push 0x131912a8
mov ecx, 0x131c347c
mov byte [0x131c3480], al
call fcn.12f46b50
push 0x12ee49c0
call fcn.12f5c4dc
add esp, 4
push 0x131912a8
lea ecx, [esp + 8]
call fcn.12f46b50
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.12e9bf00
push 1
push 0
push ecx
mov byte [esp + 0x44], 1
mov ecx, esp
mov dword [esp + 0x14], esp
push str.sci_copy2clipboard_audit
call fcn.12f46b50
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.12e9c110
lea ecx, [esp + 0xc]
call fcn.12e9c180
test eax, eax
je 0x12ee4959
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
call fcn.12e9c5d0
mov ecx, dword [0x131c347c]
mov edx, dword [esp + 4]
push ecx
push edx
call fcn.12f5e2a4
add esp, 8
test eax, eax
je 0x12ee498c
lea eax, [esp + 4]
mov ecx, 0x131c347c
push eax
call fcn.12f47480
mov ecx, dword [esp + 4]
push ecx
mov ecx, esi
call fcn.12ee49d0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.12e9c070
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.12f472f0
mov ecx, dword [esp + 0x30]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x38
ret
Function at 0x12ee5370
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
lea esi, [ecx + 0x3c]
push esi
call fcn.12f5c51d
add esp, 4
test eax, eax
jne 0x12ee53c8
push edi
mov ecx, 0x81
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 8]
push str.OCularClipboardData
push ecx
push 0x130c4e18
push 0x103
push esi
call fcn.12f5d990
add esp, 0x14
pop edi
push esi
call fcn.12f5c51d
xor edx, edx
add esp, 4
cmp edx, eax
sbb eax, eax
pop esi
neg eax
add esp, 0x208
ret
Function at 0x12ee53f0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1306822b
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
xor ebx, ebx
push esi
cmp ebp, ebx
mov esi, ecx
je 0x12ee55d0
cmp dword [esp + 0x104], ebx
je 0x12ee55d0
push 0x20
push ebp
call fcn.12e339f0
add esp, 8
test eax, eax
jne 0x12ee55d0
push edi
push ebp
mov dword [esp + 0x18], ebx
call fcn.12f5c51d
mov dword [esp + 0x20], eax
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x28]
stosw word es:[edi], ax
mov eax, dword [0x13196fdc]
push eax
push ecx
push str._08x__s_
push 0x63
push edx
call fcn.12f5d990
add esp, 0x14
mov ecx, esi
call fcn.12ee5370
mov ecx, dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
lea eax, [esp + 0x28]
add esi, 0x3c
push eax
push esi
dec ecx
push str._s_s.txt
push ecx
push edi
call fcn.12f5d990
push ebx
push esi
call fcn.12f821d0
add esp, 0x1c
test eax, eax
jne 0x12ee54cc
push eax
push esi
call fcn.12f83000
add esp, 8
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x12ee559f
push 2
lea ecx, [esp + 0x24]
call fcn.12f29950
push esi
mov dword [esp + 0xfc], esi
push edi
mov byte [esp + 0x1a], 0xff
mov byte [esp + 0x1b], 0xfe
mov dword [esp + 0x20], esi
call fcn.12f80030
push ebp
mov esi, eax
call fcn.12f5c51d
add esp, 0xc
test eax, eax
je 0x12ee5589
test esi, esi
jne 0x12ee5589
push esi
push 0x80
push 4
push esi
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x12ee5589
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x1a]
push 2
push eax
push esi
call edi
push 2
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test ebx, ebx
je 0x12ee5573
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push 0
push ecx
lea eax, [edx + edx]
push eax
push ebp
push esi
call edi
mov ebx, eax
jmp 0x12ee557b
mov dword [esp + 0x14], 3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x108]
lea ecx, [esp + 0x20]
mov dword [esp + 0xf8], 0xffffffff
call fcn.12f29980
jmp 0x12ee55a7
mov dword [esp + 0x14], 2
mov eax, dword [0x13199068]
test eax, eax
je 0x12ee55cb
mov ecx, dword [esp + 0x14]
push edi
push ebx
push ecx
push str.AddClipboardTextToFile_____dwErrno:_lu__bWrite:_d__FilePath:_s_
push str.SCIRule
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x18
mov eax, ebx
pop edi
jmp 0x12ee55d2
xor eax, eax
mov ecx, dword [esp + 0xec]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret 0x10
Function at 0x12eefcc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x131c3918
jmp 0x12eefcf0
push 0xffffffffffffffff
push 0x13068d01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x40]
mov dword [esp + 0x18], edi
call fcn.12f55c40
lea ebx, [esi + 0x60]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.12f4cc70
mov byte [esp + 0x18], 2
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x18], eax
call fcn.12e30170
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esi + 0x1c], eax
call fcn.12f4cce0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret