joyce8/EMBER2024-capa huggingface dataset:
Function at 0x128fb0a
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x131fe1b
call fcn.012b0d5c
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push edi
push edi
push 0x2001f
push edi
push edi
push str.SoftwareTrendMicroDeep_Security_Notifier
push 0x80000001
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 7
call fcn.0128cfa0
push 4
pop ebx
test eax, eax
je 0x128fb63
push str.Faile_to_open_key_SoftwareTrendMicroDeep_Security_Notifier
push str.MicroAgent::CMainDlg::ReadSettings
push 0xa3
jmp 0x128fbe4
lea eax, [ebp - 0x10]
push eax
push str.Notification
lea ecx, [ebp - 0x20]
call fcn.0128f9df
test eax, eax
je 0x128fbf4
push str.Faile_to_Read_key_SoftwareTrendMicroDeep_Security_Notifier_Notification
push str.MicroAgent::CMainDlg::ReadSettings
push 0xa9
push str.MainDlg.cpp
push 1
push ebx
call fcn.012a4bb5
push dword [ebp - 0x10]
push str.Write_default_value_to_0x_08x
push str.MicroAgent::CMainDlg::ReadSettings
push 0xab
push str.MainDlg.cpp
push 1
push ebx
call fcn.012a4bb5
mov eax, dword [ebp - 0x10]
add esp, 0x34
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push edi
push str.Notification
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x128fbf4
push str.Faile_to_Write_key_SoftwareTrendMicroDeep_Security_Notifier_Notification
push str.MicroAgent::CMainDlg::ReadSettings
push 0xae
push str.MainDlg.cpp
push 1
push ebx
call fcn.012a4bb5
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov eax, edx
shr eax, 0x1f
mov bl, dl
mov ecx, edx
and al, 1
shr edx, 2
and bl, 1
mov byte [esi + 0x40c], al
and dl, 1
shr ecx, 1
movzx eax, dl
and cl, 1
push eax
movzx eax, cl
push eax
movzx eax, bl
push eax
push str.Notifications:_AM_d_WRS_d_DevCtl_d
push str.MicroAgent::CMainDlg::ReadSettings
push 0xb7
push str.MainDlg.cpp
push 1
push 4
mov byte [esi + 0x409], bl
mov byte [esi + 0x40a], cl
mov byte [esi + 0x40b], dl
call fcn.012a4bb5
add esp, 0x24
lea ecx, [ebp - 0x20]
call fcn.0128cd2e
call fcn.012b0d25
ret
Function at 0x129008d
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x131fe3e
call fcn.012b0d5c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dh, byte [ecx + 0x409]
xor esi, esi
cmp byte [ecx + 0x40c], 0
mov edi, str.MicroAgent::CMainDlg::SaveSettings
mov bl, byte [ecx + 0x40a]
mov dl, byte [ecx + 0x40b]
mov dword [ebp - 4], eax
mov eax, 0x80000000
cmovne esi, eax
xor eax, eax
push 2
test dh, dh
pop ecx
setne al
or esi, eax
xor eax, eax
push 4
test bl, bl
cmovne eax, ecx
or esi, eax
xor eax, eax
pop ecx
test dl, dl
cmovne eax, ecx
or esi, eax
movzx eax, dl
push eax
movzx eax, bl
mov ebx, str.MainDlg.cpp
push eax
movzx eax, dh
push eax
push str.Notifications:_AM_d_WRS_d_DevCtl_d
push edi
push 0xd3
push ebx
push 1
push ecx
call fcn.012a4bb5
add esp, 0x24
lea ecx, [ebp - 0x1c]
xor eax, eax
push eax
push eax
push 0x2001f
push eax
push eax
push str.SoftwareTrendMicroDeep_Security_Notifier
push 0x80000001
call fcn.0128cfa0
test eax, eax
je 0x1290146
push str.Faile_to_open_key_SoftwareTrendMicroDeep_Security_Notifier
push edi
push 0xd7
jmp 0x1290189
push esi
push str.Write_default_value_to_0x_08x
push edi
push 0xdb
push ebx
push 1
push 4
call fcn.012a4bb5
add esp, 0x1c
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push 4
push eax
push 4
push 0
push str.Notification
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1290196
push str.Faile_to_Write_key_SoftwareTrendMicroDeep_Security_Notifier_Notification
push edi
push 0xde
push ebx
push 1
push 2
call fcn.012a4bb5
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.0128cd2e
call fcn.012b0d25
ret
Function at 0x1291d32
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x160
mov eax, 0x13200cc
call fcn.012b0d90
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x160]
push 3
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x164]
push eax
call fcn.012866e1
push dword [ebp - 0x164]
xor esi, esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.0128449c
lea eax, [ebp - 0x160]
cmp dword [ebp - 0x164], eax
je 0x1291d8d
push dword [ebp - 0x164]
call fcn.012f80cd
pop ecx
xor ebx, ebx
mov dword [ebp - 0x34], 7
inc ebx
mov dword [ebp - 0x38], esi
xor eax, eax
mov dword [edi + 0x410], ebx
mov word [ebp - 0x48], ax
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x48]
call fcn.01287124
mov eax, dword [ebp + 0x10]
lea esi, [edi + 0x448]
mov dword [ebp - 0x2c], eax
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
push eax
push dword [esi]
call fcn.0128aed0
jmp 0x1291dec
mov eax, dword [esi]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x168]
push eax
call fcn.01292c72
cmp dword [edi + 0x44c], 0x64
ja 0x1291dda
mov ecx, dword [edi + 0x414]
test ecx, ecx
je 0x1291e11
push ebx
push ebx
call fcn.0129aa09
mov ecx, dword [edi + 0x414]
call fcn.0129a7ef
cmp byte [edi + 0x40a], 0
je 0x1291f67
cmp byte [ebp + 0x14], 0
jne 0x1291f67
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1354898]
cmp eax, 0x1388
jb 0x1291f67
call esi
mov dword [0x1354898], eax
mov eax, dword [0x1351020]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], eax
mov esi, 0x132a59c
mov byte [ebp - 4], 5
push esi
call fcn.0128783f
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.01292cdb
mov ebx, 0x132a5a4
mov esi, eax
push ebx
call fcn.0128783f
pop ecx
xor edx, edx
lea ecx, [esi + 3]
cmp esi, 0xffffffff
push eax
cmovne edx, ecx
lea ecx, [ebp - 0x28]
push edx
push ebx
call fcn.01292cdb
cmp eax, 0xffffffff
je 0x1291ec7
inc eax
lea ecx, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.01292f2f
push eax
lea ecx, [ebp - 0x28]
call fcn.0128878b
xor ebx, ebx
lea ecx, [ebp - 0x60]
push 0
inc ebx
push ebx
call fcn.01286f50
jmp 0x1291eca
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x16c]
push 0x86
push eax
call fcn.0128d629
add esp, 0xc
test eax, eax
jne 0x1291eff
push 0x132a5a8
push 0x132a63c
push 0x66c
jmp 0x1291f22
push 0x85
lea ecx, [ebp - 0x168]
call fcn.01289c1f
test eax, eax
jne 0x1291f34
push 0x132a668
push 0x132a63c
push 0x671
push str.MainDlg.cpp
push ebx
push 4
call fcn.012a4bb5
add esp, 0x18
jmp 0x1291f51
push 0
push 0x2710
push 2
push dword [ebp - 0x16c]
lea ecx, [edi + 0x28]
push dword [ebp - 0x168]
call fcn.012903d7
lea ecx, [ebp - 0x16c]
call fcn.01288762
lea ecx, [ebp - 0x168]
call fcn.01288762
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.01286f50
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.01286f50
call fcn.012b0d3a
ret 0x10
Function at 0x1299acd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea eax, [esi - 0x40]
neg esi
sbb esi, esi
xor edi, edi
and esi, eax
inc edi
cmp dword [ebp + 0x14], 0
je 0x1299b66
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp + 8], 0xffffffff
push eax
mov dword [ebp - 4], eax
call fcn.01299be3
mov ecx, eax
test ecx, ecx
je 0x1299b33
mov eax, dword [ebp - 4]
inc eax
push eax
push ecx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp + 8], eax
call fcn.0128a12b
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jge 0x1299b3f
xor edi, edi
jmp 0x1299b7b
cmp dword [ebp + 0x18], 0
je 0x1299b87
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1299b87
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x40]
push ebx
call fcn.0129a03c
xor edi, edi
jmp 0x1299b87
mov eax, dword [ebp + 0xc]
push dword [eax]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, eax
test edi, edi
jne 0x1299b87
push dword [ebp + 0x14]
lea ecx, [esi + 0x40]
push ebx
call fcn.0129a00c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x129a650
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x1320a16
call fcn.012b0d5c
mov eax, dword [0x1351020]
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ecx + 0x50], 1
mov dword [ebp - 4], ebx
je 0x129a75e
cmp dword [ecx + 0x50], 2
je 0x129a75e
push 0x3f8
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0xffffffffffffffff
push 0x800
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0129a9a5
push 0x34
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.012d1ed0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov edi, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
push ebx
push 0x104b
push esi
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea eax, [ebp - 0x10]
push 0xd8
push eax
call fcn.0128d629
push edi
push str.GoTo_Malware_Encyclopedia_for:__s_
push str.MicroAgent::CNotificationDlg::OnListViewDbClick
push 0x304
push str.NotificationDlg.cpp
push 1
push 8
call fcn.012a4bb5
mov esi, dword [ebp - 0x10]
add esp, 0x28
cmp dword [esi - 8], ebx
jne 0x129a742
push str.Malware_Encyclopedia_URL_is_empty__try_default_
push str.MicroAgent::CNotificationDlg::OnListViewDbClick
push 0x307
push str.NotificationDlg.cpp
push 1
push 2
call fcn.012a4bb5
add esp, 0x18
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test edi, edi
je 0x129a75e
push edi
call fcn.012f80cd
pop ecx
lea ecx, [ebp - 0x10]
call fcn.01288762
xor eax, eax
call fcn.012b0d25
ret 0xc

Function at 0x129b669
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea ecx, [ebp - 4]
xor ebx, ebx
cmp dword [0x1351d9c], 0x10
mov eax, 0x1351d88
push ecx
cmovae eax, dword [0x1351d88]
push 0x20019
push ebx
push eax
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 4], ebx
je 0x129b6da
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.EnableOSProxyChangeNotification
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
sete bl
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x129b6e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.012b0e40
mov eax, dword [0x1351ecc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [0x1351d84], 0x10
lea ecx, [ebp - 0x1010]
push ecx
push 0x20019
mov eax, 0x1351d70
mov dword [ebp - 0x1010], esi
cmovae eax, dword [0x1351d70]
push esi
push eax
push 0x80000002
mov dword [ebp - 0x100c], esi
mov dword [ebp - 0x1008], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x1010], esi
je 0x129b8d5
push ebx
mov ebx, 0x1000
lea eax, [ebp - 0x1004]
push ebx
push esi
push eax
call fcn.012d1ed0
add esp, 0xc
push 4
pop eax
mov dword [ebp - 0x1008], eax
mov dword [ebp - 0x100c], eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x100c]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.osproxyUseAutoDetectSetting
push dword [ebp - 0x1010]
call esi
push ebx
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.012d1ed0
add esp, 0xc
mov dword [ebp - 0x1008], 0xfff
lea eax, [ebp - 0x1008]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x100c], ebx
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push str.osproxyPACScriptUrl
push dword [ebp - 0x1010]
call esi
lea eax, [ebp - 0x1004]
push eax
call fcn.01287822
pop ecx
push eax
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 8]
call fcn.012870ab
push 0x1000
lea eax, [ebp - 0x1004]
push 0
push eax
call fcn.012d1ed0
add esp, 0xc
mov dword [ebp - 0x1008], 0xfff
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], ebx
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push str.osproxyStaticProxy
push dword [ebp - 0x1010]
call esi
lea eax, [ebp - 0x1004]
push eax
call fcn.01287822
pop ecx
push eax
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0x20]
call fcn.012870ab
push 0x1000
push 0
lea eax, [ebp - 0x1004]
push eax
call fcn.012d1ed0
add esp, 0xc
mov dword [ebp - 0x1008], 0xfff
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x100c], ebx
push eax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0
push str.osproxyExceptions
push dword [ebp - 0x1010]
call esi
lea eax, [ebp - 0x1004]
push eax
call fcn.01287822
pop ecx
push eax
lea eax, [ebp - 0x1004]
push eax
lea ecx, [edi + 0x38]
call fcn.012870ab
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.012b0511
mov esp, ebp
pop ebp
ret
Function at 0x129b9b9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
mov eax, 0x1351d88
cmp dword [0x1351d9c], 0x10
push esi
cmovae eax, dword [0x1351d88]
mov esi, ecx
push edi
lea ecx, [ebp - 8]
push ecx
push 0x20006
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 8], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
je 0x129ba21
push 4
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push 4
push 0
push str.ProxyUpdated
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea ecx, [ebp - 4]
cmp dword [0x1351d84], 0x10
mov eax, 0x1351d70
push edx
cmovae eax, dword [0x1351d70]
push ecx
push edx
push 0x20006
push edx
push edx
push edx
push eax
push 0x80000002
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 4], 0
je 0x129bad3
push 4
lea eax, [esi + 4]
push eax
push 4
push 0
push str.osproxyUseAutoDetectSetting
push dword [ebp - 4]
call edi
mov eax, dword [esi + 0x18]
lea ecx, [esi + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x129ba7b
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 1
push 0
push str.osproxyPACScriptUrl
push dword [ebp - 4]
call edi
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x20]
cmp dword [ecx + 0x14], 0x10
jb 0x129ba9a
mov ecx, dword [ecx]
inc eax
push eax
push ecx
push 1
push 0
push str.osproxyStaticProxy
push dword [ebp - 4]
call edi
mov eax, dword [esi + 0x48]
add esi, 0x38
cmp dword [esi + 0x14], 0x10
jb 0x129bab9
mov esi, dword [esi]
inc eax
push eax
push esi
push 1
push 0
push str.osproxyExceptions
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x129c1a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1351ecc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x418]
push edi
push eax
mov ebx, ecx
call fcn.012d1ed0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
test esi, esi
je 0x129c2bc
cmp esi, 0x104
jae 0x129c2bc
push 0x20a
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.012d1ed0
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
push edi
push 0x132cf98
lea eax, [ebp - 0x418]
push eax
call esi
test eax, eax
jne 0x129c29c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x418]
push eax
call edi
push eax
push str.GetTempFileNameW___failed___d___s_
push str.MicroAgent::TempFile::CreateTempFile
push 0x33
push str.TempFile.cpp
push 0x20
push 2
call fcn.012a4bb5
add esp, 0x20
lea eax, [ebp - 0x210]
push eax
push 0
push 0x132cf98
push 0x132cfe8
call esi
test eax, eax
jne 0x129c29c
call edi
push eax
push 0x132cfec
push str.MicroAgent::TempFile::CreateTempFile
push 0x36
push str.TempFile.cpp
push 0x20
push 2
call fcn.012a4bb5
add esp, 0x1c
jmp 0x129c2e1
lea eax, [ebp - 0x210]
push eax
call fcn.0128783f
pop ecx
push eax
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.012871b9
mov al, 1
jmp 0x129c2e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.GetTempPathW___failed___d___d_
push str.MicroAgent::TempFile::CreateTempFile
push 0x2d
push str.TempFile.cpp
push 0x20
push 2
call fcn.012a4bb5
add esp, 0x20
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.012b0511
mov esp, ebp
pop ebp
ret
Function at 0x129d00d
Capabilities:
Get session user name

Disassembly:
push 0x20
mov eax, 0x1320d04
call fcn.012b0d5c
mov eax, dword [0x1351020]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 0x80
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0129a9a5
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x129d0be
call edi
cmp eax, 0x7a
jne 0x129d09f
push 0xffffffffffffffff
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
call fcn.0129a9a5
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x129d0be
call edi
push eax
push str.Failed_to_GetUserName_for_CreateEvent__Singleton_will_not_guarantee_.___d_
push str.CheckSingletonNotifier
push 0x5c
jmp 0x129d154
call edi
push eax
push str.Failed_to_GetUserName_for_CreateEvent__Singleton_will_not_guarantee_.___d_
push str.CheckSingletonNotifier
push 0x62
push str.uAgent.cpp
push ebx
push 2
call fcn.012a4bb5
add esp, 0x1c
push esi
lea eax, [ebp - 0x14]
push str.DBCE49EC_7FF7_413c_8282_3FD7A96F51D0_s
push eax
call fcn.0128d66d
add esp, 0xc
xor eax, eax
push dword [ebp - 0x14]
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x129d147
cmp eax, 0xb7
jne 0x129d103
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x129d164
lea ecx, [ebp - 0x1c]
call fcn.012a3d86
push edi
push 0x129ef44
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.012a426d
test eax, eax
je 0x129d13d
push str.Failed_to_create_SingleonThread._The_Notifier_may_be_able_to_run_other_instances.
push str.CheckSingletonNotifier
push 0x77
push str.uAgent.cpp
push ebx
push 2
call fcn.012a4bb5
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.012a3dbb
jmp 0x129d164
push eax
push str.Failed_to_CreateEvent__Singleton_will_not_guarantee_.___d_
push str.CheckSingletonNotifier
push 0x7d
push str.uAgent.cpp
push ebx
push 2
call fcn.012a4bb5
add esp, 0x1c
test esi, esi
je 0x129d16f
push esi
call fcn.012f80cd
pop ecx
lea ecx, [ebp - 0x14]
call fcn.01288762
mov al, bl
call fcn.012b0d25
ret

Function at 0x129d36d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push ebx
push esi
push 0x59
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x2d
pop edx
sub ebx, eax
lea ecx, [esi + eax*2]
movzx eax, word [ebp + 8]
push ebx
push ecx
push 0x5a
push eax
mov word [ecx - 2], dx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
pop esi
pop ebx
pop ebp
ret
Function at 0x129e234
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1320dbb
call fcn.012b0dfe
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x129e2b1
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x129e2b1
call fcn.0129cf5c
mov esi, eax
jmp 0x129e388
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x129e2d4
call fcn.0129cf5c
jmp 0x129e37b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x129e2ca
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x129e304
mov esi, 0x8007000e
jmp 0x129e37d
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0129cd6c
jmp 0x129e32a
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x129e2fd
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x129e2ca
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0129e0f9
mov esi, eax
test edi, edi
je 0x129e388
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x129e3a1
lea ecx, [ebp - 0x418]
call fcn.0129d33a
mov eax, esi
call fcn.012b0d4b
ret 0x10
Function at 0x129ee9d
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 0x129eeb0
push 0xd
pop eax
jmp 0x129eef4
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 0x129eec3
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x129eebb
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 0x129eefb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x129ef0d
push 0xd
pop eax
jmp 0x129ef3f
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 0x129ef16
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