joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401480
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x828
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
mov ebx, dword [esp + 0x83c]
push ebp
push esi
mov esi, dword [esp + 0x840]
push edi
mov edi, dword [esp + 0x83c]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
call fcn.004172e0
mov ebp, dword [esp + 0x840]
cmp ebp, 2
jae 0x4014e5
push str.jusched_Error:_Events_array_too_small
call fcn.004160d0
add esp, 4
mov dword [esp + 0x10], 0xffffff9d
mov dword [edi], 0
call fcn.0040e020
mov dword [edi], eax
test eax, eax
jne 0x40150b
push str.ERROR:_ShutdownEvent_handle_is_NULL
call fcn.004160d0
add esp, 4
mov dword [esp + 0x10], 0xfffffffe
push 0
push ebx
call fcn.0040de90
add esp, 8
test eax, eax
jne 0x40152e
push str.jusched_ERROR:_Could_not_open_Policy_key_for_reading
call fcn.004160d0
mov dword [esp + 0x14], 0xfffffffd
jmp 0x401552
mov eax, dword [ebx]
push eax
call fcn.00401420
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x401555
push str.jusched_main:_ERROR_creating_registry_watch_event_notifier
call fcn.004160d0
mov dword [esp + 0x14], 0xfffffffe
add esp, 4
push str.SunJavaUpdateSchedulerMutex
push 1
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
test eax, eax
jne 0x4015d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x7ff
lea ecx, [esp + 0x39]
push 0
push ecx
mov ebx, eax
mov byte [esp + 0x40], 0
call fcn.0043b8e0
add esp, 0xc
cmp ebx, 0xb7
jne 0x4015ae
lea edx, [esp + 0x34]
push str.Error:_Scheduler_Mutex_already_exists_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
jmp 0x4015c2
push ebx
lea eax, [esp + 0x38]
push str.Error:_Error_creating_scheduler_mutex:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
call fcn.004160d0
add esp, 4
mov dword [esp + 0x10], 0xffffffff
jmp 0x4015e1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40162b
mov ebx, dword [esi]
xor esi, esi
test ebp, ebp
je 0x401603
lea esp, [esp]
mov eax, dword [edi + esi*4]
test eax, eax
je 0x4015fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebp
jb 0x4015f0
test ebx, ebx
je 0x40160e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x1c]
call fcn.00417380
lea ecx, [esp + 0x18]
call fcn.00417300
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x834]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b8c7
add esp, 0x828
ret

Function at 0x401ea0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x401ee0
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x401eed
push str.RegDeleteKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401eed
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
push ecx
call eax
pop esi
ret 8
cmp dword [esi + 4], 0
je 0x401eed
pop esi
jmp dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, 1
pop esi
ret 8
Function at 0x4021a0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4021c0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x4021d4
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x402200
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x402216
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x402223
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x4028a0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00402120
mov ebx, eax
cmp ebx, esi
je 0x402905
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x4028fe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4029a1
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x14]
push esi
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x40]
push edx
push esi
push eax
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
jne 0x40296c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004028a0
mov ebx, eax
cmp ebx, esi
jne 0x4029bb
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
push edx
mov dword [esp + 0x3c], 0x100
call ebp
test eax, eax
je 0x402932
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x402981
push eax
call ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.00401ff0
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40299e
push eax
call ebx
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043b8c7
add esp, 0x120
ret 4
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4029ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4029a0
Function at 0x408510
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x114]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x471288]
push 1
push 0
mov dword [esi + 0x18], eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x20], eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.0040e020
mov dword [esi + 0x3c], eax
call fcn.00409130
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esi + 0x24]
push edx
call edi
mov eax, dword [esi + 0x38]
push eax
call edi
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x4083f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4085b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x20]
push eax
call edi
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x104
lea ecx, [esi + 0x58]
push ecx
push 0x7b
push edx
call edi
mov ecx, dword [esi + 0x18]
push 0x104
lea eax, [esp + 0x10]
push eax
push 0x7c
push ecx
call edi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40860f
lea eax, [esp + 0xc]
push eax
add esi, 0x15c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x110]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0043b8c7
add esp, 0x10c
ret 4
Function at 0x409bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x452d6b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00429287
push 4
mov dword [esp + 0x24], 0
call fcn.0043bd9d
mov edi, eax
add esp, 4
test edi, edi
je 0x409c52
call fcn.00428f45
mov dword [edi], eax
call fcn.00428dc0
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00428cf5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x409c47
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00428d1d
jmp 0x409c54
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x40aec0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x455458
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x40b009
cmp byte [edi + 0x49], 0
je 0x40b009
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x40affc
mov ecx, 0xf
xor eax, eax
mov byte [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 8
cmp ecx, 0x10
jae 0x40af43
lea eax, [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
lea ebx, [edi + 0x4c]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x2c]
mov edx, eax
cmp ebp, 0x10
jae 0x40af67
lea edx, [esp + 0x18]
mov eax, edx
add edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x14]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x40af90
dec eax
je 0x40af94
sub eax, 2
lea ecx, [esp + 0x18]
jne 0x40aff7
jmp 0x40b004
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp ebp, 0x10
jae 0x40afa7
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x14]
sub esi, ecx
je 0x40afd4
cmp ebp, 0x10
jae 0x40afb8
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.0043d50e
add esp, 0x10
cmp esi, eax
jne 0x40aff3
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp byte [edi + 0x49], 0
je 0x40b000
test esi, esi
jne 0x40af5a
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040a650
jmp 0x40af52
lea ecx, [esp + 0x18]
call fcn.00404480
xor al, al
jmp 0x40b00b
lea ecx, [esp + 0x18]
call fcn.00404480
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x30
ret
Function at 0x40df00
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x1c
push 0x80000002
lea ecx, [esp + 4]
call fcn.004172e0
push 0x2001f
push 0x45ae80
lea ecx, [esp + 8]
call fcn.00417390
test eax, eax
je 0x40df2e
xor eax, eax
add esp, 0x1c
ret
push 0x45aeb0
lea ecx, [esp + 4]
call fcn.00417360
push 0x45aec0
lea ecx, [esp + 4]
call fcn.00417360
push 0x45adec
lea ecx, [esp + 4]
call fcn.00417360
push 0x45aed0
lea ecx, [esp + 4]
call fcn.00417360
push str.UpdateTitle2
lea ecx, [esp + 4]
call fcn.00417360
push 0x45aef0
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af04
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af14
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af20
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af2c
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af38
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af44
lea ecx, [esp + 4]
call fcn.00417360
push str.NumTries
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af58
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af68
lea ecx, [esp + 4]
call fcn.00417360
push 0x45af7c
lea ecx, [esp + 4]
call fcn.00417360
lea ecx, [esp]
call fcn.00417300
mov eax, 1
add esp, 0x1c
ret
Function at 0x40e320
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.0043b8e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x40e38b
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x40e38b
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0043b8c7
add esp, 0xa0
ret
cmp dword [esp + 0x14], 2
jne 0x40e3bb
mov eax, dword [esp + 8]
cmp eax, 6
jae 0x40e3bb
cmp eax, 4
jb 0x40e3bb
call fcn.0040e0a0
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0043b8c7
add esp, 0xa0
ret
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0043b8c7
add esp, 0xa0
ret

Function at 0x40e5b0
Capabilities:
Get common file path
Parse url

Disassembly:
sub esp, 0x644
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
mov ebx, dword [esp + 0x650]
push esi
mov esi, dword [esp + 0x650]
push 0x3c
lea eax, [esp + 0xc]
push 0
push eax
mov byte [esp + 0x154], 0
call fcn.0043b8e0
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0
lea ecx, [esp + 0x250]
push esi
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0x400
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e664
push 0x100
lea eax, [esp + 0x14c]
push eax
push 0x104
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x264]
push 0
push edx
call fcn.0043d900
lea eax, [esp + 0x68]
push 0x45ba14
push eax
call fcn.0043be80
add esp, 0x2c
test eax, eax
je 0x40e6ae
push edi
xor edi, edi
cmp byte [esi], 0
mov eax, esi
je 0x40e699
mov esi, dword [sym.imp.USER32.dll_CharNextA]
mov cl, byte [eax]
cmp cl, 0x20
je 0x40e680
cmp cl, 9
jne 0x40e685
push eax
call esi
jmp 0x40e674
movsx edx, byte [eax]
mov ecx, edi
shl ecx, 5
sub ecx, edi
add ecx, edx
inc eax
cmp byte [eax], 0
mov edi, ecx
jne 0x40e674
push edi
lea eax, [esp + 0x4c]
push str.jupdate__x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
pop edi
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x44]
push ecx
push ebx
call esi
lea edx, [esp + 0x148]
push edx
push ebx
call esi
mov ecx, dword [esp + 0x648]
pop esi
pop ebx
xor ecx, esp
call fcn.0043b8c7
add esp, 0x644
ret
Function at 0x40fea0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4534bb
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
push 0x80000003
lea ecx, [esp + 0x48]
call fcn.004172e0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0x45b000
xor ebx, ebx
push ebx
mov dword [esp + 0x20], 0x400
call fcn.0040f6a0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
test eax, eax
je 0x40ff24
cmp dword [esp + 0x10], ebx
je 0x40ff24
lea edx, [esp + 0x7c]
push edx
call esi
lea eax, [esp + 0x7c]
push eax
call fcn.0040fb70
add esp, 4
test eax, eax
je 0x40ff4c
lea ecx, [esp + 0x7c]
push ecx
mov edx, ecx
push edx
call fcn.0040e5b0
add esp, 8
lea eax, [esp + 0x7c]
push eax
call esi
call fcn.0040df00
push 0x80000002
lea ecx, [esp + 0x2c]
xor edi, edi
call fcn.004172e0
push 0x2001f
push 0x45acb8
lea ecx, [esp + 0x30]
call fcn.00417390
lea ecx, [esp + 0x28]
call fcn.00412ea0
mov esi, eax
cmp esi, ebx
je 0x40ff88
mov edi, 1
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0040f2e0
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48c], ebx
call fcn.00417380
cmp esi, ebx
je 0x40ffc5
push str.PreDownldStatus
lea ecx, [esp + 0x2c]
call fcn.00417320
cmp edi, ebx
je 0x40ffd2
lea ecx, [esp + 0x28]
call fcn.00417300
mov eax, dword [esp + 0x18]
mov dword [esp + 0x488], 0xffffffff
cmp eax, ebx
je 0x40ffee
push eax
call fcn.0043a71e
add esp, 4
push 0x80000003
lea ecx, [esp + 0x48]
xor edi, edi
call fcn.00417380
push ebx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00417340
test eax, eax
jne 0x4100a7
jmp 0x410020
push 0x20019
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x4c]
inc edi
call fcn.00417390
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.00412ea0
cmp esi, ebx
jne 0x41008d
push eax
lea ecx, [esp + 0x64]
call fcn.004172e0
push 0x20019
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x68]
call fcn.00417390
lea ecx, [esp + 0x60]
mov esi, eax
call fcn.00412ea0
push eax
lea ecx, [esp + 0x64]
call fcn.00417380
cmp esi, ebx
jne 0x41008d
push str.VersionXmlURL
lea ecx, [esp + 0x64]
call fcn.00417360
push edi
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00417340
test eax, eax
je 0x410020
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x47c
ret
Function at 0x411d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x46f7c0]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push esi
push edi
mov edi, dword [ebp + 0x398]
lea eax, [ebp - 0x7c]
push eax
push 1
push 0
push 0x45cf54
push 0x80000002
mov dword [ebp - 0x78], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411dd7
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x74]
push edx
mov byte [ebp - 0x74], al
lea eax, [ebp - 0x80]
push eax
push 0
push 0x45cf7c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x78], 0
jbe 0x411dd7
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
je 0x411dd7
lea ecx, [ebp - 0x74]
push ecx
call esi
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x411d9f
xor eax, eax
jmp 0x411db6
lea eax, [esi + esi]
call fcn.0043c300
mov eax, esp
push 3
push esi
lea edx, [ebp - 0x74]
push edx
push eax
call fcn.00401b20
push edi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push 0x461c5c
push edi
call fcn.00411c80
add esp, 8
neg eax
sbb eax, eax
and eax, 0x80004005
jmp 0x411ddc
mov eax, 0x80004005
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x38c]
xor ecx, ebp
call fcn.0043b8c7
lea esp, [ebp + 0x390]
pop ebp
ret
Function at 0x414af0
Capabilities:
Access peb ldr_data
Encrypt data using dpapi

Disassembly:
push 0xffffffffffffffff
push 0x453b90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
xor edi, edi
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
lea edx, [esp + 0x10]
push edx
or eax, 1
push eax
push edi
push edi
push edi
push edi
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x414bd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00414a70
push eax
lea edx, [esp + 0x58]
push str.encryption_failed__sysError
push edx
mov dword [esp + 0x88], edi
call fcn.00406c30
add esp, 0x18
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x70], 1
jb 0x414bac
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
call fcn.0043afd2
push 0x467f84
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], vtable.std::runtime_error.0
call fcn.0043be1d
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.0040f2e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.0043b120
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x68
ret
Function at 0x414c30
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0xffffffffffffffff
push 0x453b90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x58], eax
push esi
push edi
mov eax, dword [0x46f7c0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
xor edi, edi
lea edx, [esp + 0x10]
push edx
push 1
push edi
push edi
mov dword [esp + 0x1c], edi
push edi
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x414d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00414a70
push eax
lea edx, [esp + 0x58]
push str.decryption_failed__sysError
push edx
mov dword [esp + 0x88], edi
call fcn.00406c30
add esp, 0x18
cmp dword [eax + 0x14], 0x10
mov byte [esp + 0x70], 1
jb 0x414cd8
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
call fcn.0043afd2
push 0x467f84
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], vtable.std::runtime_error.0
call fcn.0043be1d
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.0040f2e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.0043b120
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0043b8c7
add esp, 0x68
ret