joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4506f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d714b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x52de08]
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 eax, dword [ebp + 8]
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
push eax
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040b7a0
mov ebx, eax
cmp ebx, esi
je 0x450784
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x45077d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
mov eax, ebx
jmp 0x450857
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x21c]
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x210]
push edx
push esi
push eax
mov dword [ebp - 0x220], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45080c
jmp 0x4507c0
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004506f0
mov ebx, eax
cmp ebx, esi
jne 0x45075f
lea edx, [ebp - 0x22c]
push edx
mov edx, dword [ebp - 0x21c]
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x210]
push ecx
push esi
push edx
mov dword [ebp - 0x220], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4507c0
mov eax, dword [ebp - 0x21c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x450825
push eax
call ebx
mov dword [ebp - 0x21c], esi
mov eax, dword [ebp - 0x224]
push eax
mov ecx, edi
mov dword [ebp - 0x218], esi
call fcn.00450060
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x450855
push eax
call ebx
mov dword [ebp - 0x21c], esi
mov eax, edi
mov dword [ebp - 0x218], esi
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.004aaa9b
mov esp, ebp
pop ebp
ret 4
Function at 0x4525e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7456
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52de08]
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 0x45265d
call fcn.0040b660
mov edi, eax
jmp 0x452742
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x452676
call fcn.0040b660
jmp 0x452739
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x452694
call fcn.0040b660
jmp 0x452739
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 0x4526b5
mov edi, 0x8007000e
jmp 0x45273b
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00451160
mov dword [ebp - 4], 1
jmp 0x4526ed
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4526fe
mov edi, 0x8007000e
jmp 0x45273b
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x452717
call fcn.0040b660
jmp 0x452739
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.00452290
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 0x45275f
lea ecx, [ebp - 0x418]
call fcn.004506e0
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.004aaa9b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x452e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d75d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 0x452f03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x452efb
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
jge 0x452f03
push eax
call fcn.00406170
mov byte [ebp - 4], 5
fld dword [0x4e800c]
lea ecx, [esi + 0x30]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x4e8008]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x4e8004]
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.0042d520
mov byte [ebp - 4], 6
fld dword [0x4e800c]
lea ecx, [esi + 0x60]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x4e8008]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x4e8004]
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.0042d520
mov byte [ebp - 4], 7
fld dword [0x4e800c]
lea ecx, [esi + 0x90]
fstp dword [ecx + 0xc]
mov dword [ecx], edi
fld dword [0x4e8008]
mov dword [ecx + 4], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 8], 0x11
fld dword [0x4e8004]
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.0042d520
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 0x453740
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 0x4d7842
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x52de08]
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 0x4ed404
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.00406ee0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.00412610
mov eax, dword [ebp - 0x98]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test esi, esi
je 0x453896
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453896
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x453896
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x453896
push esi
lea ecx, [ebp - 0x94]
call fcn.004520c0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x94]
push esi
push edi
push ecx
call fcn.004aac40
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 0x453854
mov ecx, dword [ebp - 0x94]
xor byte [ecx + eax], dl
inc eax
cmp eax, esi
jb 0x453846
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 0x453896
lea ecx, [ebp - 0x94]
call fcn.004506e0
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 0x4538bf
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.004aaa9b
mov esp, ebp
pop ebp
ret 4
Function at 0x456220
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7a08
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], 0
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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 0x4562c6
lea eax, [ebp - 0x14]
push eax
call fcn.004545f0
add esp, 4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.00412bf0
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 0x4562b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x4e82cc
lea ecx, [ebp - 0x10]
call fcn.004104a0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004104a0
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 0x456304
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 0x456327
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 0x45be00
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 0x45be2e
mov ecx, esi
call fcn.00406dc0
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
jns 0x45be3a
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 0x45be55
push edi
mov ecx, esi
call fcn.00406e80
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 0x45be7a
push ecx
push eax
call fcn.004ab44b
add esp, 8
test eax, eax
js 0x45be30
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x45be30
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 0x463a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c8f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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 [0x52ddd4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x2c]
mov ecx, 0x52ddd4
mov dword [ebp - 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
lea edi, [esi + 0x30]
mov ecx, 0x52ddd4
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 0x465580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9f58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x52de08]
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.00409830
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, 0x52f4b8
call fcn.004534f0
mov ebx, 1
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10]
push edx
call fcn.00464110
mov byte [ebp - 4], 2
push 0x3c
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.004aab30
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 0x465616
mov dword [ebp - 0x50], 0x40
call fcn.004828e0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4656b3
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 0x465657
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 0x46567a
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 0x4656a0
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 0x4656d7
cmp byte [ebp + 0xc], 0
je 0x4656d7
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 0x4656f9
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 0x46571c
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 0x465742
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 0x465d60
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.00412bf0
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.00412bf0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x20]
push 0
push 0
push esi
push 0x465d40
push 0
push 0
mov dword [esi + 0x28], edx
mov dword [esi + 0x34], eax
call fcn.004ac218
add esp, 0x18
mov dword [esi + 0x18], eax
pop esi
pop ebp
ret 0x1c
Function at 0x467490
Capabilities:
Create thread

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

Function at 0x4679f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da55c
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x52de08]
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 0x467ade
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x814]
call fcn.00409830
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x818]
push edx
call fcn.00465050
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.004104a0
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 0x467aa8
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 0x467ade
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, 0x52f4b8
call fcn.004636b0
call fcn.00442420
xor eax, eax
cmp byte [0x52f518], bl
push esi
setne al
inc eax
mov dword [0x52bd38], eax
call fcn.004674c0
add esp, 4
mov ecx, 0x52f4b8
mov edi, eax
call fcn.00463cb0
mov esi, dword [0x52f4ec]
cmp esi, ebx
je 0x467b7e
mov eax, dword [esi]
cmp eax, ebx
je 0x467b5f
push eax
call fcn.004aaaaa
add esp, 4
mov dword [esi], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x467b72
push eax
call fcn.004aaaaa
add esp, 4
mov dword [esi + 4], ebx
push esi
mov dword [esi + 8], ebx
call fcn.004aa533
add esp, 4
mov ecx, 0x52f4b8
call fcn.004635c0
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.004aaa9b
mov esp, ebp
pop ebp
ret 8
Function at 0x468a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52de08]
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.0040e810
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 0x40c0a0
push 0
push 0
call fcn.004ac218
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 0x46b540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db311
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x52de08]
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 [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
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 0x46b5ae
push 0x104
mov ecx, esi
call fcn.00406e80
mov eax, dword [esi]
cmp dword [eax - 8], 0x104
jge 0x46b5c3
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 0x46b5ec
xor eax, eax
jmp 0x46b5fa
push ecx
push eax
call fcn.004ab44b
add esp, 8
cmp eax, edi
jl 0x46b5b9
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x46b5b9
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov ecx, dword [0x52f500]
lea eax, [ebp - 0x18]
push eax
call fcn.00442d60
mov edi, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.0046ad80
mov byte [ebp - 4], 3
mov edx, dword [edi]
mov eax, dword [eax]
push edx
push eax
push esi
call fcn.00412c60
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 0x46b663
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 0x46b689
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