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

Disassembly:
mov eax, 0x5254ec
call fcn.0051f0b4
sub esp, 0x18
push esi
push 0x56f16c
lea ecx, [ebp - 0x10]
call fcn.00402946
xor esi, esi
push esi
push 0x10
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00401db6
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.004048ba
lea esi, [ebp - 0x14]
call fcn.00443cce
push 0x53f98c
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004143bd
call fcn.004048da
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00401f01
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x53729c
call fcn.00401f01
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x53f9a4
call fcn.00401f01
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004048da
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00401f01
mov byte [ebp - 4], 1
call fcn.00443d80
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040297c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x443ff8
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
mov eax, 0x525d6f
call fcn.0051f0b4
sub esp, 0x14
push esi
push edi
push 0x56f16c
lea ecx, [ebp - 0x10]
call fcn.00402946
and dword [ebp - 4], 0
push 0
push 0x10
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401db6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or eax, 0xffffffff
lea esi, [ebp - 0x10]
call fcn.004048ba
lea esi, [ebp - 0x18]
call fcn.00443cce
push 0x53f98c
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004143bd
call fcn.004048da
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00401f01
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x53f9a4
call fcn.00401f01
lea esi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004048da
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401f01
mov byte [ebp - 4], 1
call fcn.00443800
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4440ec
push 0x53f978
mov eax, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041217d
add esp, 0xc
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004048da
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4440e1
call fcn.004048da
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00443f19
inc edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x44b34c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov ebx, ecx
cmp eax, 0x7eb
jne 0x44b417
mov eax, dword [esi + 8]
call fcn.0044db17
test eax, eax
je 0x44b38e
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x108]
push eax
call fcn.0043a4bd
movzx eax, word [esi + 6]
cmp ax, 2
jne 0x44b39e
push 1
push 0
jmp 0x44b40b
cmp ax, 1
jne 0x44b4b5
movzx eax, word [esi + 4]
cmp ax, 0xe
je 0x44b3b8
cmp ax, 0x12
jne 0x44b3bf
push 1
push dword [esi + 8]
jmp 0x44b40b
mov esi, dword [esi + 8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0x44f0d9
lea esi, [esp + 0x18]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov eax, esp
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
mov dword [eax], 0x44e8e5
mov dword [eax + 4], ecx
lea eax, [ebx + 0xc]
push eax
call fcn.0044dbe3
mov eax, ebx
call fcn.0044b2f1
test eax, eax
jne 0x44b4b5
push eax
push dword [esp + 0x14]
mov eax, ebx
call fcn.0044b28b
jmp 0x44b4b5
cmp eax, 0x469
jne 0x44b47a
mov eax, 0x44f0e2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
push ecx
push ecx
mov dword [esp + 0x1c], eax
mov eax, esp
lea ecx, [esp + 0x18]
add ebx, 0xc
push ebx
mov dword [eax], 0x44e8ca
mov dword [eax + 4], ecx
call fcn.0044dbe3
and dword [esp + 0x30], 0
mov dword [esp + 0x28], 0x44f0dd
mov dword [esp + 0x34], 1
lea esi, [esp + 0x28]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov eax, esp
movsd dword es:[edi], dword [esi]
mov dword [eax], 0x44e8d4
lea ecx, [esp + 0x20]
jmp 0x44b4ac
cmp eax, 0x7f9
jne 0x44b4b5
mov eax, dword [esi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0x44f0d9
lea esi, [esp + 0x18]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push ecx
mov eax, esp
movsd dword es:[edi], dword [esi]
mov dword [eax], 0x44e8e5
lea ecx, [esp + 0x30]
add ebx, 0xc
push ebx
mov dword [eax + 4], ecx
call fcn.0044dbe3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44f440
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x522e88
call fcn.0051f0b4
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x10]
push 0x56f16c
mov dword [esi], vtable.CMultiLevelTabItem.0
call fcn.00402946
xor ebx, ebx
push 4
mov dword [ebp - 4], ebx
lea edi, [esi + 0x34]
call fcn.004ea1a3
pop ecx
cmp eax, ebx
je 0x44f47c
mov dword [eax], edi
jmp 0x44f47e
xor eax, eax
mov dword [edi], eax
push 0x56f16c
lea ecx, [esi + 0x5c]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], bl
call fcn.00402946
lea eax, [esi + 0x60]
push eax
push 0x5d
mov dword [eax], ebx
call fcn.00460cd7
inc dword [0x57125c]
mov eax, dword [0x57125c]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0xc], ebx
pop edi
mov dword [esi + 0x4c], 1
mov dword [esi + 0x20], 0x580f90
mov dword [esi + 0x24], 0x580f94
mov dword [esi + 0x2c], 0xffffff
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x451d5f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push 1
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jns 0x451dd9
mov eax, dword [esi + 4]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push dword [esi + 0x38]
shr eax, 0x10
mov ebx, esi
call fcn.0045175b
test eax, eax
je 0x451dd9
push dword [esi + 0x34]
call fcn.004516f4
mov dword [esi + 0x60], eax
movzx eax, ax
shl eax, 0x10
or eax, 5
push eax
call fcn.00451821
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x452323
Capabilities:
Hide graphical window

Disassembly:
push ecx
call fcn.00401061
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x452341
call fcn.00401061
push 9
jmp 0x452348
call fcn.00401061
push 5
add eax, 4
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00401061
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 8]
push 0
shl ecx, 0x10
or ecx, edx
push ecx
add eax, 4
push 0x46f
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ecx
ret
Function at 0x45237c
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x5253cf
call fcn.0051f0b4
sub esp, 0x268
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 0x498
call fcn.004066c1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
xor eax, eax
push 0x206
mov word [ebp - 0x274], ax
lea eax, [ebp - 0x272]
push ebx
push eax
call fcn.004ee670
add esp, 0xc
push 0x104
lea eax, [ebp - 0x274]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x56f16c
lea ecx, [ebp - 0x10]
call fcn.00402946
mov dword [ebp - 4], ebx
call fcn.00402b9e
lea ecx, [ebp - 0x18]
push ecx
call fcn.00407403
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x274]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push str.__s___restart__d__s
push eax
call fcn.004142e8
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.0040297c
push 0x40
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.004ee670
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea esi, [ebp - 0x10]
mov dword [ebp - 0x6c], 0x44
call fcn.004048da
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4524a0
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x14]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x452a23
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x521e96
call fcn.0051f0b4
push ecx
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00452a79
xor esi, esi
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
push str.CDbgHelper::CheckCrashReport__path:__s
call fcn.004884a1
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x452a74
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
xor esi, esi
inc esi
jmp 0x452a5a

Function at 0x452aea
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x5253b5
call fcn.0051f0b4
sub esp, 0x14
push ebx
push esi
push dword [ebp + 8]
push str.CDbgHelper::UploadDumpFile___s
call fcn.004884a1
call fcn.00452a23
mov esi, eax
push esi
push str.CDbgHelper::bCrashed___d
call fcn.004884a1
xor ebx, ebx
add esp, 0x10
cmp esi, ebx
jne 0x452b28
xor eax, eax
jmp 0x452bfb
mov eax, dword [ebp + 8]
cmp dword [ebp + 8], ebx
jne 0x452b35
mov eax, 0x537290
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f01
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.00452a79
mov byte [ebp - 4], 1
push dword [eax]
push str.CDbgHelper::ShellExecute___s
call fcn.004884a1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040297c
lea eax, [ebp - 0x20]
push eax
call fcn.004887ca
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
mov dword [esp], 0x53f4c8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041217d
push esi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.0040eb6f
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call fcn.00452a79
add esp, 0x1c
push ebx
push ebx
push dword [esi]
push dword [eax]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x452e8c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push str.CDbgHelper::WriteMemory
mov esi, eax
call fcn.004884a1
mov edi, dword [ebp + 8]
pop ecx
test edi, edi
jne 0x452eab
xor al, al
jmp 0x452efa
test esi, esi
je 0x452ea7
push 5
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x452ea7
and dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push edi
call ebx
test eax, eax
je 0x452eed
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
push 5
push dword [ebp + 8]
movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
jne 0x452ef7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x452ef9
mov al, 1
pop ebx
pop edi
pop esi
leave
ret
Function at 0x454258
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x45427b
test byte [ebp - 4], 7
je 0x45427b
xor eax, eax
inc eax
leave
ret
call fcn.0048a0ff
leave
ret
Function at 0x454ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520d9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
mov ebx, dword [edi + 4]
push esi
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov dword [esp + 0xa0], esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x2c
lea eax, [esp + 0x68]
push esi
push eax
mov dword [esp + 0x30], esi
call fcn.004ee670
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
push 0x20
mov dword [esp + 0x70], eax
xor eax, eax
inc eax
mov word [esp + 0x74], ax
pop eax
push esi
push esi
mov word [esp + 0x7a], ax
lea eax, [esp + 0x2c]
push eax
push esi
lea eax, [esp + 0x74]
push eax
push esi
mov dword [esp + 0x7c], 0x28
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x24], esi
jne 0x454f7c
push dword [esp + 0x1c]
push ebx
jmp 0x4550b8
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
lea ebx, [esp + 0x44]
call fcn.00455323
push dword [esp + 0x28]
mov byte [esp + 0xa0], 1
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
test byte [0x579d74], 1
mov dword [esp + 0x30], eax
jne 0x454ffe
or dword [0x579d74], 1
push 0x40
mov byte [esp + 0xa0], 2
call fcn.004ea1a3
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x454fea
mov ecx, dword [edi + 0x24]
push 0xffffff
push ebx
push 0x7b
push 0x14
push 0xa0
push 0x32
mov esi, eax
call fcn.00411dd5
jmp 0x454fec
xor eax, eax
mov ecx, eax
mov dword [0x579d40], ecx
mov byte [esp + 0x9c], 1
jmp 0x455006
mov ecx, dword [0x579d40]
xor ebx, ebx
cmp ecx, ebx
je 0x45502f
mov eax, dword [ecx]
mov dword [ecx + 0x24], 1
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
push ebx
push edx
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
push edx
push ebx
push ebx
push dword [esp + 0x58]
call dword [eax + 4]
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
push 2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x54]
lea eax, [esp + 0x50]
push eax
push ebx
push dword [esp + 0x38]
mov dword [esp + 0x58], ebx
push dword [edi + 4]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0xff
mov byte [esp + 0x2f], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [esp + 0x30]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea esi, [esp + 0x44]
call fcn.004552d4
push dword [esp + 0x1c]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x94]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4557f1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x521e96
call fcn.0051f0b4
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 8], edi
je 0x455818
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
push str.IOSMgrUI.dll
call fcn.00411fff
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00401f01
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45586c
cmp dword [esi + 0x2c], edi
jne 0x45585b
push edi
push edi
push 0x544210
mov dword [esi + 0x2c], 1
call fcn.004066c1
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov eax, esi
jmp 0x45580a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
cmp eax, edi
je 0x45585b
push str.Initialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov edi, eax
call fcn.00455950
mov esi, edi
jmp 0x45585d

Function at 0x455a02
Capabilities:
Create thread

Disassembly:
mov eax, 0x52633b
call fcn.0051f0b4
push esi
push edi
mov esi, ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], eax
call fcn.004e9b1d
pop ecx
push edi
push edi
push esi
push 0x456320
push edi
push edi
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00455917
mov dword [esi + 0x1c], eax
xor esi, esi
cmp eax, edi
je 0x455a61
mov ecx, dword [eax]
push edi
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x456a4e
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x521013
call fcn.0051f0b4
sub esp, 0x104
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
cmp eax, edi
jne 0x456a96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x537290
mov ecx, ebx
call fcn.00401f01
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
jmp 0x456af4
push esi
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, edi
jne 0x456ab7
push 0x537290
mov ecx, ebx
call fcn.00401f01
jmp 0x456ae8
push 0x100
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.004ee670
add esp, 0xc
push 0x3f
pop ecx
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.00439fbe
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040297c
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x45f230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522d18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
cmp dword [edi + 0xc], ebx
je 0x45f2b1
mov ebp, dword [sym.imp.KERNEL32.dll_SwitchToFiber]
lea esp, [esp]
mov edx, dword [esi + 0x14]
mov eax, dword [0x57078c]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x41f9c2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], 4
call ebp
cmp dword [esi + 0x18], ebx
jne 0x45f2ac
cmp dword [esi + 0xc], 0xffffffff
je 0x45f31a
cmp dword [edi + 0xc], ebx
jne 0x45f270
lea ecx, [esp + 0x38]
lea esi, [edi + 4]
push ecx
mov ecx, esi
call fcn.00404918
mov edx, dword [esp + 0x3c]
mov eax, dword [0x57078c]
push ebx
mov dword [esi + 4], edx
push edi
mov dword [edi + 0xc], 1
call fcn.00402a9a
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
push 0x557acc
lea eax, [esp + 0x17]
push eax
mov byte [esp + 0x1b], bl
call fcn.004edfe2
int3
Function at 0x463034
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52529f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1054
call fcn.004eff30
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
neg esi
sbb esi, esi
and esi, 0xffffff00
add eax, 8
add esi, 0x200
push edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
cmp dword [eax], ebx
je 0x46309b
lea ecx, [esp + 0x50]
call fcn.00435802
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
je 0x46309b
xor esi, esi
mov edi, 0x56f16c
push edi
lea ecx, [esp + 0x28]
call fcn.00402946
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1070], ebx
call fcn.00402946
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1070], 1
call fcn.00402946
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1078], 2
call fcn.00462a8e
mov dword [esp + 0x3c], eax
cmp eax, ebx
je 0x463201
mov dword [esp + 0x20], esi
xor esi, esi
inc esi
or dword [esp + 0x20], esi
mov dword [esp + 0x10], ebx
xor eax, eax
cmp dword [esp + 0x10], esi
sete al
push eax
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
call fcn.00462961
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
mov byte [esp + 0x1074], 3
push ebx
push dword [esp + 0x28]
mov dword [esp + 0x38], ebx
push dword [esp + 0x4c]
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x4631be
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
push dword [esp + 0x34]
mov dword [esp + 0x54], 0x1000
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x4631b4
cmp dword [esp + 0x34], 2
je 0x46318b
cmp dword [esp + 0x34], esi
jne 0x4631b4
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x3c]
call fcn.00464bf0
mov ecx, dword [eax]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4631b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x2c], esi
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x30], 5
je 0x4631cc
cmp dword [esp + 0x28], 5
jne 0x4631ef
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x1070], 2
call fcn.00462a2f
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x463107
jmp 0x463201
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x1070], 2
call fcn.00462a2f
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040297c
mov ecx, dword [esp + 0x1064]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10