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

Disassembly:
push 0xffffffffffffffff
push 0x5a3380
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
movzx eax, byte [0x62bc66]
push eax
mov eax, dword [esp + 0x40]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
lea edi, [esp + 0x1c]
mov dword [esi], eax
call fcn.004782f0
mov esi, eax
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x44]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
call fcn.004073f0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
add eax, 0x10
push edx
mov edx, dword [esp + 0x44]
mov ecx, esi
mov dword [edi], eax
call fcn.00478420
mov esi, eax
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477b03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477b2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0x10

Function at 0x477ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a2258
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, edx
mov dword [esp + 0x1c], 0
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00478530
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, esp
mov dword [eax], edx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
call fcn.004785e0
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477d67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x477d80
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a1030
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x34], 0
call fcn.00477ea0
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
movzx edx, byte [0x62bc66]
mov eax, dword [esp + 0x38]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
lea edi, [esp + 0x24]
mov dword [esi], eax
call fcn.00478690
add esp, 8
mov byte [esp + 0x30], 1
mov dword [esp + 0x18], eax
mov eax, dword [0x660274]
mov dword [esp + 0x14], 0x478cc0
test eax, eax
jne 0x477e2b
call fcn.00410d40
test eax, eax
je 0x477e22
push str.BroadcastMessage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x660274], eax
jmp 0x477e27
mov eax, dword [0x660274]
test eax, eax
je 0x477e38
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x478
call eax
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x477e5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477e85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x478cf0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x2c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x28], eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMWPAPnP
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x478ece
push ebx
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push str.seed
push eax
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
push 4
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], 0
call ebx
mov edx, dword [esp + 0x10]
push 0
push 4
lea ecx, [esp + 0x28]
push ecx
push edx
call ebx
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 2
push edx
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_bind
call edi
mov ecx, dword [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
lea eax, [esp + 0x18]
push eax
push 3
push 0
push str.Policy
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.WS2_32.dll_bind
call edi
mov edx, dword [esp + 0xc]
push 1
lea ecx, [esp + 0x18]
push ecx
push 3
push 0
push str.Policy
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push reloc.WS2_32.dll_accept
call edi
mov eax, dword [esp + 0xc]
push 1
lea edx, [esp + 0x18]
push edx
push 3
push 0
push str.Policy
push eax
call ebx
mov ecx, dword [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionSetup
push reloc.WS2_32.dll_bind
call edi
mov ecx, dword [esp + 0xc]
push 0x10
lea eax, [esp + 0x28]
push eax
push 3
push 0
push str.PrivateHash
push ecx
call ebx
mov edx, dword [esp + 0xc]
push edx
call esi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004f673f
add esp, 0x2c
ret
Function at 0x478fa0
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
push ecx
push edi
push str.CCrackThread::Start__begin
call fcn.0049d036
add esp, 4
xor edi, edi
push edi
push edi
push 1
push edi
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
cmp eax, edi
jne 0x478fcf
mov dword [esi + 4], 0xffffffff
jmp 0x478ff2
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x478f80
push edi
push edi
call fcn.004f7e80
add esp, 0x18
mov dword [esi + 8], eax
cmp eax, edi
jne 0x478ff7
mov dword [esi + 8], 0xffffffff
mov edi, 1
lea ecx, [esp + 4]
push ecx
lea edx, [esi + 0x14]
push edx
lea eax, [esi + 0x1c]
push eax
push 0x5f2518
push 0x5f2528
push reloc.WS2_32.dll_bind
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x18], eax
call fcn.00478cf0
push str.CCrackThread::Start_end
call fcn.0049d036
add esp, 4
mov eax, edi
pop edi
pop ecx
ret

Function at 0x479040
Capabilities:
Set registry value

Disassembly:
push edi
push str.CCrackThread::Stop_end
call fcn.0049d036
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
cmp eax, 0xffffffff
je 0x479077
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
push eax
mov dword [esi + 0x20], 1
call edi
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x479095
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
push ecx
call edi
mov dword [esi + 8], 0xffffffff
cmp dword [esi + 0x18], 0
pop edi
jne 0x4790bb
mov eax, dword [esi + 0x1c]
push 1
lea edx, [esi + 0x14]
push edx
push eax
push 0x5f2518
push 0x5f2528
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push str.CCrackThread::Stop_end
call fcn.0049d036
pop ecx
ret

Function at 0x4792d0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.00515150
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x201c]
xor ebx, ebx
push 0x1fff
lea eax, [esp + 0x19]
push ebx
push eax
mov byte [esp + 0x20], bl
call fcn.004fe380
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x4793ae
cmp eax, 0x1fff
ja 0x4793ae
lea edx, [esp + 0x14]
push edx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4793ae
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x5d7f4c
lea edx, [esp + 0x20]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4793ae
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmp edi, ebx
je 0x47936a
mov dword [edi], eax
cmp ebp, ebx
je 0x479392
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push 0x5d7f50
mov ecx, 0x104
mov ebx, ebp
call fcn.0040f130
add esp, 0x14
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.004f673f
add esp, 0x2010
ret
mov ecx, dword [esp + 0x2014]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004f673f
add esp, 0x2010
ret
Function at 0x4795b0
Capabilities:
Check if file exists
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x594a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.004fe380
add esp, 0xc
push 0x104
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
push str._sdriverswdf01000.sys
lea edi, [esp + 0x14]
mov dword [esp + 0x43c], 0
call fcn.00407710
mov esi, dword [esp + 0x14]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479715
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22a]
push edx
mov word [esp + 0x22c], cx
call fcn.004fe380
lea eax, [esp + 0x22c]
push eax
lea edi, [esp + 0x1c]
call fcn.004792d0
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x10
add esp, 0x10
movzx ecx, cx
cmp eax, 1
jne 0x479715
cmp ecx, 5
jne 0x479715
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.SystemComponent
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWdf01005
push reloc.WS2_32.dll_bind
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x24], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4796ea
cmp dword [esp + 0xc], eax
jne 0x479715
lea eax, [esi - 0x10]
mov dword [esp + 0x434], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479711
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47973d
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x434], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479738
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004f673f
add esp, 0x42c
ret

Function at 0x479770
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 4], eax
push 4
lea eax, [esp + 4]
push eax
push 4
push str.SystemComponent
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallWdf01005
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.004f673f
add esp, 8
ret
Function at 0x47a8c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
je 0x47a923
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 4]
je 0x47a923
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 8]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a91d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47a93f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
ret 4

Function at 0x47b350
Capabilities:
Modify service

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
push esi
lea eax, [esp + 8]
push eax
push 0
push 0
push edi
mov dword [esp + 0x18], 0
call ebx
test eax, eax
jne 0x47b3e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x47b3e3
mov eax, dword [esp + 8]
test eax, eax
jbe 0x47b3e3
push eax
call fcn.004f6dde
mov esi, eax
add esp, 4
test esi, esi
jne 0x47b397
pop esi
pop ebx
pop ecx
ret
mov ecx, dword [esp + 8]
push ecx
push 0
push esi
call fcn.004fe380
mov eax, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 8]
push edx
push eax
push esi
push edi
call ebx
test eax, eax
je 0x47b3da
cmp dword [esi + 4], 4
jne 0x47b3da
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push esi
call fcn.004f6d01
add esp, 4
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x47b710
Capabilities:
Check if file exists
Copy file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.004fe380
mov esi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add esp, 0xc
push 0x104
lea edx, [esp + 0x10]
push edx
call esi
call fcn.0049c555
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x47b76e
push str._system32DriverStoreFileRepositorywinusb.inf_amd64_neutral_6cb50ae9f480775bwinusb.sys
lea eax, [esp + 0x10]
push eax
jmp 0x47b778
push str._system32DriverStoreFileRepositorywinusb.inf_x86_neutral_6cb50ae9f480775bwinusb.sys
lea ecx, [esp + 0x10]
push ecx
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0xc]
push edx
call ebx
test eax, eax
jne 0x47b7a5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004f673f
add esp, 0x414
ret
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
mov word [esp + 0x220], ax
call fcn.004fe380
add esp, 0xc
push 0x104
lea edx, [esp + 0x218]
push edx
call esi
push str.infwinusb.sys
lea eax, [esp + 0x218]
push eax
call edi
lea ecx, [esp + 0x214]
push ecx
call ebx
test eax, eax
jne 0x47b78b
push 1
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f673f
add esp, 0x414
ret

Function at 0x47be80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x596b72
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x224], 0
push edi
mov ecx, 0x5d74e0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.004066b0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x22c], 0
push ecx
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], ax
call fcn.004fe380
add esp, 0xc
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x47bf26
lea edx, [esp + 0x10]
call fcn.00406780
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004f673f
add esp, 0x220
ret
Function at 0x47bf50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x596968
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea ecx, [esp + 4]
call fcn.0047be80
mov dword [esp + 0x10], 0
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
jne 0x47bfc2
mov dword [esp + 0x10], 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bfb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
push 0xc
push str.infusb.inf
lea ecx, [esp + 0xc]
push ecx
call fcn.00409a20
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47bff0
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
jmp 0x47bf94
lea eax, [esp + 4]
call fcn.00406fe0
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c021
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x47c470
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x65e100]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
test eax, eax
jne 0x47c497
push 0x623830
call esi
mov eax, 1
mov dword [0x65e100], eax
mov edi, 2
cmp dword [0x623840], edi
jne 0x47c4da
cmp dword [0x623834], 5
jne 0x47c4da
cmp dword [0x623838], 1
jne 0x47c4da
push ebx
push str.http:__applogo.softdl.360.cn_drivers_xp_usb.cab
lea ebx, [edi + 0x2d]
mov eax, ebp
call fcn.004072f0
mov eax, dword [esp + 0x18]
push str.be34343f67fde2f74a5853cc95843450
lea ebx, [edi + 0x1e]
call fcn.004072f0
pop ebx
jmp 0x47c534
test eax, eax
jne 0x47c4ef
push 0x623830
call esi
mov dword [0x65e100], 1
cmp dword [0x623840], edi
jne 0x47c534
cmp dword [0x623834], 6
jne 0x47c534
call fcn.0049c555
mov edi, ebp
test eax, eax
je 0x47c51c
mov edx, str.http:__applogo.softdl.360.cn_drivers_win764_usb.cab
call fcn.00406780
mov edx, str.6bb72053458fe2138ff90aae853dda4a
jmp 0x47c52b
mov edx, str.http:__applogo.softdl.360.cn_drivers_win732_usb.cab
call fcn.00406780
mov edx, str.575afbb95a7372b8919558130d783c49
mov edi, dword [esp + 0x14]
call fcn.00406780
mov eax, dword [ebp]
cmp dword [eax - 0xc], 0
pop edi
pop esi
pop ebp
je 0x47c554
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
cmp dword [edx - 0xc], 0
je 0x47c554
mov eax, 1
ret 8
xor eax, eax
ret 8
Function at 0x47d540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a1a78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov esi, ecx
xor edi, edi
lea eax, [esi + 0x2c]
push 0x5d74e0
xor ebx, ebx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
call fcn.004072f0
lea eax, [esi + 0x3c]
push 0x5d74e0
mov dword [esi + 0x38], edi
call fcn.004072f0
push esi
mov ecx, ebp
mov dword [esi + 0x40], edi
call fcn.0047d730
mov eax, dword [esi]
cmp eax, edi
je 0x47d5c1
push 0x5f33a8
push eax
jmp 0x47d5cb
cmp ebp, edi
je 0x47d5d7
push 0x5f33a8
push ebp
call fcn.004f7373
add esp, 8
test eax, eax
jne 0x47d5dc
cmp dword [esi + 4], edi
je 0x47d644
cmp dword [esi + 4], edi
jne 0x47d638
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x41a020
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x113
mov dword [esp + 0x20], eax
push 0x3e8
mov ecx, eax
push ecx
mov dword [esp + 0x44], edi
call fcn.0041a3e0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x14]
push eax
call edx
push esi
mov ecx, ebp
call fcn.0047d730
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x40], 0xffffffff
call fcn.0041a430
mov dword [esi + 0x1c], 1
jmp 0x47d713
mov ecx, ebp
call fcn.0047db60
test eax, eax
je 0x47d6a8
cmp dword [esi + 0x28], edi
jne 0x47d713
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x41a020
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], 0x113
mov dword [esp + 0x20], ecx
push 0x3e8
mov edx, ecx
push edx
mov dword [esp + 0x44], 1
call fcn.0041a3e0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x14]
push edx
call eax
push esi
mov ecx, ebp
call fcn.0047d730
lea ecx, [esp + 0x14]
push ecx
jmp 0x47d706
mov ecx, ebp
call fcn.0047dbb0
test eax, eax
je 0x47d715
cmp dword [esi + 0x38], edi
jne 0x47d713
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x41a020
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x113
mov dword [esp + 0x30], edx
push 0x3e8
mov eax, edx
push eax
mov dword [esp + 0x44], 2
call fcn.0041a3e0
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x24]
push eax
call edx
push esi
mov ecx, ebp
call fcn.0047d730
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x40], 0xffffffff
call fcn.0041a430
mov dword [esi], ebp
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8