joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b030
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push edx
push edx
push 0x1a
push edx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.ExtSmartWiz
push str.ExtSmartWiz
lea ecx, [esp + 0x10]
push str.360SE
push ecx
push str._s_s_apps_s_s.dll
lea edx, [esp + 0x224]
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov edx, dword [0x5258f0]
lea eax, [esp + 0x210]
push esi
push eax
mov eax, dword [0x5258f4]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x5258f8]
mov dword [ecx + 4], eax
mov eax, dword [0x5258fc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esi + 0x8cf0]
call fcn.00495980
pop edi
pop esi
add esp, 0x410
ret

Function at 0x46b9e0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x2094
call fcn.0051d7f0
push esi
mov esi, ecx
mov dword [esp + 4], 0
call fcn.0046ace0
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
call dword [ecx + 0x78]
mov eax, dword [esp + 4]
test eax, eax
je 0x46bac4
mov ecx, dword [esp + 0x209c]
push edi
xor edi, edi
test ecx, ecx
je 0x46ba35
mov ecx, esi
call fcn.0046ace0
push eax
call fcn.00477c80
add esp, 4
test eax, eax
je 0x46ba76
jmp 0x46ba71
push eax
push 0x561640
lea eax, [esp + 0x14]
push 0x1048
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0xc]
push 5
push 0x56e1d0
push 0x56e1d0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x46ba76
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
pop edi
jne 0x46bac4
cmp word [0x56e88c], 0
jne 0x46baa8
mov eax, dword [0x58e228]
push 0x104
push 0x56e88c
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x56e88c
push 0x78
call fcn.0049bcd0
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
add esp, 0x2094
ret 4
Function at 0x46bbb0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 8]
push edi
push eax
push 0x5616f0
mov edi, ecx
push SysReAllocStringLen
mov dword [esp + 0x14], 0x104
call esi
test eax, eax
je 0x46bbf6
lea ecx, [esp + 0xc]
push ecx
push 0x5616a8
push SysReAllocStringLen
call esi
test eax, eax
jne 0x46bc8f
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x56e1d0
push ecx
mov dword [esp + 0x20], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 8]
lea esi, [esp + 0x10]
test eax, eax
jbe 0x46bc8f
cmp word [esp + 0x10], 0x22
jne 0x46bc3f
lea esi, [esp + 0x12]
push 0x22
push esi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x46bc54
mov word [eax], 0
push 0x56169c
push esi
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x46bc6c
mov word [eax], 0
push 5
lea eax, [edi + 0x4708]
push 0
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x46bc98
push 2
mov ecx, edi
call fcn.0046bcb0
pop edi
pop esi
add esp, 0x210
ret
Function at 0x46dd60
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x46ddc0
mov ecx, dword [edi + 0xb330]
test ecx, ecx
jne 0x46dd79
xor eax, eax
jmp 0x46dd84
mov eax, dword [edi + 0xb334]
sub eax, ecx
sar eax, 2
lea esi, [eax - 1]
test esi, esi
jl 0x46ddc0
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0xb330]
test ebx, ebx
mov eax, dword [eax + esi*4]
je 0x46ddb2
push 2
push 1
push 0x3456
push eax
call ebp
jmp 0x46ddbb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
dec esi
jns 0x46dd97
pop ebp
pop ebx
pop edi
pop esi
ret 4

Function at 0x46e3e0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push 0x56e274
push 0x5618e0
push SysReAllocStringLen
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x46e44b
push 0x56e274
push 0x5618e0
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 1
call fcn.00478d90
push 1
push 2
push 9
call fcn.00478d60
push 1
push 2
push 0xf
call fcn.00478d60
push 0
push 2
push 5
call fcn.00478d60
push 1
push 2
push 0xa
call fcn.00478d60
push 0
call fcn.00478d90
mov dword [0x59f7bc], 1
call fcn.00450e60
add esp, 0x248
ret

Function at 0x46e970
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x46e99a
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46e99a
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x46e9a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x46ea60
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [0x57cb14]
push esi
push edi
mov edi, ecx
test eax, eax
je 0x46ea79
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46eb68
cmp word [esi], 0
je 0x46eb68
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46eb68
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
call fcn.0046eb70
mov edi, eax
test edi, edi
jne 0x46eacc
pop edi
pop esi
pop ecx
ret 4
mov edx, dword [esp + 8]
inc edx
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
jne 0x46eaf9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46eaf1
push eax
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
mov eax, dword [esp + 8]
mov edi, esi
lea ecx, [eax + 1]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.00481e10
add esp, 8
test eax, eax
jle 0x46eb43
push 1
push 8
push 0x561b74
push eax
push esi
push esi
call fcn.0041dff0
push esi
push 0x57cb14
call fcn.00495d60
add esp, 0x20
push esi
call fcn.0051d79a
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x46eb5d
push eax
call fcn.0051d79a
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x46eb70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
je 0x46ec51
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x46ec51
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46ec51
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov dword [esi], eax
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp], edi
jne 0x46ebe2
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esi]
xor eax, eax
inc ecx
push 0
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46ec33
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x46ec33
push ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebp]
test eax, eax
je 0x46ec4a
push eax
call fcn.0051d79a
add esp, 4
mov dword [ebp], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x470360
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x47037f
call fcn.0046ffc0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x470462
cmp byte [esi], 0
je 0x470462
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x470462
mov al, byte [esp + 0x4c]
test al, al
je 0x470462
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x470401
xor edi, edi
jmp 0x470409
mov edi, dword [ebx + 0x18]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x470451
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x470433
add eax, 8
test eax, eax
je 0x470433
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x470449
inc esi
cmp esi, edi
jl 0x470416
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4
Function at 0x470990
Capabilities:
Parse url

Disassembly:
sub esp, 0x864
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4709a7
call fcn.004705e0
mov esi, dword [esp + 0x874]
test esi, esi
je 0x470ab0
cmp byte [esi], 0
je 0x470ab0
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x470ab0
mov al, byte [esp + 0x4c]
test al, al
je 0x470ab0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x470a39
xor edi, edi
jmp 0x470a41
mov edi, dword [ebx + 0x18]
sub edi, eax
sar edi, 2
xor esi, esi
push ebp
test edi, edi
jle 0x470a7a
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + esi*4]
test eax, eax
je 0x470a6b
add eax, 8
test eax, eax
je 0x470a6b
push eax
lea eax, [esp + 0x54]
push eax
call ebp
test eax, eax
jne 0x470a72
inc esi
cmp esi, edi
jl 0x470a4e
jmp 0x470a7a
mov dword [esp + 0x10], 1
mov eax, dword [ebx + 0xc]
pop ebp
test eax, eax
jne 0x470a99
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
pop edi
pop esi
setne al
pop ebx
add esp, 0x864
ret 4
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
pop edi
pop esi
sete al
pop ebx
add esp, 0x864
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x864
ret 4
Function at 0x473a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5200a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
mov dword [esp + 0x34], ebx
call fcn.004731c0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
je 0x473a6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov edx, dword [edi]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebx
push eax
mov eax, dword [esi]
push ecx
push eax
push edi
call dword [edx + 0x1ac]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x473be1
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00477720
cmp eax, ebx
jge 0x473ab7
cmp eax, 0x80004002
je 0x473ab7
push eax
call fcn.0051d6c7
mov eax, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x3c]
cmp eax, ebx
je 0x473ba4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov edx, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 2
call dword [edx + 0x48]
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x473b91
mov dword [esp + 0x3c], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x3c]
push edx
mov byte [esp + 0x30], 3
call fcn.00462900
cmp eax, ebx
jge 0x473b10
cmp eax, 0x80004002
je 0x473b10
push eax
call fcn.0051d6c7
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.00473790
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call fcn.004735d0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov edi, dword [esi]
mov ecx, dword [esp + 0x38]
sub edx, eax
mov eax, dword [esp + 0x34]
add edi, edx
mov edx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esi], edi
mov edi, dword [esi + 4]
push ecx
push ebp
add edi, eax
push esi
push edx
mov dword [esi + 4], edi
call fcn.00473a20
mov eax, dword [esp + 0x64]
add esp, 0x28
cmp eax, ebx
mov byte [esp + 0x2c], 2
je 0x473b8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x473ba0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x34]
cmp dword [ebp], ebx
jne 0x473bce
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x473bbf
push 0x80004003
call fcn.0051d6c7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebp
push 0x52c390
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x2c], bl
pop ebp
je 0x473bdd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x473bf6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x477a20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5884f8]
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
test ecx, ecx
mov dword [esp], 1
mov eax, 0x561ed8
je 0x477a4c
mov eax, 0x561e70
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x477a8d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x561e58
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x477aa0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x5884f8]
mov dword [esp], 1
test ecx, ecx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 4
mov eax, 0x561ed8
je 0x477acf
mov eax, 0x561e70
lea ecx, [esp + 4]
push ecx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x477b3d
lea edx, [esp + 8]
lea eax, [esp]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x561e58
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 8]
lea edx, [esp]
sete al
push ecx
push edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
push 4
push 0
push 0x561e58
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
ret
Function at 0x478a70
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525d18
push 0x51d85e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, 0x1084
call fcn.0051d7f0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x3c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
lea ecx, [eax + eax]
xor eax, eax
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x5614a8
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrW]
call edi
cmp eax, esi
jne 0x478b18
push 0x5614a8
push 0x53a4a4
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.res:__
push esi
call edi
cmp eax, esi
jne 0x478b53
push str.res:__
push 0x53a4a4
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov dword [ebp - 4], edi
lea edx, [ebp - 0x54]
push edx
push 0x10000000
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x478c2e
mov word [ebp - 0x109c], di
mov ecx, 0x411
lea edi, [ebp - 0x109a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push str.http:___s
push 0x823
lea eax, [ebp - 0x109c]
push eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
call esi
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
push 0x10000000
lea edx, [ebp - 0x109c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
lea eax, [ebp - 0x109c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x478c2e
lea ecx, [ebp - 0x109c]
push ecx
push 0x53a4a4
mov edx, dword [ebp + 0x10]
dec edx
push edx
push ebx
call esi
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x478bf7
cmp word [ebx], 0
je 0x478bf7
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479270
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
push ebp
mov ebp, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push edi
push eax
mov edi, 1
push 0
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x479369
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x479369
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call ebx
test eax, eax
je 0x47935c
mov eax, dword [esi + 8]
test eax, eax
je 0x47935c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47935c
mov eax, dword [0x57cb38]
test eax, eax
jne 0x47933a
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x47931e
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x479331
push str.IsUrlCacheEntryExpiredW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x57cb38], eax
jmp 0x479336
mov eax, dword [0x57cb38]
test eax, eax
je 0x47935c
lea ecx, [esi + 0x28]
push ecx
push 0
push ebp
call eax
test eax, eax
jne 0x47935c
push esi
xor edi, edi
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x14]
push esi
call fcn.0051d79a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x479960
Capabilities:
Get common file path

Disassembly:
sub esp, 0x414
push ebx
mov ebx, ecx
push esi
push 0x43e
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
lea ecx, [esp + 8]
mov esi, eax
push ecx
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x14], 0
call fcn.0040ea80
mov eax, dword [esp + 0x14]
add esp, 0xc
xor edx, edx
cmp esi, 1
setne dl
mov esi, edx
cmp esi, eax
je 0x479a47
push edi
push esi
push str.NotJoinPrivate
push str.option
call fcn.0040ec00
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x14]
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x562138
lea edx, [esp + 0x21c]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test esi, esi
pop edi
mov eax, 0x53aecc
jne 0x479a2e
mov eax, 0x53aee4
lea ecx, [esp + 0x214]
push ecx
push eax
push str.NotJoinPrivate
push str.option
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebx + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
pop ebx
add esp, 0x414
ret
Function at 0x479a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x520533
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050b490
mov al, byte [esp + 0xb]
xor edi, edi
mov dword [esp + 0x18], edi
mov byte [esi + 0x30], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
push 0x5bf9e0
mov byte [esp + 0x1c], 1
mov dword [esi], 0x525d28
mov dword [esi + 0x44], edi
mov dword [esi + 0x24], edi
mov word [esi + 0x28], di
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
call fcn.004e1d50
add esp, 4
test eax, eax
jl 0x479ada
mov eax, dword [0x5bf9e0]
mov dword [0x5bf9e0], 1
cmp eax, edi
jne 0x479ae0
mov dword [0x5bf9e0], edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x47afa7
Capabilities:
Hide graphical window

Disassembly:
cmp word [esp + 4], 0x1974
push esi
mov esi, ecx
jne 0x47b045
mov eax, dword [esp + 0xc]
sub eax, 0x201
je 0x47afcd
sub eax, 4
jne 0x47b045
call fcn.0047b050
pop esi
ret 8
call fcn.00447590
mov eax, dword [eax + 0x290]
cmp eax, 1
mov dword [esp + 0xc], eax
jbe 0x47afec
mov ecx, esi
call fcn.0047b050
pop esi
ret 8
jne 0x47b045
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00447590
mov ecx, eax
call fcn.00448cc0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47b038
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov ecx, dword [esp + 8]
push 6
push ecx
call esi
mov edx, dword [esp + 8]
push 0
push edx
call esi
pop esi
ret 8
mov eax, dword [esp + 8]
push eax
call fcn.0047af60
add esp, 4
pop esi
ret 8