joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4686c0
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x57c088
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
xor esi, esi
push eax
mov dword [esp + 0x10], 0x1024
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [esp + 0x18], 0x1c9c3800
jae 0x46870f
mov dword [esp + 0xc], 0x256
push str.SYSTEMCurrentControlSetServiceslanmanserver
lea ecx, [esp + 0xc]
call fcn.00402390
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x14]
push str.Maxworkitems
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b66e0
add esp, 0x14
push 0xb
push str.parameters
lea ecx, [esp + 0x10]
call fcn.004121c0
push 4
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push 4
push str.Maxworkitems
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b66e0
mov esi, eax
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468799
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x469090
Capabilities:
Create directory

Disassembly:
sub esp, 0x40
push esi
mov ecx, edi
call fcn.004600b0
test eax, eax
jne 0x4690a7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], 9
mov dword [esp + 0x30], 0xb
mov dword [esp + 0x34], 0x69
mov dword [esp + 0x40], 0xffffffff
call fcn.00554a59
mov dword [esp + 8], eax
and eax, edx
add esp, 4
cmp eax, 0xffffffff
mov dword [esp + 8], edx
jne 0x4690fe
push 0x80070057
call fcn.00401f70
lea esi, [esp + 0xc]
lea eax, [esp + 4]
call fcn.00452540
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, edi
call fcn.0045f5b0
add esp, 0x10
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 0x40
ret
Function at 0x469190
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor esi, esi
push esi
push 0x24
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x469208
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4691c2
mov ecx, dword [str._temp]
mov edx, dword [0x5a894c]
mov dword [eax], ecx
mov ecx, dword [0x5a8950]
mov dword [eax + 4], edx
lea edi, [esp + 8]
mov dword [eax + 8], ecx
call fcn.00469090
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00552101
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00552101
add esp, 0x214
ret

Function at 0x469230
Capabilities:
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
xor esi, esi
push esi
push 0x24
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4692aa
lea eax, [esp + 8]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x469261
mov ecx, dword [str._temp]
mov edx, dword [0x5a894c]
mov dword [eax], ecx
mov ecx, dword [0x5a8950]
mov dword [eax + 4], edx
lea edx, [esp + 8]
push edx
mov dword [eax + 8], ecx
call fcn.00469140
add esp, 4
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00552101
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00552101
add esp, 0x218
ret

Function at 0x469330
Capabilities:
Get common file path

Disassembly:
sub esp, 0x224
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x21c], eax
push 0
push 0x24
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x469394
lea ecx, [esp]
push ecx
lea eax, [esp + 0x14]
call fcn.0045f610
add esp, 4
test eax, eax
jne 0x469394
push eax
push 4
push 0x5a8954
call fcn.00539414
mov eax, 1
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00552101
add esp, 0x224
ret
mov ecx, dword [esp + 0x21c]
xor ecx, esp
xor eax, eax
call fcn.00552101
add esp, 0x224
ret
Function at 0x469550
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x577b58
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, str.keywords.txt
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x6c], eax
mov dword [esp + 0x20], str.lastopen.txt
sete al
mov dword [esp + 0x24], str._tango.ini
mov dword [esp + 0x28], str._tgfilter.txt
mov dword [esp + 0x2c], str._safesites.txt
mov dword [esp + 0x30], str.userurls.txt
mov dword [esp + 0x34], str._searcheng.txt
mov dword [esp + 0x3c], str._favorites3.txt
mov dword [esp + 0x40], str.history.log
mov dword [esp + 0x44], str.gameman.txt
mov dword [esp + 0x48], str.plugin.txt
mov dword [esp + 0x4c], str.userproxy.txt
mov dword [esp + 0x50], str.jiugongge.txt
mov ebp, eax
mov esi, dword [esp + ebx*4 + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401ba0
mov edi, eax
mov eax, dword [esp + 0x70]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x74], 0
call fcn.00401ba0
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x18
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46964f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x5c], 0xffffffff
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 0x469677
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
cmp ebx, 0xe
jl 0x4695f1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x46a1d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
xor edi, edi
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x46a317
mov edx, dword [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x46a317
lea eax, [esp + 0x14]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x46a274
mov esi, ebx
mov edi, dword [esi + 0x190]
cmp edi, 0x10
jae 0x46a270
push edi
lea ecx, [esi + 0x194]
push ecx
lea edx, [esp + 0x2ac]
push edx
call fcn.0055cb00
mov esi, dword [esi]
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], edi
jne 0x46a243
mov esi, dword [esp + 0xc]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x10], 0
jbe 0x46a317
mov ecx, esi
call fcn.00402160
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x46a320
movzx esi, byte [esp + edi + 0x2a4]
mov eax, esi
shr eax, 4
cmp eax, 0xa
jl 0x46a2c5
mov ebx, dword [esp + 0xc]
add eax, 0x37
push eax
mov ecx, ebx
call fcn.00463630
jmp 0x46a2d6
mov ecx, dword [esp + 0xc]
add eax, 0x30
push eax
call fcn.00463630
mov ebx, dword [esp + 0xc]
mov eax, esi
and eax, 0x8000000f
jns 0x46a2e4
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xa
mov ecx, ebx
jl 0x46a2f0
add eax, 0x37
jmp 0x46a2f3
add eax, 0x30
push eax
call fcn.00463630
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x46a2a2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00552101
mov esp, ebp
pop ebp
ret
push esi
call fcn.00469d60
add esp, 4
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00552101
mov esp, ebp
pop ebp
ret
Function at 0x46b2a0
Capabilities:
Delete registry key

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str.Directory_shell_tango
push SysReAllocStringLen
call esi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x46b2e5
mov ecx, dword [esp + 0xc]
push 0x5a8bd0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str.Directory_shell
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46b314
mov ecx, dword [esp + 0xc]
push 0x5a8be8
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str._shell_tango
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46b343
mov ecx, dword [esp + 0xc]
push 0x5a8bd0
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push str._shell
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46b372
mov ecx, dword [esp + 0xc]
push 0x5a8be8
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x46b600
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1dc
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x1d8], eax
push 0xc8
lea eax, [esp + 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x100
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00557890
add esp, 0xc
xor eax, eax
nop
mov cl, byte [esp + eax + 0x110]
mov byte [esp + eax + 0x10], cl
add eax, 1
test cl, cl
jne 0x46b640
lea eax, [esp + 0x10]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x46b660
mov edx, dword [str.___send__1_]
mov ecx, dword [0x5a8fec]
mov dword [eax], edx
mov edx, dword [0x5a8ff0]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 8]
push eax
push 0x2001f
push 0
push str.Directory_shell
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x46b829
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x5a8be8
push edx
call ebx
mov eax, 0x5a8fd0
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46b6d0
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, esi
push eax
mov eax, dword [esp + 0x14]
push 0x5a8fd0
push 1
push 0
push 0x59299a
push eax
call edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0x5a8bd0
push edx
call ebx
lea eax, [esp + 0x20]
lea esi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46b710
mov ecx, dword [esp + 0x18]
sub eax, esi
push eax
lea eax, [esp + 0x24]
push eax
push 1
push 0
push 0x59299a
push ecx
call edi
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
push str._shell
push SysReAllocStringLen
call ebp
test eax, eax
je 0x46b791
lea eax, [esp + 0x1c]
push eax
push 0x2001f
push 0
push 0x5a845c
push SysReAllocStringLen
call ebp
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push 0x5a8ff4
push edx
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x5a8be8
push ecx
call ebx
mov eax, 0x5a8fd0
lea ebp, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46b7b0
mov edx, dword [esp + 0x10]
sub eax, ebp
push eax
push 0x5a8fd0
push 1
push 0
push 0x59299a
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push 0x5a8bd0
push ecx
call ebx
lea eax, [esp + 0x20]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x46b7f0
sub eax, ecx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push 1
push 0
push 0x59299a
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1dc]
pop ebp
xor ecx, esp
call fcn.00552101
add esp, 0x1dc
ret
Function at 0x46b840
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push 0x7d0
call fcn.005308fb
push 0x7d0
mov esi, eax
push 0
push esi
call fcn.00557890
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add esp, 0x10
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46b8c0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
lea ecx, [esp + 8]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46b8c7
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004021d0
push esi
call fcn.005308f6
mov edx, dword [esp + 8]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x46b8f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, 4
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 0x20019
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46b953
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
mov edx, dword [esp + 0x14]
lea ecx, [esp]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46b959
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret
Function at 0x46d4c0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
xor esi, esi
mov ebx, 0x1000
mov eax, 0x7a
nop
test eax, eax
je 0x46d520
cmp eax, 0x7a
jne 0x46d576
push esi
call fcn.005308f6
push ebx
call fcn.005308fb
mov esi, eax
add esp, 8
test edi, edi
mov dword [esi], ebx
mov dword [esp + 0x10], ebx
jne 0x46d553
lea eax, [esp + 0x10]
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov edi, eax
xor eax, eax
test edi, edi
setne al
jmp 0x46d55c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x46d537
test dword [esi + 0xc], 0x100000
jne 0x46d54f
mov edx, dword [esi + 4]
push edx
jmp 0x46d549
cmp eax, 1
jne 0x46d54f
test dword [esi + 0xc], 0x100000
je 0x46d54f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call ebp
test eax, eax
je 0x46d567
xor eax, eax
jmp 0x46d4e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x10]
jmp 0x46d4e0
cmp eax, 0x103
jne 0x46d585
mov dword [esp + 0x14], 1
push esi
call fcn.005308f6
add esp, 4
test edi, edi
je 0x46d599
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x46d5b0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
push esi
push edi
xor edi, edi
xor esi, esi
mov ebx, 0x1000
mov eax, 0x7a
mov dword [esp + 0x14], edi
nop
test eax, eax
je 0x46d610
cmp eax, 0x7a
push esi
jne 0x46d664
call fcn.005308f6
push ebx
call fcn.005308fb
mov esi, eax
add esp, 8
test edi, edi
mov dword [esi], ebx
mov dword [esp + 0x10], ebx
jne 0x46d641
lea eax, [esp + 0x10]
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov edi, eax
xor eax, eax
test edi, edi
setne al
jmp 0x46d64a
test dword [esi + 0xc], 0x100000
je 0x46d63d
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
push edx
push eax
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x46d63d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
add dword [esp + 0x14], 1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call ebp
test eax, eax
je 0x46d655
xor eax, eax
jmp 0x46d5d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x10]
jmp 0x46d5d0
call fcn.005308f6
add esp, 4
test edi, edi
je 0x46d677
push edi
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x46dde0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
push 0x11c
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00557890
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x46de4e
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x46de4e
pop edi
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00552101
add esp, 0x120
ret
cmp dword [esp + 0x18], 2
jne 0x46de61
cmp dword [esp + 0xc], 5
jb 0x46de61
mov esi, 1
mov ecx, dword [esp + 0x124]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00552101
add esp, 0x120
ret

Function at 0x46e2c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebp
je 0x46e3ec
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
push 0x40000
push ebp
push esi
push edi
call ebx
test eax, eax
jne 0x46e3db
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
push ecx
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x46e3db
cmp dword [esp + 0x34], ebp
je 0x46e3d6
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebp
push esi
push edi
mov dword [esp + 0x24], ebp
call ebx
test eax, eax
jne 0x46e3db
push eax
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push eax
push ebp
push ebp
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46e3db
push 0x20a
call fcn.005308fb
xor edi, edi
add esp, 4
cmp dword [esp + 0x2c], edi
mov esi, eax
jbe 0x46e3cd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edx, dword [esp + 0x10]
push 0x105
push esi
push edi
push edx
call ebx
test eax, eax
jne 0x46e3bd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 1
push eax
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0046e2c0
jmp 0x46e3c4
cmp eax, 0x103
je 0x46e3cd
add edi, 1
cmp edi, dword [esp + 0x2c]
jb 0x46e393
push esi
call fcn.005308f6
add esp, 4
mov ebp, 1
mov eax, dword [esp + 0x10]
test eax, eax
pop edi
pop ebx
je 0x46e3ec
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop ebp
add esp, 0x14
ret 0x10
Function at 0x46e400
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x57be5b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.005591d0
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x2718], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x2730]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
call fcn.00530e1f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46e45d
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x2710
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esp + 0x2744], 0
call fcn.00557890
add esp, 0xc
test esi, esi
jne 0x46e494
xor eax, eax
jmp 0x46e4af
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e4a0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00402250
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00463630
test edi, edi
jne 0x46e4cd
xor eax, eax
jmp 0x46e4e1
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x46e4d2
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.004121c0
mov ebp, dword [esp + 0x14]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46e539
mov dword [esp + 0x2738], eax
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e532
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x46e5c7
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x46e594
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, edi
cmp edi, 0x2710
push 0
jbe 0x46e586
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0x28]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x46e560
jmp 0x46e594
lea eax, [esp + 0x1c]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
mov dword [esp + 0x2738], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46e5c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x2730]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2718]
xor ecx, esp
call fcn.00552101
add esp, 0x2728
ret