joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520f06
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x587978]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
mov byte [ebp - 4], 1
push 2
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x451e4d
call fcn.0040b2f0
mov edi, eax
jmp 0x451f32
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x451e66
call fcn.0040b2f0
jmp 0x451f29
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x451e84
call fcn.0040b2f0
jmp 0x451f29
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x451ea5
mov edi, 0x8007000e
jmp 0x451f2b
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00450950
mov dword [ebp - 4], 1
jmp 0x451edd
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x451eee
mov edi, 0x8007000e
jmp 0x451f2b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x451f07
call fcn.0040b2f0
jmp 0x451f29
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00451a80
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x451f4f
lea ecx, [ebp - 0x418]
call fcn.0044fee0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004eaf3b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x452660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521080
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], vtable.winhttp::download_manager.0
mov dword [esi + 0xc], edi
mov dword [ebp - 4], edi
lea ebx, [esi + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebx], edi
mov byte [ebp - 4], 2
lea eax, [esi + 0x14]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov byte [ebp - 4], 4
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push edi
mov dword [eax + 0x10], ecx
push eax
mov dword [eax + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x4526f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4526eb
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x4526f3
push eax
call fcn.00406170
mov byte [ebp - 4], 5
fld dword [0x531f28]
lea ecx, [esi + 0x30]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x531f24]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x531f20]
mov dword [ecx + 0x18], 0xffffffff
fstp dword [ecx + 0x14]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edi
call fcn.0042bde0
mov byte [ebp - 4], 6
fld dword [0x531f28]
lea ecx, [esi + 0x60]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x531f24]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x531f20]
mov dword [ecx + 0x18], 0xffffffff
fstp dword [ecx + 0x14]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edi
call fcn.0042bde0
mov byte [ebp - 4], 7
fld dword [0x531f28]
lea ecx, [esi + 0x90]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x531f24]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x531f20]
mov dword [ecx + 0x18], 0xffffffff
fstp dword [ecx + 0x14]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edi
call fcn.0042bde0
mov byte [ebp - 4], 8
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push eax
push eax
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x452f30
Capabilities:
Create directory
Encode data using xor
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5212f2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x587978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x5372b4
push 0x138b
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00406e60
add eax, 0x10
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.00411440
mov eax, dword [ebp - 0x98]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test esi, esi
je 0x453086
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453086
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x453086
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x453086
push esi
lea ecx, [ebp - 0x94]
call fcn.004518b0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
push esi
push edi
push ecx
call fcn.004eb0e0
mov eax, dword [ebx]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dl, byte [edi + 0x36]
mov ebx, eax
mov eax, 0x37
cmp esi, eax
jbe 0x453044
mov ecx, dword [ebp - 0x94]
xor byte [ecx + eax], dl
inc eax
cmp eax, esi
jb 0x453036
mov eax, dword [ebp - 0x94]
push 0
lea edx, [ebp - 0x9c]
push edx
add esi, 0xffffffc9
push esi
add eax, 0x37
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x94], ecx
je 0x453086
lea ecx, [ebp - 0x94]
call fcn.0044fee0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4530af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eaf3b
mov esp, ebp
pop ebp
ret 4
Function at 0x455a70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5214a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx eax, al
cmp eax, 0x600
jb 0x455b16
lea eax, [ebp - 0x14]
push eax
call fcn.00453de0
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00411920
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455b07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x531fd4
lea ecx, [ebp - 0x10]
call fcn.0040f630
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f630
mov edi, dword [ebp - 0x10]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x455b54
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45b640
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
xor ebx, ebx
test edi, edi
jne 0x45b66e
mov ecx, esi
call fcn.00406d20
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
jns 0x45b67a
push 0x80070057
call fcn.00406170
mov eax, dword [esi]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
sub edx, edi
or ecx, edx
jge 0x45b695
push edi
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x45b6ba
push ecx
push eax
call fcn.004eb8eb
add esp, 8
test eax, eax
js 0x45b670
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x45b670
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
pop edi
xor ecx, ecx
mov ebx, 1
mov word [edx + eax*2], cx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4

Function at 0x4631b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523698
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xc]
push edi
mov dword [ebp - 0x14], vtable.winhttp::file_receive_buffer_mt::locker.0
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x463215
call fcn.0040b2f0
mov dword [ebp - 4], 0xffffffff
push edi
mov dword [ebp - 0x14], vtable.winhttp::file_receive_buffer_mt::locker.0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x463580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52378f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 4]
mov dword [esi], vtable.winhttp::partial_downloader.0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.winhttp::receive_buffer.0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [eax], vtable.winhttp::memory_receive_buffer.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [ebp - 4], 2
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0xa
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x2c]
mov ecx, 0x587944
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x30]
mov ecx, 0x587944
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523908
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004095e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x589030
call fcn.00452ce0
mov ebx, 1
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10]
push edx
call fcn.00463a10
mov byte [ebp - 4], 2
push 0x3c
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004eafd0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add esp, 0x10
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
je 0x464716
mov dword [ebp - 0x50], 0x40
call fcn.004838f0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4647b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x464757
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46477a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4647a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test esi, esi
je 0x4647d7
cmp byte [ebp + 0xc], 0
je 0x4647d7
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4647f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46481c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x464842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
lea ecx, [esi + 0x2c]
call fcn.00411920
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [esi + 0x30]
mov dword [esi + 0x24], edx
mov dword [esi + 0x1c], eax
call fcn.00411920
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x20]
push 0
push 0
push esi
push 0x464e40
push 0
push 0
mov dword [esi + 0x28], edx
mov dword [esi + 0x34], eax
call fcn.004ec6b8
add esp, 0x18
mov dword [esi + 0x18], eax
pop esi
pop ebp
ret 0x1c
Function at 0x466440
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x46646c
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x466420
push 0
push 0
call fcn.004ec6b8
add esp, 0x18
mov dword [esi + 0xc], eax
pop esi
ret

Function at 0x4667f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523edc
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x587978]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
push method.std::tr1::_Ref_count_base.virtual_12
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push pe_nt_image_headers32
lea eax, [ebp - 0x810]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4668de
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x814]
call fcn.004095e0
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x818]
push edx
call fcn.00464150
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x814]
call fcn.0040f630
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x818]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4668a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x814]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4668de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [ebp - 0x81c]
push ecx
mov dword [ebp - 0x81c], 8
mov dword [ebp - 0x818], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [ebp + 8]
push ebx
push edx
push ebx
mov ecx, 0x589030
call fcn.00462f70
call fcn.00441210
xor eax, eax
cmp byte [0x589090], bl
push esi
setne al
inc eax
mov dword [0x584d38], eax
call fcn.00466470
add esp, 4
mov ecx, 0x589030
mov edi, eax
call fcn.00463830
mov esi, dword [0x589064]
cmp esi, ebx
je 0x46697e
mov eax, dword [esi]
cmp eax, ebx
je 0x46695f
push eax
call fcn.004eaf4a
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x466972
push eax
call fcn.004eaf4a
add esp, 4
mov dword [esi + 4], ebx
push esi
mov dword [esi + 8], ebx
call fcn.004ea9d3
add esp, 4
mov ecx, 0x589030
call fcn.00462e80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eaf3b
mov esp, ebp
pop ebp
ret 8
Function at 0x467820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b618
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 8]
lea esi, [ecx + 0x5c]
mov byte [ecx + 0x8c], al
mov ecx, esi
call fcn.0040de60
lea edi, [esi + 0x10]
mov dword [ebp - 0x14], edi
push edi
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
call ebx
mov edx, dword [esi + 4]
push edx
call ebx
push 0
push 0
push esi
push 0x40ba70
push 0
push 0
call fcn.004ec6b8
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46a0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524b81
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, 1
mov dword [ebp - 0x10], ecx
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
jge 0x46a11e
push 0x104
mov ecx, esi
call fcn.00406e00
mov eax, dword [esi]
cmp dword [eax - 8], 0x104
jge 0x46a133
push 0x80070057
call fcn.00406170
push edi
push edi
mov dword [eax - 0xc], 0x104
mov ecx, dword [esi]
push eax
xor edx, edx
push edi
mov word [ecx + 0x208], dx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, edi
jne 0x46a15c
xor eax, eax
jmp 0x46a16a
push ecx
push eax
call fcn.004eb8eb
add esp, 8
cmp eax, edi
jl 0x46a129
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x46a129
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, dword [0x589078]
lea eax, [ebp - 0x18]
push eax
call fcn.00441da0
mov edi, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.004698f0
mov byte [ebp - 4], 3
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
push esi
call fcn.00411990
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a1d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a1f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4