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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100701f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
mov esi, ecx
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1001b1e1
cmp word [ebp - 0x210], 0
je 0x1001b1e1
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.10006e50
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.1000b730
cmp dword [ebp - 0x214], 8
jb 0x1001b2ff
push dword [ebp - 0x228]
jmp 0x1001b2f7
xor eax, eax
mov dword [ebp - 0x22c], 7
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
call fcn.1001b000
test al, al
je 0x1001b236
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x240]
push eax
call fcn.100073e0
jmp 0x1001b2e8
push 3
xor eax, eax
mov dword [ebp - 0x214], 7
push 0x1006b5d4
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
call fcn.10007bc0
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov word [esi], ax
lea eax, [ebp - 0x228]
push eax
call fcn.100073e0
push 1
push 0
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push eax
mov ecx, esi
call fcn.10007500
cmp eax, 0xffffffff
je 0x1001b2b4
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.10007d90
cmp dword [ebp - 0x214], 8
jb 0x1001b2cb
push dword [ebp - 0x228]
call fcn.1004245e
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
cmp dword [ebp - 0x22c], 8
jb 0x1001b2ff
push dword [ebp - 0x240]
call fcn.1004245e
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10042bf9
mov esp, ebp
pop ebp
ret

Function at 0x1001b310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x100701f0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1001b409
cmp eax, 0x104
ja 0x1001b409
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.10006e50
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000b730
mov ecx, eax
call fcn.1000c0c0
cmp esi, eax
je 0x1001b396
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100073e0
cmp dword [ebp - 0x214], 8
jb 0x1001b3ad
push dword [ebp - 0x228]
call fcn.1004245e
add esp, 4
xor eax, eax
mov dword [ebp - 0x214], 7
cmp dword [ebp - 0x244], 8
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
jb 0x1001b3e1
push dword [ebp - 0x258]
call fcn.1004245e
add esp, 4
cmp dword [ebp - 0x22c], 8
jb 0x1001b3f8
push dword [ebp - 0x240]
call fcn.1004245e
add esp, 4
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
Function at 0x1001cf00
Capabilities:
Get thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.1001d270
test al, al
je 0x1001cf6d
mov eax, dword [0x100717c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x1001cf25
call fcn.1002c060
mov ecx, eax
mov eax, dword [0x10072eac]
cmp dword [ecx + eax*4], 0
jne 0x1001cf6d
push 0x70
call fcn.1004240d
add esp, 4
test eax, eax
je 0x1001cf4a
push esi
mov ecx, eax
call fcn.1001cb50
mov esi, eax
jmp 0x1001cf4c
xor esi, esi
mov eax, dword [0x100717c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x1001cf65
call fcn.1002c060
mov ecx, eax
mov eax, dword [0x10072eac]
mov dword [ecx + eax*4], esi
pop esi
ret

Function at 0x1001cf70
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [0x10072ea8], 0
push ebx
push esi
push edi
jne 0x1001cf82
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x100717c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x1001cf9b
call fcn.1002c060
mov ecx, eax
mov eax, dword [0x10072eac]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x1001d032
mov ecx, 0x10072e88
xor edi, edi
xor ebx, ebx
call fcn.1001c6c0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x10072ea4]
test ecx, ecx
je 0x1001cfdb
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x10072ea4], eax
mov dword [ecx + 4], ebx
jmp 0x1001cfe8
mov ebx, dword [0x10072ec0]
inc ebx
mov dword [0x10072ec0], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x1001d00f
push 0x70
call fcn.1004240d
add esp, 4
test eax, eax
je 0x1001d00d
push ebx
mov ecx, eax
call fcn.1001ccd0
mov edi, eax
jmp 0x1001d00f
xor edi, edi
mov eax, dword [0x100717c0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x1001d028
call fcn.1002c060
mov ecx, eax
mov eax, dword [0x10072eac]
mov dword [ecx + eax*4], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10022640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x100226ae
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x1006ab10]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x1006ab10]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x1006ab10]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x1006ab10]
dec ebx
jne 0x10022657
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100240b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi], 0x1006ba84
mov dword [esi + 4], edi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov eax, dword [edi + 0x204]
mov dword [esi + 0x20], eax
call fcn.1000e6b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov dword [ebp + 8], esi
mov edx, dword [eax + 0x54]
lea ecx, [eax + 0x50]
mov eax, dword [ecx]
cmp eax, edx
je 0x10024127
cmp dword [eax], esi
je 0x10024123
add eax, 4
cmp eax, edx
jne 0x10024118
cmp eax, edx
jne 0x10024130
lea eax, [ebp + 8]
push eax
call fcn.1000eee0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [0x10073db5]
lea ecx, [edi + 0x1d0]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10029110
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100241a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [edi], 0x1006ba84
call fcn.1000e6b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
cmp edx, ecx
je 0x1002420a
cmp dword [edx], edi
je 0x100241df
add edx, 4
cmp edx, ecx
jne 0x100241d4
cmp edx, ecx
je 0x1002420a
cmp dword [esi + 0x5c], 0
je 0x100241f1
mov dword [edx], 0
jmp 0x1002420a
mov eax, ecx
lea ecx, [edx + 4]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push edx
call fcn.100425b0
add esp, 0xc
add dword [esi + 0x54], 0xfffffffc
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10024275
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x1002422e
cmp edx, 0x7fffffff
jne 0x1002422e
movsd xmm0, qword [0x10070058]
jmp 0x1002423b
call fcn.10043c7f
divsd xmm0, qword [0x1006be08]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [esp + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov ecx, edi
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
push 0
call fcn.10024310
add esp, 4
mov edx, esi
mov ecx, eax
call fcn.10028e70
add esp, 0xc
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 8], 0
je 0x100242b0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x204]
cmp dword [edi + 0x20], eax
jne 0x100242b0
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov eax, esp
mov dword [edi + 8], 0
mov dword [eax], edx
mov eax, dword [ecx]
push dword [edi + 0xc]
call dword [eax + 8]
call fcn.1000e6b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
add ecx, 0x1d0
lea eax, [esp + 0xc]
push eax
call fcn.10027cd0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 4]
xor edx, edx
mov ecx, dword [ecx + 0x1c4]
call fcn.10015b50
mov esi, dword [edi + 8]
test esi, esi
je 0x10024302
mov ecx, esi
call fcn.100289a0
push esi
call fcn.1004245e
add esp, 4
mov dword [edi], method.std::error_category.virtual_4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026d90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x10026db5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1c4]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x10026e0a
push dword [edi + 0x1c4]
call esi
mov ebx, eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x10026e0a
mov edx, dword [ebp + 0xc]
cmp edx, dword [esi + 0x1808]
jne 0x10026e0d
mov ecx, dword [ebp + 0x10]
movzx eax, cx
cmp eax, dword [ebx + 0xc]
jne 0x10026e0d
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, esi
je 0x10026e0d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
je 0x10026e29
cmp byte [esi + 4], 0
jne 0x10026e29
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x1f0]
test ecx, ecx
je 0x10026e67
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, dword [edi + 0x1f4]
jne 0x10026e67
cmp edx, dword [ecx + 0x1808]
jne 0x10026daa
mov eax, dword [ebp + 0x12]
movzx eax, ax
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10028560
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [0x1007386c]
mov dword [esp], 0
push esi
test eax, 0xfffffffe
jne 0x100285dc
mov ecx, 1
mov edx, 0x1007386c
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x100285b8
mov eax, dword [0x1007386c]
cmp eax, 1
jne 0x100285dc
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0
call esi
mov eax, dword [0x1007386c]
cmp eax, 1
je 0x100285a0
mov eax, dword [0x1007386c]
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x10073870], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10073870], eax
cmp eax, 0xffffffff
je 0x100285e6
mov dword [0x1007386c], 0x10073870
mov eax, dword [0x1007386c]
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10008f00
int3

Function at 0x10028c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, dword [edx + 0x10]
jb 0x10028c53
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x10028c71
mov edi, edi
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x10028c60
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.1004743d
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x10028c9d
mov eax, edx
pop edi
pop esi
pop ebp
ret 4
Function at 0x1002c060
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x100701f0]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
mov ebx, dword [0x100717c0]
mov dword [esp + 4], 0
mov dword [esp + 4], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x1002c0cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, 0xffffffff
je 0x1002c135
mov ecx, ebx
mov edx, 0x100717c0
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x1002c0cd
push ebx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov ebx, dword [0x100717c0]
mov dword [esp + 0xc], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1002c135
push 0x400
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100435c0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.10041be2
add esp, 4
lea esi, [esp + 0x10]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
call fcn.10008f00
int3

Function at 0x1002c140
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x100701f0]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x100717c0]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.10042bf4
add esp, 4
mov edi, 0x100
jmp 0x1002c1a0
mov esi, dword [0x1007387c]
xor dl, dl
test esi, esi
jle 0x1002c1d8
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x1002c1d3
mov eax, dword [esi*4 + 0x10073880]
test eax, eax
je 0x1002c1d3
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x1002c1b0
dec edi
test edi, edi
jle 0x1002c1e1
test dl, dl
jne 0x1002c1a0
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
Function at 0x1003244b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x100701f0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x58], 0
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
inc ebx
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x10032546
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push 0
push ecx
push esi
call dword [eax + 0x18]
push eax
call fcn.1002ff92
cmp dword [ebp - 0x58], 0
pop ecx
pop ecx
jne 0x10032546
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
and dword [ebp - 0x54], 0
push ecx
push dword [0x10070004]
push esi
call dword [eax]
test eax, eax
jne 0x10032535
and dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x54]
push eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
and dword [ebp - 0x50], 0
lea ecx, [ebp - 0x50]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x18]
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push eax
call fcn.10030110
mov esi, str.connect
push esi
call fcn.10005bf0
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
push esi
push dword [ebp - 0x3c]
push 0
call fcn.10007e40
lea ecx, [ebp - 0x4c]
push 0
test eax, eax
jne 0x10032527
push ebx
call fcn.10002f90
push dword [ebp - 0x50]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100325ee
and dword [ebp - 0x54], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100325ee
push ebx
call fcn.10002f90
push dword [ebp - 0x50]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x10032546
and dword [ebp - 0x54], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x34]
call fcn.1000b710
lea eax, [ebp - 0x34]
push eax
push 6
call fcn.1000f5e0
pop ecx
pop ecx
test al, al
jne 0x10032566
xor bl, bl
jmp 0x100325e6
push str.__silent_launch___viewer_connect
lea ecx, [ebp - 0x1c]
call fcn.10006e50
test edi, edi
je 0x10032588
push edi
call fcn.10005bf0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.10008680
push 0x38
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x3c
push 0
push eax
call fcn.100435c0
add esp, 0xc
mov dword [ebp - 0x78], ebx
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x7c], 0x1006b298
cmovae eax, dword [ebp - 0x34]
cmp dword [ebp - 8], 8
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0
push ebx
lea ecx, [ebp - 0x1c]
call fcn.10002f90
lea ecx, [ebp - 0x34]
call fcn.10002370
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
Function at 0x10034228
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x100701f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 0x70]
push 0x6c
push esi
push eax
mov dword [ebp - 0x74], esi
call fcn.100435c0
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor eax, eax
inc eax
add esp, 0xc
mov edi, esi
test byte [ebp + 0xc], al
je 0x10034276
push 0x10
mov dword [ebp - 0x74], eax
pop eax
push esi
push eax
mov word [ebp - 0x70], ax
call ebx
mov word [ebp - 0x6e], ax
xor eax, eax
inc eax
mov edi, eax
test byte [ebp + 0xc], 2
je 0x10034296
imul esi, edi, 0x1c
push 0x11
mov dword [ebp + esi - 0x74], eax
pop eax
push 0
push eax
mov word [ebp + esi - 0x70], ax
call ebx
mov word [ebp + esi - 0x6e], ax
inc edi
test byte [ebp + 0xc], 4
je 0x100342ba
imul esi, edi, 0x1c
push 0x12
pop eax
push 0
push eax
mov dword [ebp + esi - 0x74], 1
mov word [ebp + esi - 0x70], ax
call ebx
mov word [ebp + esi - 0x6e], ax
inc edi
mov ax, word [ebp + 8]
imul esi, edi, 0x1c
push 0
mov word [ebp + esi - 0x70], ax
movzx eax, ax
push eax
mov dword [ebp + esi - 0x74], 1
call ebx
inc edi
mov word [ebp + esi - 0x6e], ax
cmp edi, 1
setg bl
mov byte [ebp - 0x75], bl
test edi, edi
jle 0x10034318
lea esi, [ebp - 0x6c]
mov ebx, edi
push 0x1c
lea eax, [esi - 8]
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
or dword [esi], 2
cmp byte [ebp - 0x75], 0
je 0x1003430d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x1c
dec ebx
jne 0x100342ee
mov bl, byte [ebp - 0x75]
test edi, edi
je 0x10034341
imul eax, edi, 0x1c
lea esi, [ebp + eax - 0x90]
push 0x1c
push esi
push 1
call dword [sym.imp.USER32.dll_SendInput]
test bl, bl
je 0x1003433b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 0x1c
dec edi
jne 0x10034324
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042bf9
mov esp, ebp
pop ebp
ret
Function at 0x10038d0b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100701f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x10038d74
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x10038d74
call fcn.10037ef5
mov esi, eax
jmp 0x10038e15
push dword [ebp - 0x410]
push dword [ebp - 0x40c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10038d94
call fcn.10037ef5
jmp 0x10038e08
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10038d8d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x10038dba
mov esi, 0x8007000e
jmp 0x10038e0a
push eax
lea ecx, [ebp - 0x408]
call fcn.10037d17
cmp dword [ebp - 0x408], 0
je 0x10038db3
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10038d8d
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.10038bd0
mov esi, eax
test edi, edi
je 0x10038e15
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x10038e2e
lea ecx, [ebp - 0x408]
call fcn.1003839d
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042bf9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100394f7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x1003950a
push 0xd
pop eax
jmp 0x1003954e
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x1003951d
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10039515
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10039555
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10039567
push 0xd
pop eax
jmp 0x10039599
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10039570
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc