joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4129f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e349
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x46166c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x456104
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.004123d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x45c350
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call fcn.00432510
int3
Function at 0x414560
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], edx
call fcn.00449bea
add esp, 8
lea ecx, [ebp - 0x418]
push ecx
push 0x45142c
push 1
push 0
push 0x45143c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4146c9
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x41c]
push ecx
push 0x45144c
push eax
call edx
test eax, eax
js 0x4146bb
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test ebx, ebx
jne 0x4145ff
mov edx, dword [0x463854]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
jmp 0x414606
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
test esi, esi
je 0x41461b
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
jmp 0x414628
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test edi, edi
je 0x41463d
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push edi
push eax
call edx
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x414656
mov eax, dword [ebp - 0x418]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 1
push eax
call edx
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x414691
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0042f3a2
add esp, 0x10
jmp 0x41471b
push 0x5c
test ebx, ebx
je 0x41469a
push ebx
jmp 0x4146a1
mov edx, dword [0x463854]
push edx
call fcn.0042fc10
add esp, 8
test eax, eax
jne 0x4146dc
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret 8
push eax
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x108]
push str._s_s
push ecx
call fcn.0042f3a2
lea eax, [ebp - 0x108]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414701
sub eax, edx
lea eax, [ebp + eax - 0x108]
mov word [eax - 3], 0x6e6c
mov byte [eax - 1], 0x6b
push 0x104
lea edx, [ebp - 0x414]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x414]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
setns al
xor ecx, ebp
pop esi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret 8
Function at 0x415490
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x128
mov esi, eax
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00439380
add esp, 0xc
mov dword [ebp - 0x130], 0x128
cmp esi, 0xffffffff
je 0x415540
lea ecx, [ebp - 0x130]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x415539
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push edi
lea edx, [ebp - 0x10c]
push edx
call ebx
test eax, eax
je 0x415513
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4154f1
jmp 0x415539
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret

Function at 0x415560
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4155c3
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4155c3
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4155d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x4155e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
mov eax, dword [0x46166c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00415560
mov eax, dword [str.SmFqrc]
mov ecx, dword [0x454ed0]
mov dx, word [0x454ed4]
push pe_nt_image_headers32
mov dword [esp + 0xc], eax
lea eax, [esp + 0x16]
push 0
push eax
mov dword [esp + 0x18], ecx
mov word [esp + 0x1c], dx
call fcn.00439380
xor eax, eax
add esp, 0xc
lea ecx, [esp + 8]
cmp byte [esp + 8], al
je 0x415653
xor byte [ecx], al
inc eax
inc ecx
cmp eax, 8
jne 0x41564e
xor eax, eax
cmp byte [ecx], 0
jne 0x415643
lea ecx, [esp + 8]
call fcn.00415490
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push str.WuJiSetupApp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4156cd
push 0x2ec
call fcn.0042f140
add esp, 4
test eax, eax
je 0x415698
mov edi, eax
call fcn.00401050
mov ecx, dword [0x464938]
test ecx, ecx
jne 0x4156c6
push 0x2f0
call fcn.0042f140
add esp, 4
test eax, eax
je 0x4156bc
mov edi, eax
call fcn.00401050
jmp 0x4156be
xor eax, eax
mov ecx, eax
mov dword [0x464938], ecx
mov edx, esi
call fcn.004013e0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4156f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00439380
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall082fd9bab4647034fe3562f72fb2263c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4157a2
mov ecx, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push str.UninstallString
push ecx
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415795
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
jmp 0x4157af
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
call fcn.004148e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x415fe0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x4c], 0
push esi
push edi
mov esi, eax
je 0x415ff4
push 0x10000000
jmp 0x415ff6
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x416029
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
call fcn.004148e0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
jmp 0x416076
mov edx, dword [ebp + 8]
push 0
push 0x102
push 0
push 0
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
jne 0x416059
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x416059
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41600a
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
call fcn.004148e0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x416081
push eax
call fcn.0042f7b1
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x48

Function at 0x416530
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push esi
lea ecx, [ebp - 0xa8]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 0xa8], 0
call fcn.004148e0
push str.client.ini
mov eax, esi
call fcn.004147e0
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x455148
push 0x456254
push str.appver
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [edi + 4]
lea edx, [ebp - 0x68]
mov dword [edi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
cmp eax, ecx
je 0x4165c9
push eax
call fcn.0042f7b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret 4

Function at 0x4165e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push 0x456260
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004148e0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004148e0
push str.Datauser2.ini
mov eax, esi
call fcn.004147e0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push 0x456260
push 0x455120
push 0x455120
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x416689
push eax
call fcn.0042f7b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x4166a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push str.2000_01_01
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004148e0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004148e0
push str.Datauser2.ini
mov eax, esi
call fcn.004147e0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.2000_01_01
push str.SETUPDATE
push 0x455120
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x416749
push eax
call fcn.0042f7b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret

Function at 0x416760
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [edi + 4]
push esi
mov dword [edi], eax
mov byte [eax], 0
push str.20010101
or eax, 0xffffffff
mov esi, edi
mov ebx, ecx
call fcn.004148e0
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ebx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004148e0
push str.Datauser2.ini
mov eax, esi
call fcn.004147e0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
push str.20010101
push str.PUBLICDATE
push 0x455120
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop esi
pop ebx
cmp eax, ecx
je 0x416809
push eax
call fcn.0042f7b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret

Function at 0x416820
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov esi, ecx
mov dword [ebp - 0x1c], 0
call fcn.0042e2b1
push 0xa
mov edi, eax
call fcn.0042e2b1
add esp, 8
push 0xa
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0xc
push edi
push 0x4562a4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push 0x4562a8
push ecx
call fcn.0042f3a2
lea eax, [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x18]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.004148e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x4168b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1e4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41695c
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp - 0x1e4]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x1e8]
push eax
push 0
push str.ProductName
push ecx
mov dword [ebp - 0x1ec], 0xff
mov dword [ebp - 0x1e8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41694f
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1e4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x416927
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x148]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x14c]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x148], 0
call fcn.004148e0
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x14c]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
cmp eax, ecx
je 0x4169d1
push eax
call fcn.0042f7b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x416c10
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19054
call fcn.00445b20
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
jne 0x416c7d
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x416de1
push eax
call fcn.0042f7b1
add esp, 4
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push ebx
push 0
push 0x102
push 0
push 0
push edx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x416ca8
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x416db6
push eax
lea edx, [ebp - 0x19054]
push edx
mov dword [ebp - 0x19050], eax
mov dword [ebp - 0x19054], eax
lea eax, [ebp - 0x19050]
push eax
push 0x20000013
push ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x19050], 0x190
ja 0x416daa
push 0x19000
lea edx, [ebp - 0x19004]
push 0
push edx
mov dword [ebp - 0x1904c], 0
call fcn.00439380
add esp, 0xc
lea eax, [ebp - 0x1904c]
push eax
push 0x19000
lea ecx, [ebp - 0x19004]
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x416daa
mov eax, dword [ebp - 0x1904c]
test eax, eax
je 0x416daa
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + eax - 0x19004], 0
call ebx
push esi
call ebx
lea eax, [ebp - 0x19004]
lea edx, [ebp - 0x19044]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x19048]
mov dword [ebp - 0x19048], edx
mov byte [ebp - 0x19044], 0
call fcn.004148e0
push 0x19000
lea ecx, [ebp - 0x19004]
push 0
push ecx
call fcn.00439380
add esp, 0xc
mov edx, esi
push edx
mov eax, edi
call fcn.00414790
mov eax, dword [ebp - 0x19048]
lea ecx, [ebp - 0x19044]
cmp eax, ecx
je 0x416da0
push eax
call fcn.0042f7b1
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
jmp 0x416dd5
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push esi
call ebx
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x454939
or eax, 0xffffffff
mov esi, edi
call fcn.004148e0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x416de0
push eax
call fcn.0042f7b1
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x417270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp dword [esi + 0x10], 0
ja 0x417284
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4172cd
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4172ae
mov esi, dword [esi]
mov ecx, dword [ebp - 4]
push eax
push esi
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4172e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eb9b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x46166c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
push 0x103
lea eax, [ebp - 0x113]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.00439380
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsTheWorld.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4173c1
mov ecx, dword [ebp - 0x134]
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push str.Path
push ecx
mov dword [ebp - 0x138], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4173a5
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040aae0
cmp dword [ebp - 0x120], ebx
jbe 0x41742a
push 0xd
push str.TheWorld.ini
lea ecx, [ebp - 0x130]
call fcn.0040aae0
cmp dword [ebp - 0x11c], 0x10
mov ecx, dword [ebp - 0x130]
jae 0x4173f0
lea ecx, [ebp - 0x130]
cmp dword [esi + 0x14], 0x10
jb 0x4173fa
mov eax, dword [esi]
jmp 0x4173fc
mov eax, esi
push ecx
push eax
push str.HomePage
push str.Option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [ebp - 0x11c], 0x10
jb 0x417426
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.0042f0d0
add esp, 4
mov al, 1
jmp 0x417444
cmp dword [ebp - 0x11c], 0x10
jb 0x417442
mov edx, dword [ebp - 0x130]
push edx
call fcn.0042f0d0
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ed1f
mov esp, ebp
pop ebp
ret
Function at 0x418da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax + 0x10], 0
ja 0x418db7
xor al, al
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push str.SoftwareTENCENTQQBrowserLaunch
push 0x80000001
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x418e25
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 8]
push edx
push 4
push 0
push str.LaunchOpenPageType
push eax
mov dword [ebp - 8], 1
call esi
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.MainPageType
push edx
mov dword [ebp - 8], 2
call esi
mov eax, dword [ebp - 4]
push eax
call ebx
lea ecx, [ebp - 4]
push ecx
push 0x20006
push 0
push str.SoftwareTENCENTQQBrowserCommon
push 0x80000001
call edi
test eax, eax
jne 0x418e73
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x418e51
mov eax, dword [eax]
mov edx, dword [ebp - 4]
push ecx
push eax
push 1
push 0
push str.MainPageDIY
push edx
call esi
mov eax, dword [ebp - 4]
push eax
call ebx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4