joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404890
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42b6e7
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x435ad8]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
mov eax, dword [0x435ad8]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
push 0xa
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00408da3
xor ebx, ebx
mov dword [esp + 0x444], ebx
lea ebp, [edi + 0x1c]
call fcn.004091c9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4048fd
push 0x80004005
call fcn.004061d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x444], 1
call fcn.004091c9
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40492e
push 0x80004005
call fcn.004061d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x20], eax
push 1
push edi
mov byte [esp + 0x44c], 2
call fcn.00404520
push ebx
push edi
call fcn.00404520
push 0x104
lea ecx, [esp + 0x345]
push ebx
push ecx
mov byte [esp + 0x34c], bl
call fcn.00418020
lea esi, [esp + 0x34c]
call fcn.004074c0
mov edx, esi
push edx
push str.__sbincertutil.exe_
push ebp
call fcn.004068b0
push 0x104
lea eax, [esp + 0x255]
push ebx
push eax
mov byte [esp + 0x25c], bl
call fcn.00418020
push 0x104
lea ecx, [esp + 0x51]
push ebx
push ecx
mov byte [esp + 0x58], bl
call fcn.00418020
add esp, 0x40
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x404a02
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x404a02
cmp dword [esp + 0x10], ebx
jne 0x404a1c
call fcn.00407c20
test eax, eax
jne 0x404a1c
push str.Program_Files
push 0x101
lea ecx, [esp + 0x23]
push ecx
jmp 0x404a2b
push str.Program_Files__X86_
push 0x101
lea edx, [esp + 0x23]
push edx
call fcn.00414d9f
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push str._siniLINECrossEXcrossex_rootCA.crt
lea edx, [esp + 0x230]
call fcn.00406160
lea ecx, [esp + 0x230]
push ecx
call fcn.00407080
add esp, 0xc
test eax, eax
je 0x404ab4
push 0x104
lea edx, [esp + 0x125]
push ebx
push edx
mov byte [esp + 0x12c], bl
call fcn.00418020
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x238]
call fcn.00407c90
lea eax, [esp + 0x130]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404a98
sub eax, edx
push eax
lea ecx, [esp + 0x124]
push ecx
lea ecx, [edi + 0x20]
call fcn.00406780
mov edx, dword [edi + 0x20]
cmp dword [edx - 0xc], ebx
lea ecx, [edi + 0x20]
jne 0x404acb
push 0x17
push str.iniLINE_CrossEX_RootCA2
call fcn.00406780
mov eax, edi
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004149ab
add esp, 0x438
ret
Function at 0x4065a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4065b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4065f4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4065f0
lea ebx, [ebx]
cmp esi, eax
jae 0x4065f4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4065e0
cmp esi, eax
jb 0x4065fa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407590
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x238
mov eax, dword [0x435ad8]
xor eax, esp
mov dword [esp + 0x234], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4075c7
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x124
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00418020
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x407665
push str.firefox.exe
lea edx, [esp + 0x134]
push 0x105
push edx
call fcn.00414d9f
lea eax, [esp + 0x13c]
push 0x105
push eax
call fcn.00416ccb
add esp, 0x14
mov edi, edi
lea ecx, [esp + 0x2c]
push 0x104
push ecx
call fcn.00416ccb
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00414fc5
add esp, 0x10
test eax, eax
jne 0x407659
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407620
jmp 0x40765e
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004149ab
mov esp, ebp
pop ebp
ret

Function at 0x407680
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x435ad8]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4076bc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 0xc], eax
push 0x124
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00418020
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4077b8
push str.firefox.exe
lea eax, [esp + 0x13c]
push 0x105
push eax
call fcn.00414d9f
lea ecx, [esp + 0x144]
push 0x105
push ecx
call fcn.00416ccb
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
add esp, 0x14
lea edx, [esp + 0x34]
push 0x104
push edx
call fcn.00416ccb
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00414fc5
add esp, 0x10
test eax, eax
je 0x40779a
mov edx, dword [esp + 0x18]
push edx
push 0
push 0x1f0fff
call edi
mov esi, eax
test esi, esi
jne 0x40776d
mov eax, dword [esp + 0x18]
push eax
push esi
push 1
call edi
mov esi, eax
test esi, esi
je 0x40779a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x18], eax
je 0x40778e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407721
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x244]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004149ab
mov esp, ebp
pop ebp
ret
Function at 0x407880
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x435ad8]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.00418020
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x4078d5
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
je 0x4078fe
cmp dword [esp + 0x14], 2
jne 0x4078fe
cmp dword [esp + 8], 6
jb 0x4078fe
mov eax, 1
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004149ab
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004149ab
add esp, 0xa0
ret
Function at 0x407c90
Capabilities:
Decode data using base64 via winapi
Read file on windows

Disassembly:
sub esp, 8
push ebp
push 0x42fa08
push eax
lea ecx, [esp + 0xc]
xor ebp, ebp
push ecx
mov dword [esp + 0x10], ebp
call fcn.0041629d
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp eax, ebp
jne 0x407cbd
or eax, 0xffffffff
pop ebp
add esp, 8
ret
push esi
push edi
push 2
push ebp
push eax
call fcn.00416374
mov edx, dword [esp + 0x18]
push edx
call fcn.00416591
push ebp
mov edi, eax
mov eax, dword [esp + 0x20]
push ebp
push eax
call fcn.00416374
push edi
call fcn.00415cb2
mov esi, eax
add esp, 0x20
cmp esi, ebp
je 0x407d9b
mov ecx, dword [esp + 0xc]
push ecx
push edi
push 1
push esi
call fcn.0041685c
mov edx, dword [esp + 0x1c]
push edx
call fcn.004168ea
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
add esp, 0x14
push ebp
push ebp
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ebp
push esi
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
je 0x407d89
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.00415cb2
add esp, 4
push ebp
push ebp
lea edx, [esp + 0x1c]
push edx
mov ebx, eax
push ebx
push ebp
push ebp
push esi
call edi
test eax, eax
je 0x407d7f
mov eax, dword [esp + 0x14]
push eax
push ebx
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov edi, eax
cmp edi, ebp
je 0x407d7f
mov ecx, dword [esp + 0x1c]
push 0x104
push ecx
push ebp
push ebp
push 4
push edi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringA]
push edi
mov ebp, eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push ebx
call fcn.00415816
add esp, 4
pop ebx
push esi
call fcn.00415816
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0xc]
push edx
call fcn.004168ea
add esp, 4
pop edi
pop esi
mov eax, 0xfffffffe
pop ebp
add esp, 8
ret
Function at 0x4097b5
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xe0]
sub esp, 0x160
mov eax, dword [0x435ad8]
xor eax, ebp
mov dword [ebp + 0xdc], eax
cmp dword [ebp + 0xec], 0x800
mov eax, dword [ebp + 0xe8]
push esi
mov dword [ebp - 0x3c], eax
mov esi, ecx
lea eax, [ebp - 0x40]
jne 0x40984d
push 0x42c98c
push 4
push eax
call fcn.00414d9f
push eax
call fcn.00406250
add esp, 0x10
push ebx
push edi
call fcn.00417767
mov edi, dword [eax]
call fcn.00417767
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00414d0f
add esp, 0x18
mov dword [ebp - 0x3c], eax
call fcn.00417767
cmp dword [eax], ebx
je 0x409864
call fcn.00417767
push dword [eax]
call fcn.00408390
pop ecx
jmp 0x40986b
push 4
push eax
push 3
push dword [ebp + 0xec]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x409801
jmp 0x4098dd
call fcn.00417767
mov dword [eax], edi
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4098d9
cmp dword [ebp - 0x3c], esi
jae 0x4098d9
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.00418020
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4098cb
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4098cb
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4098cb
push ebx
push ebx
push esi
jmp 0x4098d1
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4098db
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0xdc]
xor ecx, ebp
pop esi
call fcn.004149ab
add ebp, 0xe0
leave
ret
Function at 0x411b6c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x411b9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x411bb8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00411ad6
jmp 0x411bb8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x411bb8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00411ad6
test edi, edi
mov eax, edi
jne 0x411ba2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x438b88]
test ecx, ecx
je 0x411c7b
jmp 0x411b6b
ret 8

Function at 0x4149ab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435ad8]
jne 0x4149b5
repz ret
jmp fcn.0041a278

Function at 0x41d1c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0041cd74
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
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x41d24a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041cdbf
push eax
push esi
push dword [ebp + 8]
call fcn.0041cd74
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041cdaf
fbld tbyte [edx - 0x6277e41b]
jl 0x41d234
invalid
invalid

Function at 0x41d297
Capabilities:
Inspect section memory permissions

Disassembly:
lea eax, [ebp - 0x84]
push eax
call fcn.0041cdbf
push eax
push esi
push dword [ebp + 8]
invalid
invalid
cli
invalid

Function at 0x41d3e8
Capabilities:
Inspect section memory permissions

Disassembly:
adc al, 0x8b
mov ebp, 0xffffff78
mov eax, dword [ebp - 0x44]
jmp 0x41d346

Function at 0x41ed44
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x41ed92
lea eax, [ebp - 0x714]
push eax
call fcn.0041cdbf
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.0041cd74
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x41ed92
jmp fcn.0041e751
cmp dword [ebp - 0x37c], 0
je 0x41eda0
jmp 0x41ee55
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x41edf9
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x41edfe
jmp fcn.0041e751
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
invalid
invalid
pop esp
cld
Function at 0x42a5b2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x435ad8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042a547
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 fcn.00418020
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 0x42a601
cmp dword [ebp - 0x1c], 5
jb 0x42a619
jmp 0x42a615
cmp dword [ebp - 0x10], 1
jne 0x42a619
cmp dword [ebp - 0x1c], 4
ja 0x42a615
jne 0x42a619
cmp dword [ebp - 0x18], 0
jbe 0x42a619
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42f554
call fcn.0042a438
test eax, eax
jge 0x42a63a
mov byte [0x4399e4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004149ab
add ebp, 0x78
leave
ret
Function at 0x10001bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001bce
push 0
push 0
push 0
push 0x10001ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100115f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001164b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001164b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10011638
cmp esi, edx
jae 0x1001164b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10011626
cmp esi, edx
jae 0x1001164b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10011860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001cb17
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10028008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa8], 0
push 0
push 0x1001e9f3
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10001de0
push 0x88
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xa8], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa0]
push 0
push eax
push 0x1001f9ac
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
jg 0x100119a5
lea ecx, [ebp - 0xcc]
call fcn.10011660
push eax
mov ecx, esi
call fcn.10005a30
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x10011967
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001195d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001195d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a58a
add esp, 8
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push str.telementry.cab
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 0x10
mov edi, eax
mov eax, esi
jb 0x10011990
mov eax, dword [esi]
push 0
push 0
push dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
jmp 0x10011a23
push 0x20
mov dword [ebp - 0x14], 0
call fcn.1001a923
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xb0], ebx
push 0
push eax
push 0x20
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
mov bl, byte [edi + ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [ebp - 0x18], bl
cmp ecx, edx
jae 0x100119f9
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x100119ef
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10011a11
push dword [ebp - 0x18]
mov byte [ebp - 0xac], 0
push dword [ebp - 0xac]
push ecx
mov ecx, esi
call fcn.100063b0
mov ebx, dword [ebp - 0xb0]
inc edi
cmp edi, 0x20
jl 0x100119d0
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a029
mov esp, ebp
pop ebp
ret
Function at 0x10013a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001cfdd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x10028008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, 0x1002812c
cmp dword [0x10028140], 8
cmovae eax, dword [0x1002812c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [ebp - 0x20], 0x64616f4c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x7262694c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x41797261
sub eax, ecx
mov dword [ebp - 0x38], 0
push eax
mov eax, ecx
mov dword [ebp - 0x28], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
call fcn.10005e10
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x24]
mov esi, eax
cmp ecx, 0x10
jb 0x10013b22
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013b18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013b18
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a58a
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
test esi, esi
je 0x10013b48
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call esi
mov esi, eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10013b7e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013b74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013b74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a58a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d015
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x10028008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x10028d4c]
test ecx, ecx
jne 0x10013d20
cmp dword [0x10028d48], ecx
jne 0x10013c72
cmp dword [0x10028140], 8
mov eax, 0x1002812c
cmovae eax, dword [0x1002812c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x10028d48], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x64616f4c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x7262694c
sub eax, ecx
mov dword [ebp - 0x18], 0x57797261
push eax
mov eax, ecx
mov dword [ebp - 0x38], 0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
call fcn.10005e10
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push dword [0x10028d48]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [0x10028d4c], ecx
cmp eax, 0x10
jb 0x10013d0e
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013cfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013cfe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a58a
mov ecx, dword [0x10028d4c]
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae esi, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp + 0x1c]
mov esi, eax
cmp ecx, 8
jb 0x10013d79
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10013d6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013db3
push ecx
push edx
call fcn.1001a58a
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 0x10
jb 0x10013dc3
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013db9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10013db9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001a58a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret