joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18042a96
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
push ecx
push 1
mov edi, eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push str.gupdate
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x18042ade
call fcn.1800d4b3
jmp 0x18042b1f
mov eax, edi
call fcn.18005896
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [edi + 0xc]
mov dword [ebp + 8], eax
add eax, ecx
lea esi, [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.18056728
push dword [ebp + 8]
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov esi, edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.18042bbf
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18042b24
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
push ecx
push 1
mov edi, eax
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x18042b79
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18042b72
call fcn.1800d4b3
jmp 0x18042bba
mov eax, 0x8007000d
jmp 0x18042bba
mov eax, edi
call fcn.18005896
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [edi + 0xc]
mov dword [ebp + 8], eax
add eax, ecx
lea esi, [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.18056728
push dword [ebp + 8]
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov esi, edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.18042bbf
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18045c64
Capabilities:
Create pipe

Disassembly:
mov eax, dword [esi + 0x80]
test eax, eax
je 0x18045c71
xor al, al
ret
push edi
xor edi, edi
push edi
push 1
push edi
mov dword [esi + 0x80], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x5c], eax
cmp eax, edi
je 0x18045ceb
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x98], eax
cmp eax, edi
je 0x18045ceb
push 4
push 0xffffffffffffffff
push esi
push 0x18046350
push eax
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x18045ceb
cmp dword [esi + 0x4c], 8
jb 0x18045cc8
mov eax, dword [esi + 0x38]
jmp 0x18045ccb
lea eax, [esi + 0x38]
push dword [esi + 0x50]
push edi
push 0x40
push 0x40
push 1
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x54], eax
cmp eax, 0xffffffff
jne 0x18045cef
xor al, al
pop edi
ret
mov eax, esi
call fcn.18045d51
mov eax, dword [esi + 0x80]
xor ecx, ecx
cmp eax, 1
setne cl
mov al, cl
pop edi
ret

Function at 0x18045df8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 0x2c
lea edi, [esi + 0x9c]
push 0
push edi
call fcn.180769e0
add esp, 0xc
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 4]
push eax
push 0x2c
push edi
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test bl, bl
je 0x18045e39
xor eax, eax
jmp 0x18045e3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
test bl, bl
pop ebx
jne 0x18045e58
cmp eax, 0x3e5
je 0x18045e58
push 0xa
pop ecx
mov eax, esi
call fcn.180460c0
leave
ret
mov dword [esi + 0x80], 5
leave
ret

Function at 0x18046160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.18045928
mov dword [ebp - 0x30], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x30]
call fcn.180460e1
test al, al
jne 0x180461bc
cmp dword [ebp - 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x180461a2
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0xc], 0
je 0x180461ad
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], 0
je 0x180461b8
push dword [ebp - 8]
call esi
xor al, al
jmp 0x1804620d
and dword [ebp - 4], 0
push ebx
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 4]
push eax
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
test bl, bl
je 0x180461e8
xor eax, eax
jmp 0x180461ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
test bl, bl
jne 0x180461fd
cmp eax, 0x3e5
je 0x180461fd
xor al, al
jmp 0x1804620c
push dword [ebp + 8]
mov ebx, esi
call fcn.180462ce
test al, al
setne al
pop ebx
pop esi
leave
ret 4
Function at 0x18046212
Capabilities:
Connect pipe

Disassembly:
push esi
mov esi, eax
mov al, byte [esi + 0x84]
test al, al
jne 0x18045d4f
mov eax, dword [esi + 0x58]
test eax, eax
je 0x18045d27
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWait]
and dword [esi + 0x58], 0
mov eax, dword [esi + 0x54]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x18045d3c
push eax
call edi
and dword [esi + 0x54], 0
add esi, 0x98
mov eax, dword [esi]
test eax, eax
je 0x18045d4e
push eax
call edi
and dword [esi], 0
pop edi
pop esi
ret
push esi
mov esi, eax
push dword [esi + 0x98]
xor eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x18046087
call fcn.180460a9
pop esi
ret
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x18046080
mov al, byte [esi + 0x84]
test al, al
jne 0x18046085
push 2
pop ecx
mov eax, esi
pop esi
jmp fcn.180460c0
push esi
mov esi, eax
mov al, byte [esi + 0x84]
test al, al
je 0x18046237
push dword [esi + 0x98]
mov dword [esi + 0x80], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
pop esi
ret
mov eax, dword [esi + 0x80]
dec eax
cmp eax, 9
ja case.default.0x18046243
jmp dword [eax*4 + 0x180462a6]
mov eax, esi
pop esi
jmp 0x18045d08
mov eax, esi
pop esi
jmp fcn.18045d51
call fcn.18045daa
pop esi
ret
call fcn.18045df8
pop esi
ret
call fcn.18045e64
pop esi
ret
push edi
mov edi, esi
call fcn.18045ead
pop edi
pop esi
ret
call fcn.18045f56
pop esi
ret
call fcn.18045f99
pop esi
ret
call fcn.18045ffa
pop esi
ret
mov eax, esi
pop esi
jmp 0x1804604d
mov dword [esi + 0x80], 1
pop esi
ret
Function at 0x18046bb3
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x69], 0
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x50], 0xf
call fcn.180065ec
push edi
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x18046c4f
push 0xa
lea eax, [ebp - 0x4c]
push edi
push eax
mov byte [ebp - 0x69], 1
call fcn.18077999
mov esi, dword [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x7c], eax
cmp esi, eax
ja 0x18046c4f
cmp dword [ebp - 0x50], eax
je 0x18046c4f
push 1
push eax
lea ecx, [ebp - 0x68]
call fcn.18006452
test al, al
je 0x18046c4d
push esi
lea ecx, [ebp - 0x68]
call fcn.180065ec
xor edi, edi
push edi
mov dword [ebp - 0x78], edi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
jmp 0x18046ce3
cmp dword [ebp - 0x70], 0
jbe 0x18046d07
mov ebx, dword [ebp - 0x70]
lea eax, [ebp - 0xa0]
call fcn.1803ed80
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
jne 0x18046c8a
call fcn.180771ea
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x94]
push dword [ebp - 0x74]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, eax
test ebx, ebx
je 0x18046cfc
mov eax, dword [ebp - 0x80]
test eax, eax
jbe 0x18046cfc
add dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
jne 0x18046cc3
call fcn.180771ea
push dword [ebp - 0x80]
lea eax, [ebp - 0x68]
push dword [ebp - 0x94]
call fcn.1804759f
lea esi, [ebp - 0xa0]
call fcn.18041104
push 0
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
call edi
mov ebx, eax
test ebx, ebx
jne 0x18046c5f
mov byte [ebp - 0x69], 0
jmp 0x18046d53
lea esi, [ebp - 0xa0]
call fcn.18041104
test ebx, ebx
je 0x18046cf6
cmp byte [ebp - 0x69], 0
je 0x18046d19
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x78], eax
jne 0x18046cf6
cmp dword [ebp - 0x84], 0
mov byte [ebp - 0x69], 1
je 0x18046d53
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x68]
call fcn.18047373
pop ecx
push 0xffffffffffffffff
push dword [ebp - 0x84]
xor ebx, ebx
call fcn.1801bc33
push ebx
push 1
lea esi, [ebp - 0xa4]
call fcn.1801bd25
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.18006608
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x69]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret
Function at 0x1804814a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x3c], 0
mov dword [ebp - 0x28], edi
je 0x1804825d
cmp byte [edi + 0x41], 0
je 0x1804825d
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x18048189
xor al, al
jmp 0x1804825f
lea esi, [ebp - 0x20]
call fcn.18047e7a
lea eax, [edi + 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
call fcn.18047f9a
mov esi, eax
call fcn.1804826e
mov ebx, eax
add ebx, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x20]
call fcn.18047f9a
mov esi, eax
call fcn.1804826e
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x24]
push esi
push ebx
push eax
push dword [ebp - 0x2c]
call dword [edx + 0x18]
sub eax, 0
je 0x180481f5
dec eax
je 0x180481f9
dec eax
dec eax
je 0x18048259
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.18006608
mov al, bl
jmp 0x1804825f
mov byte [edi + 0x41], 0
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x20]
call fcn.18047f9a
mov esi, eax
call fcn.1804826e
mov ebx, dword [ebp - 0x24]
sub ebx, eax
je 0x18048237
push dword [edi + 0x4c]
lea eax, [ebp - 0x40]
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.18047f9a
mov esi, eax
call fcn.1804826e
push eax
call fcn.1808e775
add esp, 0x10
cmp ebx, eax
jne 0x180481e3
cmp byte [edi + 0x41], 0
je 0x18048259
test ebx, ebx
jne 0x18048197
push ebx
push 8
pop ebx
lea edi, [ebp - 0x20]
call fcn.18047f56
mov edi, dword [ebp - 0x28]
jmp 0x18048197
mov bl, 1
jmp 0x180481e5
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret
Function at 0x18050755
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x180af1d0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x1809904c
lea edi, [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x180507e4
lea edi, [esp + 0x34]
lea esi, [esp + 0x14]
call fcn.18004c31
lea eax, [esp + 0x1c]
call fcn.18003f31
push dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
push edi
lea ebx, [esp + 0x24]
call fcn.18004314
push dword [esp + 0x20]
mov eax, ebx
call fcn.180508f7
add esp, 0xc
test eax, eax
jge 0x180507f6
mov ebx, eax
lea esi, [esp + 0x1c]
call fcn.18003f57
lea eax, [edi - 0x10]
call fcn.18003e0a
mov eax, ebx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18075e75
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1805081e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180507cf
and eax, 0xffff
or eax, 0x80070000
jmp 0x180507cf
xor ebx, ebx
jmp 0x180507d1

Function at 0x18050822
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x180af1d0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push eax
mov esi, ecx
mov edi, edx
call fcn.180769e0
mov esi, dword [esi]
add esp, 0xc
push 0x104
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1805089d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x18050888
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18075e75
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
call fcn.18003f31
push dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0x18]
call fcn.18004314
pop ecx
pop ecx
push dword [esp + 0x10]
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [edi], eax
test eax, eax
jne 0x180508f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x180508e4
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
lea esi, [esp + 0x10]
call fcn.18003f57
mov eax, edi
jmp 0x18050888
xor edi, edi
jmp 0x180508e6
Function at 0x18050953
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10818
call fcn.1807fdd0
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebx]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x10814], esi
mov dword [ebp - 0x10810], edi
call fcn.1800ad60
pop ecx
test al, al
jne 0x18050992
mov eax, 0x80070002
jmp 0x18050a75
call fcn.1800ac38
xor eax, eax
push 0xfffe
mov word [ebp - 0x10808], ax
xor edi, edi
lea eax, [ebp - 0x10806]
push edi
push eax
call fcn.180769e0
mov eax, dword [ebx]
mov ecx, dword [esi]
add esp, 0xc
push eax
push 0x8000
lea eax, [ebp - 0x10808]
push eax
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
call edi
xor esi, esi
mov dword [ebp - 0x10818], eax
test eax, eax
jbe 0x18050a73
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
call fcn.180769e0
add esp, 0xc
lea eax, [ebp + esi*2 - 0x10808]
push eax
lea eax, [ebp - 0x1080c]
call fcn.18003b7f
push dword [ebx]
lea eax, [ebp - 0x808]
push 0x400
push eax
mov eax, dword [ebp - 0x10814]
push 0
push dword [ebp - 0x1080c]
push dword [eax]
call edi
push dword [ebp - 0x10810]
lea eax, [ebp - 0x1080c]
call fcn.1801ba10
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.18003de7
mov eax, dword [ebp - 0x1080c]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff0
lea esi, [esi + ecx + 1]
call fcn.18003e0a
cmp esi, dword [ebp - 0x10818]
jb 0x180509e3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.18075e75
leave
ret
Function at 0x18050a83
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x18050a99
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x180b4188]
push ebx
push esi
push edi
mov edi, 0x180b4188
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
push 0x104
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.18003ce3
mov esi, eax
lea eax, [ebp - 0xc]
call fcn.18007597
mov eax, dword [eax]
push esi
push 0
push 0x180a5c10
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ebx, eax
mov eax, dword [ebp - 0xc]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.18003e0a
or eax, 0xffffffff
lea esi, [ebp - 4]
call fcn.18003baa
test bl, bl
je 0x18050b14
call fcn.1800d4b3
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.18003e0a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x18050afb
mov eax, dword [0x180b4188]
mov ecx, edi
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
call fcn.1800794c
push dword [eax]
lea eax, [ebp - 8]
push 0xbf
push 0xbb
push 0xef
push str._c_c_c_s
push eax
call fcn.1800dbfe
mov eax, dword [ebp + 8]
add esp, 0x20
add eax, 0xfffffff0
call fcn.18003e0a
mov eax, dword [ebp - 8]
push ebx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x18050bba
call fcn.1800d4b3
mov edi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x18050b02
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
call fcn.180038eb
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.18003e0a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x18050b02
Function at 0x18050dfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
je 0x18050e1c
call fcn.18051988
test al, al
je 0x18050e1c
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret
and dword [ebp - 8], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc], 0x1809c988
call fcn.18003f31
push dword [ebp + 8]
lea ebx, [ebp - 0x2c]
push str.111e4e3c_8c0d_4a0c_b0a0_26de6ab6c0f7
call fcn.18004314
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
push eax
call fcn.180096f8
test al, al
jne 0x18050e6e
mov edi, 0x80004005
lea esi, [ebp - 0x2c]
call fcn.18003f57
lea ecx, [ebp - 0xc]
call fcn.1800971a
mov eax, edi
jmp 0x18050e17
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 4]
mov edi, 0x1809c6f4
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call fcn.1805251d
push ebx
push 0xf003f
push dword [ebp + 8]
call fcn.1801216b
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1800bc14
mov esi, eax
cmp esi, ebx
jge 0x18050ebf
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.1800bb99
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
mov edi, esi
jmp 0x18050e5a
push ebx
push ebx
push ebx
push ebx
mov esi, 0x180a5b2c
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18050ef1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.1800bb99
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
xor edi, edi
jmp 0x18050e5a
mov eax, dword [0x180b4188]
mov ecx, 0x180b4188
call dword [eax + 0xc]
add eax, 0x10
lea ebx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.1800543a
mov ebx, eax
test ebx, ebx
jge 0x18050f38
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.18003e0a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.1800bb99
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
call dword [eax + 8]
mov edi, ebx
jmp 0x18050e5a
mov ebx, dword [ebp + 8]
push ebx
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.1800c284
mov esi, eax
test esi, esi
jge 0x18050f59
lea eax, [ebx - 0x10]
call fcn.18003e0a
jmp 0x18050ea7
mov esi, 0x180b16d0
call fcn.18040963
lea eax, [ebx - 0x10]
call fcn.18003e0a
jmp 0x18050ed6

Function at 0x18051a58
Capabilities:
Identify system language via api

Disassembly:
cmp byte [esp + 8], 0
push esi
je 0x18051a68
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x18051a6e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x409
movzx esi, ax
xor edx, edx
mov eax, ecx
cmp si, ax
je 0x18051ac0
inc edx
mov eax, edx
imul eax, eax, 0x1a
movzx eax, word [eax + 0x1809a1c8]
test ax, ax
jne 0x18051a7a
mov edx, ecx
xor eax, eax
pop esi
cmp cx, dx
je 0x18051ac5
inc eax
mov ecx, eax
imul ecx, ecx, 0x1a
movzx ecx, word [ecx + 0x1809a1c8]
test cx, cx
jne 0x18051a96
push 0x180a5ef8
mov eax, dword [esp + 8]
call fcn.18003b7f
mov eax, dword [esp + 4]
ret
movzx edx, si
jmp 0x18051a93
imul eax, eax, 0x1a
add eax, 0x1809a1ca
push eax
jmp 0x18051ab2
Function at 0x18052da3
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp + 0x188], eax
push ebx
xor eax, eax
push 0x1fe
mov word [ebp - 0x78], ax
xor ebx, ebx
lea eax, [ebp - 0x76]
push ebx
push eax
call fcn.180769e0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 3
mov dword [ebp - 0x80], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x18052e0f
push 1
lea eax, [ebp - 0x78]
push str..dpliveupdate.com
push eax
call fcn.18007e34
add esp, 0xc
test al, al
je 0x18052e0f
mov al, 1
jmp 0x18052e4b
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x64
push ebx
mov dword [ebp - 0x7c], ebx
call sub.NETAPI32.dll_NetWkstaGetInfo
mov ecx, dword [ebp - 0x7c]
mov esi, ecx
cmp eax, ebx
jne 0x18052e42
cmp dword [ecx + 8], ebx
je 0x18052e42
push str.dpliveupdate
push dword [ecx + 8]
call fcn.18076ee5
pop ecx
pop ecx
test eax, eax
jne 0x18052e42
mov bl, 1
push esi
call sub.NETAPI32.dll_NetApiBufferFree
mov al, bl
pop esi
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop ebx
call fcn.18075e75
add ebp, 0x18c
leave
ret

Function at 0x18053a4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x180af1d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x234], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
mov ebx, ecx
call fcn.180769e0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x18053ab6
call fcn.1800d4b3
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18075e75
leave
ret
cmp eax, esi
jb 0x18053ac1
mov eax, 0x80004005
jmp 0x18053aa7
mov esi, 0x1809904c
lea edi, [ebp - 0x224]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x224]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jl 0x18053aa7
lea edi, [ebp - 0x224]
lea esi, [ebp - 0x22c]
call fcn.18004c31
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x228]
call fcn.18003b7f
mov edi, dword [ebp - 0x22c]
push edi
lea eax, [ebp - 0x228]
call fcn.180057d9
lea eax, [ebp - 0x228]
call fcn.18053caa
mov esi, dword [ebp - 0x228]
push esi
call fcn.1800454c
pop ecx
mov dword [ebp - 0x230], eax
test eax, eax
jge 0x18053b53
lea eax, [esi - 0x10]
call fcn.18003e0a
lea eax, [edi - 0x10]
call fcn.18003e0a
mov eax, dword [ebp - 0x230]
jmp 0x18053aa7
mov eax, dword [ebx]
push 1
push esi
push eax
call fcn.1800b0c5
add esp, 0xc
test eax, eax
jge 0x18053b7e
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.18003e0a
lea eax, [edi - 0x10]
call fcn.18003e0a
mov eax, ebx
jmp 0x18053aa7
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x228]
call fcn.180038eb
mov edi, dword [ebp - 0x22c]
xor ebx, ebx
jmp 0x18053b67