joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48e027
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.BDMDownload::CDownloadDispatcher.0
push esi
mov dword [esp + 0x18], 8
call fcn.00474400
mov eax, esi
call fcn.00472ac0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi + 0x1260]
mov byte [esp + 0x14], 7
call fcn.0041a790
lea eax, [esi + 0x1248]
push eax
mov dword [esi + 0x1244], 0x49d500
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x1238]
mov dword [esi + 0x1244], 0x49d454
mov byte [esp + 0x14], 5
call fcn.0041a220
lea ecx, [esi + 0x1218]
mov byte [esp + 0x14], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x11fc]
mov byte [esp + 0x14], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esi + 0x11f0]
mov byte [esp + 0x14], 2
call fcn.0041a220
lea eax, [esi + 0x11e4]
mov byte [esp + 0x14], 1
call fcn.00419d60
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x475110
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d083
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea ebx, [esi + 0x80]
mov dword [esp + 0x14], ebx
add ebx, 4
push ebx
mov dword [esp + 0x14], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x30], 0
lea eax, [esi + 0x6c]
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 2
call fcn.00417850
mov eax, dword [esi + 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 0x60]
push ecx
call edi
mov edx, dword [esi + 0x64]
push edx
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4751cb
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4751be
mov eax, dword [esi + 0x5c]
push 0x3ff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x5c]
push ecx
call edi
mov dword [esi + 0x5c], 0
mov edx, dword [esi + 0x64]
push edx
call edi
mov eax, dword [esi + 0x60]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4751f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d0d9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
push 0x49a55c
lea ecx, [esi + 0x10]
mov dword [esi], vtable.BDMDownload::CDownloadImp.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x40]
push eax
mov dword [esi + 0x3c], vtable.fund::lock::critical_section.0
call ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
lea ecx, [esi + 0x84]
push ecx
mov dword [esi + 0x80], vtable.fund::lock::critical_section.0
call ebx
mov byte [esp + 0x1c], 4
call fcn.0041b5a0
mov dword [esi + 0xa0], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 0xa0]
mov dword [eax + 4], eax
mov eax, dword [esi + 0xa0]
mov dword [eax], eax
mov eax, dword [esi + 0xa0]
mov dword [eax + 8], eax
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x475d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e64a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
cmp dword [esi + 8], 0
jne 0x475e0a
cmp dword [esi + 0x5c], 0
mov dword [esi + 0xac], 0x5dc
jne 0x475dc1
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x60], eax
call edi
mov dword [esi + 0x64], eax
lea eax, [esi + 0x68]
push eax
push 0
push esi
push 0x475ac0
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x5c], eax
lea ebx, [esi + 0x80]
mov dword [esp + 0x14], ebx
add ebx, 4
push ebx
mov dword [esp + 0x14], vtable.fund::lock::scoped_lock_class_fund::lock::critical_section_.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x30], 0
lea eax, [esi + 0x6c]
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 1
call fcn.00417850
mov ecx, dword [esi + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c166
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.sw::dl::Request.0
mov dword [esp + 0x14], 2
cmp esi, dword [0x4b2ef0]
je 0x476a5d
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x476a5d
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea eax, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00416e80
lea eax, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.00416e80
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004255c0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x47d2d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48cb9f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.ConfigResponse.0
call fcn.0042d370
lea eax, [esi + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x47d400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48cbc2
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.ResultSet.0
call fcn.0042d370
lea eax, [esi + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 4
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x47d540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48cbe5
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.ConfigRequest.0
call fcn.0042d370
lea eax, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov eax, 4
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x480fa0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x4810c0
cmp word [ebp], 0
je 0x4810c0
cmp word [ebp + 2], 0x3a
push ebx
jne 0x4810bb
mov ebx, 0x5c
cmp word [ebp + 4], bx
jne 0x4810bb
mov eax, ebp
lea edx, [eax + 2]
jmp 0x480fe0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480fe0
sub eax, edx
sar eax, 1
push esi
push edi
mov edi, eax
xor ecx, ecx
lea eax, [edi + 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046921a
add esp, 4
mov esi, eax
lea eax, [edi + 1]
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
call ebp
cmp word [esi + edi*2 - 2], bx
lea eax, [esi + edi*2]
je 0x481033
push 2
push 0x49b4ec
push eax
call ebp
mov ebp, dword [sym.imp.MSVCR80.dll_wcschr]
lea ecx, [esi + 6]
push ebx
push ecx
mov dword [esp + 0x1c], 1
call ebp
mov edi, eax
add esp, 8
test edi, edi
je 0x4810a9
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test esi, esi
mov word [edi], 0
je 0x48106c
push esi
call ebx
cmp eax, 0xffffffff
je 0x48106c
test al, 0x10
jne 0x481079
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4810a1
mov word [edi], 0x5c
push 0x5c
add edi, 2
push edi
call ebp
mov edi, eax
add esp, 8
test edi, edi
jne 0x481057
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], 0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
pop ebx
xor eax, eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4810d0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x254
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x260]
push ebp
mov ebp, dword [esp + 0x260]
push esi
mov esi, dword [esp + 0x260]
push edi
push 0x208
mov dword [esp + 0x1c], eax
xor edi, edi
lea eax, [esp + 0x58]
push edi
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov eax, esi
lea ecx, [esp + 0x54]
call fcn.004102e0
push edi
lea ecx, [esp + 0x58]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jne 0x481153
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x254
ret
push ebx
push esi
call fcn.0046921a
push esi
mov ebx, eax
push edi
push ebx
call sub.MSVCR80.dll_memset
add esp, 0x10
push ebx
push esi
push edi
lea edx, [esp + 0x64]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x481199
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x49b4b8
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x48119d
xor eax, eax
jmp 0x4811e5
mov esi, dword [esp + 0x10]
mov ecx, 0xd
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov edx, eax
shr edx, 0x10
mov word [ebp], dx
mov word [ecx], ax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, eax
shr edx, 0x10
mov word [ecx], dx
mov edx, dword [esp + 0x18]
push ebx
mov word [edx], ax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x260]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0046b7d6
add esp, 0x254
ret

Function at 0x482140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48cf85
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
call fcn.00482030
add esp, 4
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x28
ret
Function at 0x482cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
mov ebx, 1
cmp dword [ebp + 0xc], ebx
push esi
je 0x482ccf
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp eax, dword [esi + 0x1c]
jne 0x482cec
push ebx
mov ecx, esi
call fcn.00482bb0
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, dword [esi + 0x34]
je 0x482d96
cmp eax, dword [esi + 0x38]
je 0x482d96
cmp eax, dword [esi + 0x24]
je 0x482d11
cmp eax, dword [esi + 0x3c]
je 0x482d11
cmp eax, dword [esi + 0x28]
jne 0x482ddd
call fcn.004852b0
push 0x38
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x170], 8
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x440
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], str.open
jb 0x482d73
mov ecx, dword [esi + 0x15c]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0xc]
add esi, 0x15c
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0xbb8
push eax
call edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 2
lea ebx, [esi + 0x40]
call fcn.00485e60
sub esp, 0x18
add esi, 0x120
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
call fcn.00484890
add esp, 0x1c
push 0x12
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x482ff0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x49cef4
push 1
push 0
push 0x49cee4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x48304f
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x48304f
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x48305f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x48306f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x483560
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48d586
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x164], eax
push ebp
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x188]
mov esi, ecx
mov dword [esp + 0x180], 0
cmp dword [esi + 0x18], 8
jb 0x4835b9
mov eax, dword [esi + 4]
jmp 0x4835bc
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48367c
push eax
push esi
lea ecx, [ebp + 0x20]
lea edx, [esp + 0x194]
call fcn.00480320
mov edi, eax
test edi, edi
je 0x48366d
lea eax, [esp + 0x14]
push eax
call fcn.004099b0
mov byte [esp + 0x180], 1
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
mov byte [esp + 0x1c], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edi, [ebp + 0x58]
lea ecx, [edi + 0x1c]
push ecx
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x18], 0
je 0x48363d
mov edi, edi
push 0
call sub.KERNEL32.dll_Sleep
cmp dword [edi + 0x18], 0
jne 0x483630
lea edx, [esp + 0x14]
push edx
lea esi, [ebp + 0x44]
call fcn.00409fc0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add edi, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x184], 0
call fcn.00403b80
mov ecx, dword [ebp + 0x7c]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x18c]
mov dword [esp + 0x180], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x174
ret 0x20
Function at 0x483a40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48e42e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 4]
mov dword [esi], vtable.CSilentTaskManager.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x20], vtable.CDownloader.0
call fcn.0041b670
mov dword [esi + 0x2c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2c]
mov dword [eax], eax
mov eax, dword [esi + 0x2c]
push ebx
push ebx
mov dword [eax + 8], eax
mov dword [esi + 0x30], ebx
push 1
push ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x24], eax
mov dword [esi + 0x40], ebx
lea eax, [esi + 0x58]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
push eax
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x483be0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48ee34
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x20]
call fcn.00480500
test eax, eax
jne 0x483c30
xor al, al
jmp 0x483de8
mov ebx, dword [edi + 0x4c]
cmp dword [edi + 0x48], ebx
lea esi, [edi + 0x44]
jbe 0x483c41
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x483c4f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push esi
push ebp
push esi
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0040a860
xor ebx, ebx
push 0x208
lea ecx, [esp + 0x2a]
push ebx
push ecx
mov word [esp + 0x30], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x483c29
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 4]
call dword [0x4931e8]
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x240], ebx
je 0x483cbc
mov ecx, eax
call fcn.00409730
jmp 0x483cbe
xor eax, eax
lea ebp, [edi + 0x80]
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x240], 0xffffffff
call fcn.0040bc90
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x483cfe
mov eax, dword [ebp]
mov eax, dword [eax + 8]
mov dword [esi], eax
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, esi
jmp 0x483d00
xor ecx, ecx
lea eax, [edi + 0x90]
call fcn.0040bcf0
push 4
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov ebx, 1
mov dword [esp + 0x240], ebx
je 0x483d68
mov eax, dword [ebp]
sub esp, 0xc
mov dword [esp + 0x24], esp
mov edx, esp
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 4]
test eax, eax
mov dword [esp + 0x2c], esp
mov dword [ecx + 4], eax
je 0x483d55
add eax, 4
mov ecx, ebx
lock xadd dword [eax], ecx
push edx
call fcn.0040bd50
add esp, 0xc
push esi
call fcn.0040be60
mov ecx, eax
jmp 0x483d6a
xor ecx, ecx
lea eax, [edi + 0x88]
mov dword [esp + 0x240], 0xffffffff
call fcn.0040bf50
push 0x28
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
test esi, esi
mov dword [esp + 0x240], 2
je 0x483dad
mov ebp, dword [ebp]
push ebp
push esi
call fcn.0040a930
mov ecx, esi
jmp 0x483daf
xor ecx, ecx
lea eax, [edi + 0x98]
mov dword [esp + 0x240], 0xffffffff
call fcn.0040bfb0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push ebx
push 0
call esi
push 0
push 0
push ebx
push 0
mov dword [edi + 0x78], eax
call esi
mov dword [edi + 0x7c], eax
mov byte [edi + 0x54], bl
mov al, bl
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x230
ret