joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a9b0
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1260
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov dword [esi], ebx
push ebx
call fcn.0052f6c5
add esp, 4
mov dword [esi], eax
cmp eax, ebx
jne 0x41aa50
mov dword [ebp - 0x1c], 8
push 0x5882e8
push 8
push 2
push 0x518
push str.YWAssistant.c
push str.W_GetStartedService
call fcn.0041c870
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.0041ab6f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 5
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jne 0x41aa79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push str.OpenSCManager__
push eax
push 2
push 0x520
jmp 0x41aa1d
push ebx
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push 1
push 0x30
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
call edi
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x41aab3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push str.EnumServicesStatus__
push eax
push 2
push 0x528
jmp 0x41aa1d
push esi
call fcn.0052f6c5
add esp, 4
mov ebx, eax
mov dword [ebp - 0x28], ebx
push esi
test ebx, ebx
jne 0x41aaf2
mov dword [ebp - 0x1c], 8
push 0x5882d0
push 8
push 2
push 0x52f
push str.YWAssistant.c
push str.W_GetStartedService
call fcn.0041c870
add esp, 0x1c
jmp 0x41aa2f
push 0
push ebx
call fcn.005344b0
add esp, 0xc
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push ebx
push 1
push 0x30
mov eax, dword [ebp - 0x2c]
push eax
call edi
test eax, eax
jne 0x41ab35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
push str.EnumServicesStatus__
push eax
push 2
push 0x536
jmp 0x41aa1d
xor esi, esi
lea edi, [esi + 4]
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x24]
jae 0x41aa2f
lea ecx, [esi + esi*8]
lea eax, [ebx + ecx*4]
cmp dword [eax + 0xc], edi
jne 0x41ab69
mov edx, dword [eax]
push edx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0xc]
call fcn.0041a310
add esp, 8
mov dword [ebp - 0x1c], eax
inc esi
jmp 0x41ab3a
Function at 0x41abd0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x5adf10]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.005344b0
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
jne 0x41ac3c
push str.WSAStartup__
push eax
push 2
push 0x560
push str.YWAssistant.c
push str.SocketStartup
call fcn.0041c870
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41b400
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1220
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x12c], esi
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov byte [ebp - 0x124], bl
push 0x104
push ebx
lea eax, [ebp - 0x123]
push eax
call fcn.005344b0
add esp, 0xc
cmp edi, ebx
jne 0x41b46f
lea eax, [ebx + 0x57]
jmp 0x41b53e
mov dword [ebp - 4], ebx
call fcn.0041abd0
mov dword [ebp - 0x128], eax
cmp eax, ebx
je 0x41b4a5
push 0x588668
push eax
push 2
push 0x66f
push str.YWAssistant.c
push str.W_GetHostName
call fcn.0041c870
add esp, 0x18
jmp 0x41b52c
push 0x104
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [ebp - 0x128], eax
cmp eax, ebx
je 0x41b4d0
push str.gethostname__
push eax
push 2
push 0x676
jmp 0x41b48e
cmp esi, ebx
je 0x41b510
mov edx, dword [edi]
cmp edx, ebx
jbe 0x41b510
lea eax, [ebp - 0x124]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b4e3
sub eax, esi
lea ecx, [eax + 1]
cmp ecx, edx
jbe 0x41b4f7
mov eax, edx
jmp 0x41b4f8
inc eax
push eax
lea eax, [ebp - 0x124]
push eax
push edx
mov ecx, dword [ebp - 0x12c]
push ecx
call fcn.00531c94
add esp, 0x10
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41b520
sub eax, edx
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041b55a
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41b570
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a0ef8
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x24]
push edx
push 0x20019
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x41b609
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x588248
push esi
push 2
push 0x6a4
push str.YWAssistant.c
push str.B_GetProxy
call fcn.0041c870
add esp, 0x1c
jmp 0x41b6ab
mov eax, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push str.ProxyEnable
mov eax, dword [ebp - 0x24]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
mov dword [ebp - 0x1c], eax
cmp eax, 2
jne 0x41b642
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x41b6ab
cmp dword [ebp - 0x2c], 0
je 0x41b63b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.ProxyServer
mov edx, dword [ebp - 0x24]
push edx
call esi
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, 2
je 0x41b63b
test esi, esi
je 0x41b6a5
push str.ProxyServer
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x588270
push esi
push 2
push 0x6c1
push str.YWAssistant.c
push str.B_GetProxy
call fcn.0041c870
add esp, 0x20
jmp 0x41b6ab
mov eax, dword [ebp - 0x28]
inc eax
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041b6ce
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bf70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a1200
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x164], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x158], eax
or esi, 0xffffffff
mov dword [ebp - 0x160], esi
xor ebx, ebx
mov dword [ebp - 0x168], ebx
push 0x124
push ebx
lea ecx, [ebp - 0x150]
push ecx
call fcn.005344b0
add esp, 0xc
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], 0x128
mov dword [ebp - 4], ebx
mov dword [edi], ebx
push ebx
call fcn.0052f6c5
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x41c055
mov ebx, 8
mov dword [ebp - 0x15c], ebx
push 0x5882e8
push ebx
push 2
push 0x7eb
push str.YWAssistant.c
push str.W_GetRunningProcesses
call fcn.0041c870
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c129
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x160], esi
cmp esi, 0xffffffff
jne 0x41c081
push 0x5888b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x7f2
jmp 0x41c019
lea edx, [ebp - 0x154]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
nop
test eax, eax
je 0x41c02b
mov byte [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x14c]
push eax
push 0x586bfc
lea ecx, [ebp - 0x28]
push ecx
call fcn.0052e561
add esp, 0xc
lea edx, [ebp - 0x130]
push edx
push edi
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x158]
call fcn.0041a310
add esp, 8
mov ebx, eax
mov dword [ebp - 0x15c], ebx
test ebx, ebx
jne 0x41c02b
push 0x128
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.005344b0
add esp, 0xc
mov dword [ebp - 0x154], 0x128
lea ecx, [ebp - 0x154]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x41c090
Function at 0x41c190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a0e78
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov eax, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebx], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x41c226
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x5888e4
push esi
push 2
push 0x826
push str.YWAssistant.c
push str.B_GetJavascript
call fcn.0041c870
add esp, 0x1c
jmp 0x41c281
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
push str.1402
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x41c276
push str.1402
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x588904
push esi
push 2
push 0x82d
push str.YWAssistant.c
push str.B_GetJavascript
call fcn.0041c870
add esp, 0x20
jmp 0x41c281
cmp dword [ebp - 0x24], edi
jne 0x41c281
mov dword [ebx], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c2a6
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c2c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a0e58
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x41c355
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x5888e4
push esi
push 2
push 0x84f
push str.YWAssistant.c
push str.B_SetJavascript
call fcn.0041c870
add esp, 0x1c
jmp 0x41c3f9
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x2c]
push eax
push edi
push str.1402
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x41c3a5
push str.1402
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x588904
push esi
push 2
push 0x856
push str.YWAssistant.c
push str.B_SetJavascript
call fcn.0041c870
add esp, 0x20
jmp 0x41c3f9
cmp dword [ebp - 0x1c], edi
je 0x41c3f9
mov dword [ebp - 0x1c], edi
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push edi
push str.1402
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x41c3f9
mov ecx, dword [ebp - 0x1c]
push ecx
push str.1402
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push 0x588928
push esi
push 2
push 0x862
push str.YWAssistant.c
push str.B_SetJavascript
call fcn.0041c870
add esp, 0x24
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c41e
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a0e38
push 0x534c00
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5adf10]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov byte [ebp - 0x220], bl
push 0x200
push ebx
lea eax, [ebp - 0x21f]
push eax
call fcn.005344b0
add esp, 0xc
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 2
mov dword [ebp - 0x224], ebx
cmp esi, ebx
jne 0x41c4af
lea eax, [ebx + 0x57]
jmp 0x41c60c
mov dword [ebp - 4], ebx
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZoneMapDomains
push str._s_s
push 0x200
lea ecx, [ebp - 0x220]
push ecx
call fcn.0052e5e5
add esp, 0x14
lea edx, [ebp - 0x224]
push edx
push 0xf003f
push ebx
lea eax, [ebp - 0x220]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x228], eax
cmp eax, ebx
jne 0x41c51a
push esi
push 0x588940
push ebx
push 4
push 0x887
push str.YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.0041c870
add esp, 0x1c
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x41c531
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x224], ebx
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x224]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov dword [ebp - 0x228], esi
cmp esi, ebx
je 0x41c57c
lea ecx, [ebp - 0x220]
push ecx
push 0x588970
push esi
push 2
push 0x894
jmp 0x41c5ec
push 4
cmp edi, ebx
je 0x41c5b6
lea edx, [ebp - 0x22c]
push edx
push 4
push ebx
push edi
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x228], esi
cmp esi, ebx
je 0x41c5fe
push edi
push 0x588988
push esi
push 2
push 0x89d
jmp 0x41c5ec
lea ecx, [ebp - 0x22c]
push ecx
push 4
push ebx
push 0x5881a8
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov dword [ebp - 0x228], esi
cmp esi, ebx
je 0x41c5fe
push ebx
push 0x588988
push esi
push 2
push 0x8a6
push str.YWAssistant.c
push str.B_AddTrustSiteDNS
call fcn.0041c870
add esp, 0x1c
mov dword [ebp - 4], 0xfffffffe
call fcn.0041c630
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41c6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x5adf10]
xor eax, esp
mov dword [esp + 0x230], eax
cmp dword [0x5b6a4c], 0
push esi
jne 0x41c847
push 0x104
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.005344b0
push 0x104
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.005344b0
push str.Chinese_simplified
push 0
call fcn.00531b20
add esp, 0x20
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea eax, [esp + 0x12c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x128]
push 0x5c
push ecx
call fcn.0052e0c8
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c76f
lea esi, [esp + 0x128]
jmp 0x41c770
inc esi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5889ac
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x5b6a50
call fcn.0052e5e5
push 0x5889ac
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x5b6c5a
call fcn.0052e5e5
push 0x5889ac
push esi
lea eax, [esp + 0x58]
push eax
push str._s_s__s
push 0x104
push 0x5b6b55
call fcn.0052e5e5
add esp, 0x48
push 0x5889ac
push esi
lea ecx, [esp + 0x28]
push ecx
push str._s_s__s
push 0x104
push 0x5b6d5f
call fcn.0052e5e5
push 0x588998
push esi
lea edx, [esp + 0x40]
push edx
push str._s_s__s
push 0x104
push 0x5b6e64
call fcn.0052e5e5
add esp, 0x30
lea eax, [esp + 8]
push eax
mov dword [0x5b6a4c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x234]
imul eax, eax, 0x105
pop esi
xor ecx, esp
add eax, 0x5b6a50
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41cb20
Capabilities:
Create http request
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5adf10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [edi], vtable.CAutoUpdater.0
mov dword [ebp - 0x28], vtable.CRegistry.0
call fcn.0043c63a
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41cb73
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
push 0x3b
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00406280
lea ecx, [ebp - 0x18]
push ecx
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 4
push ebx
lea edx, [ebp - 0x2c]
push edx
push ebx
push esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
push str.CertificateRevocation
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41cbf8
push eax
call ebx
mov dword [ebp - 0x18], esi
push esi
push esi
push esi
push esi
push str.AutoUpdateAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], vtable.CRegistry.0
cmp eax, esi
je 0x41cc25
push eax
call ebx
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret
Function at 0x41cca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x557538
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5adf10]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x5adf10]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, ecx
mov dword [eax], vtable.CAutoUpdater.0
mov eax, dword [eax + 4]
xor esi, esi
cmp eax, esi
je 0x41ccee
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x10], vtable.CRegistry.0
call fcn.0043c63a
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41cd10
push 0x80004005
call fcn.004063a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
push 0x3b
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], esi
call fcn.00406280
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
push edi
lea edx, [esp + 0x10]
push edx
push edi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push str.CertificateRevocation
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41cdab
push eax
call edi
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], vtable.CRegistry.0
cmp eax, esi
je 0x41cdc6
push eax
call edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cde6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0052d75c
mov esp, ebp
pop ebp
ret