joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102fe87
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 8]
push eax
push edi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x102fef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x102fec2
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x102fef0
push eax
push 0x1006dbc
push 0x1ef
push 0x1006d38
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov esi, dword [ebp - 8]
jmp 0x102ff7d
mov esi, dword [ebp - 8]
cmp esi, edi
je 0x102ff88
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x102ff1e
cmp dword [esi + 0x18], edi
je 0x102ff7d
mov eax, dword [esi + 0x18]
add eax, 4
push eax
call fcn.0102f02e
xor ecx, ecx
cmp al, 1
sete cl
inc ecx
jmp 0x102ff7a
cmp eax, 0x17
jne 0x102ff7d
cmp dword [esi + 0x18], edi
je 0x102ff7d
mov eax, dword [esi + 0x18]
lea edi, [eax + 8]
push edi
call fcn.0102f065
cmp al, 1
jne 0x102ff41
mov dword [ebx + 0x18], 3
jmp 0x102ff7d
mov ax, word [edi]
cmp ax, word [0x1007c08]
jne 0x102ff56
mov dword [ebx + 0x18], 4
jmp 0x102ff7d
push edi
call fcn.0102fe3d
cmp al, 1
jne 0x102ff69
mov dword [ebx + 0x18], 5
jmp 0x102ff7d
push edi
call fcn.0102fe62
xor ecx, ecx
cmp al, 1
setne cl
lea ecx, [ecx + ecx + 6]
mov dword [ebx + 0x18], ecx
test esi, esi
je 0x102ff88
push esi
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10303a0
Capabilities:
Resolve dns

Disassembly:
push 0x24
mov eax, 0x1043b74
call fcn.0102da74
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x30]
call fcn.0103273a
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.0103280e
mov ebx, eax
cmp ebx, edi
jge 0x10303fa
push ebx
push 0x1006e2c
push 0x154
push 0x1006d38
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x103042d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.010301f4
mov ebx, eax
cmp ebx, edi
jge 0x103041a
push ebx
push 0x1006e2c
push 0x159
jmp 0x10303e4
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [ebp - 0x2c], edi
ja 0x103046a
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
or dword [eax + 0x30], ecx
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.01030cdf
cmp dword [ebp - 0x10], edi
je 0x1030449
push dword [ebp - 0x10]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x30]
call fcn.0103274f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01032804
mov eax, ebx
call fcn.0102db60
ret 4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push edi
push dword [ecx + eax*4]
mov ecx, dword [ebp - 0x28]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
je 0x103049f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1030499
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x103051d
mov esi, dword [ebp - 0x10]
jmp 0x10304ef
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x10304cf
cmp dword [esi + 0x18], edi
je 0x10304ec
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
push dword [eax + ecx*4]
call fcn.0102fc9a
test eax, eax
jne 0x10304ec
or dword [ebp - 0x14], 2
jmp 0x10304ec
cmp eax, 0x17
jne 0x10304ec
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x10304ec
add eax, 8
push eax
call fcn.0102f065
test al, al
je 0x10304ec
or dword [ebp - 0x14], 1
mov esi, dword [esi + 0x1c]
cmp esi, edi
jne 0x10304a4
push dword [ebp - 0x10]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
cmp dword [ebp - 0x14], 3
mov dword [ebp - 0x10], edi
je 0x1030424
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x2c]
jb 0x1030467
jmp 0x1030424
push ebx
push 0x1006e2c
push 0x16a
jmp 0x10303e4

Function at 0x1030532
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x1030545
mov eax, 0x8000ffff
jmp 0x1030583
push dword [0x104a368]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
cmp eax, edi
jne 0x1030581
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1030581
push dword [0x104a368]
push edi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi], eax
cmp eax, edi
jne 0x1030581
mov edi, 0x80004005
mov eax, edi
pop edi
pop esi
ret
Function at 0x10305d3
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, ecx
mov eax, dword [edi]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
jne 0x1030602
mov dword [ebp - 8], 0x8000ffff
jmp 0x10306a5
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x103063f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [0x104a35c]
mov dword [ebp - 0x14], 1
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1030648
mov dword [ebp - 8], 0x80004005
jmp 0x1030686
push esi
add edi, 4
push 4
mov dword [ebp - 0xc], edi
mov esi, 0x104a36c
pop edi
push edi
push dword [ebp - 0xc]
push edi
push ebx
push dword [esi]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x103067b
add dword [ebp - 0xc], edi
add esi, edi
cmp esi, 0x104a380
jl 0x1030657
jmp 0x1030682
mov dword [ebp - 8], 0x80004005
mov edi, dword [ebp - 0x10]
pop esi
cmp dword [ebp - 4], ebx
je 0x1030697
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 1
jne 0x10306a5
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret

Function at 0x10306cd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov eax, dword [edi]
push 4
pop esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], esi
cmp eax, ebx
jne 0x1030703
mov dword [ebp - 8], 0x8000ffff
jmp 0x10307a2
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1030734
xor eax, eax
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push ebx
push dword [0x104a35c]
mov dword [ebp - 0x14], eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x103073d
mov dword [ebp - 8], 0x80004005
jmp 0x1030783
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push ebx
shl esi, 2
push dword [esi + 0x104a36c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x103077b
push dword [ebp + 8]
mov ecx, edi
call fcn.0103058b
mov eax, dword [esi + edi + 4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x1030783
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], ebx
je 0x1030794
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 1
jne 0x10307a2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10307cb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov eax, dword [ebx]
push 4
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edi
cmp eax, esi
jne 0x1030801
mov dword [ebp - 8], 0x8000ffff
jmp 0x1030889
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1030859
xor eax, eax
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push esi
push dword [0x104a360]
mov dword [ebp - 0x14], eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030859
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [eax*4 + 0x104a380]
mov dword [ebp - 0xc], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1030862
mov dword [ebp - 8], 0x80004005
jmp 0x103086a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], esi
je 0x103087b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 1
jne 0x1030889
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1030898
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov eax, dword [ebx]
push 4
pop edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], edi
cmp eax, esi
jne 0x10308ce
mov dword [ebp - 8], 0x8000ffff
jmp 0x1030956
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1030926
xor eax, eax
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push esi
push dword [0x104a364]
mov dword [ebp - 0x14], eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030926
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [eax*4 + 0x104a3a0]
mov dword [ebp - 0xc], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x103092f
mov dword [ebp - 8], 0x80004005
jmp 0x1030937
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 4], esi
je 0x1030948
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 1
jne 0x1030956
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10309a9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov eax, dword [ebx]
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 4
cmp eax, esi
jne 0x10309fc
mov eax, 0x80004003
push eax
push 0x1007260
push 0x8b
push 0x1007198
push 0x10018c8
mov ecx, 0x104abe8
mov dword [ebp - 8], eax
call fcn.0102f8f0
jmp 0x1030ad3
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1030a18
mov dword [ebp - 8], 0x80004005
jmp 0x1030ad3
push edi
xor eax, eax
lea ecx, [ebp - 4]
push ecx
inc eax
push eax
push esi
push dword [0x104a35c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0x80000001
push edi
mov dword [ebp - 0x10], eax
call esi
test eax, eax
je 0x1030a96
mov ecx, ebx
call fcn.01030965
mov dword [ebp - 8], eax
test eax, eax
jge 0x1030a58
push eax
push 0x1007260
push 0xa0
jmp 0x1030a80
lea eax, [ebp - 4]
push eax
push 1
push 0
push dword [0x104a35c]
push edi
call esi
test eax, eax
je 0x1030a96
mov eax, 0x80004005
push eax
push 0x1007260
mov dword [ebp - 8], eax
push 0xa9
push 0x1007198
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x1030ad2
mov dword [ebp - 0xc], 4
xor esi, esi
lea edi, [ebx + 4]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push dword [esi*4 + 0x104a36c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1030ac9
push esi
mov ecx, ebx
call fcn.0103058b
inc esi
add edi, 4
cmp esi, 5
jl 0x1030aa2
pop edi
cmp dword [ebp - 4], 0
je 0x1030ae6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 1
jne 0x1030af4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x1030b00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x1043b9c
call fcn.0102da74
mov dword [ebp - 0x28], ecx
xor edi, edi
xor esi, esi
inc esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov eax, dword [ecx]
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x1030b3b
mov dword [ebp - 0x14], 0x8000ffff
jmp 0x1030c62
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1030b57
mov dword [ebp - 0x14], 0x80004005
jmp 0x1030c40
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push dword [0x104a364]
mov dword [ebp - 0x24], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1030b4b
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
push edi
lea esi, [esi*4 + 0x104a394]
push dword [esi]
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x1030ba6
mov dword [ebp - 0x14], 0x80004001
jmp 0x1030c40
cmp dword [ebp - 0x10], edi
jbe 0x1030b4b
shr dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
push 0x104a890
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0102ddd1
pop ecx
pop ecx
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x1030bdd
mov dword [ebp - 0x14], 0x8007000e
jmp 0x1030c40
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx + ecx + 2]
push ecx
push edi
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea eax, [eax + eax + 2]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push edi
push dword [esi]
push dword [ebp - 0x18]
call ebx
push dword [ebp + 8]
test eax, eax
je 0x1030c22
mov dword [ebp - 0x14], 0x80004005
call fcn.0102d44c
pop ecx
jmp 0x1030c40
lea ecx, [ebp - 0x1c]
call fcn.0100ac19
push dword [ebp + 8]
call fcn.0102d44c
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0100ac5d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp dword [ebp - 0x18], edi
je 0x1030c51
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x24], 1
jne 0x1030c62
mov eax, dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
call fcn.0102db60
ret 8
Function at 0x1031c38
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi], esi
je 0x1031c4e
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x10
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
cmp ecx, ebx
je 0x1031c89
push edi
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [esi + 4], ecx
pop edi
push ebx
push ebx
push esi
push 0x1031b5a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x1031cbe
push ebx
push 0x10077a4
push 0x8a
push 0x1007730
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x1031cc5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1031cd0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
cmp esi, edi
je 0x1031ce9
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
jmp 0x1031cf7
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp + 8]
je 0x1031cfd
mov esi, dword [esi]
cmp esi, edi
jne 0x1031ced
jmp 0x1031d27
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1031d18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [edi], edi
je 0x1031d67
push ebx
push ebx
push edi
push 0x1031b5a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x1031d60
push ebx
push 0x10077d4
push 0x127
push 0x1007730
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
jmp 0x1031d67
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1036bc9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x104a328]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
lea ecx, [esi + 0xb0]
call fcn.0101332c
push edi
lea ecx, [esi + 0xb4]
call fcn.0101332c
push edi
lea ecx, [esi + 0xb8]
call fcn.0101332c
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], 2
mov dword [esi + 0x104], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
cmp dword [esi + 0x128], edi
jne 0x1036c8a
push 1
push 0x1c
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x1036c85
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x128], eax
cmp eax, edi
jne 0x1036c8a
mov edi, 0x8007000e
jmp 0x1036c8a
mov edi, 0x8000ffff
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0102da5f
leave
ret
Function at 0x1039f78
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
cmp eax, esi
jne 0x1039fc2
mov eax, 0x8000ffff
push eax
push 0x1008b04
push 0x605
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
mov dword [ebp - 4], eax
call fcn.0102f8f0
jmp 0x103a0fc
lea ecx, [ebp - 0xc]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetUserKey]
test eax, eax
jne 0x1039ffe
push esi
push 0x1008b04
push 0x610
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov dword [ebp - 4], 0x80004005
jmp 0x103a0fc
push edi
mov edi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x103a043
push esi
push 0x1008b04
push 0x61c
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov dword [ebp - 4], 0x80004005
jmp 0x103a0fb
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x103a084
mov eax, 0x8007000e
push eax
push 0x1008b04
push 0x61f
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
mov dword [ebp - 4], eax
call fcn.0102f8f0
jmp 0x103a0e5
push esi
push esi
lea ecx, [ebp - 8]
push ecx
push eax
push 1
push esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x103a0a4
push esi
push 0x1008b04
push 0x628
jmp 0x103a0ca
lea eax, [ebx + 0x10]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebx + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x103a0e5
push esi
push 0x1008b04
push 0x633
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov dword [ebp - 4], 0x80004005
cmp dword [ebp - 0x10], esi
je 0x103a0fb
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
cmp dword [ebp - 0xc], esi
pop esi
pop ebx
je 0x103a10c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x103a142
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 0xc]
push eax
xor esi, esi
push 1
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_CryptGetUserKey]
test eax, eax
jne 0x103a19e
push esi
push 0x1008b3c
push 0x71f
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov dword [ebp - 4], 0x80004005
jmp 0x103a2d9
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptExportKey]
lea eax, [ebp - 8]
push eax
push esi
push esi
push 6
push esi
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x103a1c7
push esi
push 0x1008b3c
push 0x726
jmp 0x103a284
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x103a1f6
mov eax, 0x8007000e
push eax
push 0x1008b3c
push 0x729
jmp 0x103a2c1
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push 6
push esi
push dword [ebp - 0xc]
call ebx
test eax, eax
jne 0x103a215
push esi
push 0x1008b3c
push 0x731
jmp 0x103a284
mov ebx, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
lea eax, [ebp - 0x14]
push eax
push esi
push 1
push dword [ebp - 8]
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x103a23b
push esi
push 0x1008b3c
push 0x73b
jmp 0x103a284
mov eax, dword [ebp - 0x14]
add eax, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, esi
jne 0x103a266
mov eax, 0x8007000e
push eax
push 0x1008b3c
push 0x73e
jmp 0x103a2c1
lea eax, [ebp - 0x14]
push eax
push edi
push 1
push dword [ebp - 8]
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x103a2a1
push esi
push 0x1008b3c
push 0x745
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
call fcn.0102f8f0
mov dword [ebp - 4], 0x80004005
jmp 0x103a2d8
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp eax, esi
jne 0x103a2d8
mov eax, 0x8007000e
push eax
push 0x1008b3c
push 0x748
push 0x1008a98
push 0x10018c8
mov ecx, 0x104abe8
mov dword [ebp - 4], eax
call fcn.0102f8f0
pop ebx
cmp dword [ebp - 0xc], esi
je 0x103a2e7
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x10], esi
je 0x103a2ff
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
cmp dword [ebp - 0x18], esi
je 0x103a311
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8