joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438191
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61c59c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x4381ae
mov ebp, dword [eax + 4]
jmp 0x4381b0
xor ebp, ebp
cmp ebp, esi
jne 0x4381c0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x4381e5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x4381e5
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4381e5
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.004385e8
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43820e
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4382ea
mov edx, eax
call fcn.00419d86
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0043879e
cmp dword [ebx + 0x510], esi
je 0x438290
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x438274
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x438290
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.004388b6
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x4382d5
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x4382d5
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x4382d5
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.00419d86
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x439485
Capabilities:
Delete file

Disassembly:
mov eax, 0x596b69
call fcn.00593620
sub esp, 0x14
mov eax, dword [0x619864]
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov ecx, 0x619864
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 4], esi
mov edi, 0x61d618
mov dword [ebp - 0x1c], esi
push str.GetPacketData__d
mov esi, edi
call fcn.004867a7
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov esi, ebx
call fcn.00439595
push eax
push str.GetPacketData_return:_d
mov esi, edi
mov dword [ebp - 0x14], eax
call fcn.004867a7
cmp dword [ebp - 0x14], 0
pop ecx
pop ecx
jne 0x4394fa
mov dword [ebx + 0x1c], 1
jmp 0x439573
push 0x28
call fcn.004657db
test eax, eax
pop ecx
je 0x439510
push eax
call fcn.00474fff
mov ebx, eax
jmp 0x439512
xor ebx, ebx
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x439573
push str.Extract...
call fcn.004867a7
mov eax, dword [ebx]
pop ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call dword [eax]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
push eax
push str.Extract_return:_d
call fcn.004867a7
test ebx, ebx
pop ecx
pop ecx
je 0x43956c
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x439583
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x439590
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov esi, dword [ebp - 0x20]
jmp 0x43954e
Function at 0x439676
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, eax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp - 0x210], di
call fcn.0049a380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x439702
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
mov esi, 0x61d618
call fcn.004867a7
add esp, 0xc
jmp 0x43977a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp ebx, edi
mov dword [esi], eax
jne 0x439735
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
jmp 0x43975d
push dword [esi + 8]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [esi + 4], eax
jne 0x43976c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
mov esi, 0x61d618
call fcn.004867a7
add esp, 0xc
jmp 0x439773
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439bdd
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x439c4e
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x439c4e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fcomp qword [0x5f0dc0]
fnstsw ax
test ah, 1
jne 0x439c4e
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43a7fb
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5980b7
call fcn.00593620
push ecx
push ecx
mov eax, dword [0x619864]
push ebx
push esi
push edi
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 0x61d8ec
push 0x65
pop ecx
lea esi, [ebp - 0x10]
call fcn.00439c96
mov ebx, eax
test ebx, ebx
je 0x43a8cc
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push eax
call fcn.0043229f
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x10]
push ecx
lea eax, [esi - 0x10]
mov dword [ebp + 8], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0
call fcn.00439ec5
mov ebx, eax
test ebx, ebx
je 0x43a8cf
mov eax, dword [esi - 0xc]
mov ecx, dword [0x61d8f0]
cmp eax, dword [ecx - 0xc]
jl 0x43a8cf
lea eax, [ebp - 0x10]
mov edi, 0x61d8f0
call fcn.004013b4
push str.product_tag_cmpc_ch.tag
lea eax, [ebp - 0x10]
call fcn.00415c78
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a8c0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43a8c0
mov dword [0x61d8ec], 0x12
jmp 0x43a8cf
mov dword [0x61d8ec], 0x65
jmp 0x43a8cf
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x43b81b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
xor eax, eax
push 0x1fe
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.0049a380
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x204]
push 0x100
push eax
mov eax, dword [ebp + 0xc]
push 0x5e4264
push dword [eax]
push 0x5e7dd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
call fcn.0043229f
mov eax, dword [ebp + 8]
leave
ret

Function at 0x43b87f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599038
call fcn.00593620
push edi
push 0x12c
xor edi, edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.00483df3
add esp, 0x14
test eax, eax
jne 0x43b8bc
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b8bc
inc edi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword fs:[0], ecx
pop edi
leave
ret
Function at 0x43c139
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x599695
call fcn.00593620
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
xor ebx, ebx
call fcn.0040135c
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0047f931
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
test edi, edi
je 0x43c1c7
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov edi, esp
call fcn.0040135c
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
call fcn.0043b87f
pop ecx
pop ecx
mov ebx, eax
lea eax, [esi - 0x10]
call fcn.004011c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43d4f0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [0x61c59c]
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], esi
je 0x43d50d
mov ebp, dword [eax + 4]
jmp 0x43d50f
xor ebp, ebp
cmp ebp, esi
jne 0x43d51f
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x43d544
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x43d544
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43d544
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0043d8de
cmp eax, esi
mov dword [esp + 0x18], eax
jne 0x43d56d
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x43d649
mov edx, eax
call fcn.00419d86
mov dword [esp + 0x20], eax
mov eax, ebp
call fcn.0043879e
cmp dword [ebx + 0x510], esi
je 0x43d5ef
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x14]
je 0x43d5d3
push 1
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x14]
je 0x43d5ef
push esi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.004388b6
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx + 4]
mov dword [ebx + 0x51c], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x43d634
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x43d634
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x43d634
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.00419d86
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x43e0c8
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43e10f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x43e108
cmp dword [esp + 4], 0x1b
jne 0x43e0ef
push 0
push 2
jmp 0x43e0fa
cmp dword [esp + 4], 0xd
jne 0x43e108
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x520], 0
ret 4
Function at 0x43f6db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5950b0
call fcn.00593620
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x6090b4]
xor esi, esi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x424], esi
push 2
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x14], ebx
jne 0x43f733
call fcn.00448d0c
mov esi, eax
jmp 0x43f834
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43f750
call fcn.00448d0c
jmp 0x43f829
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x43f746
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp + 8], edi
jae 0x43f796
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43f78c
lea eax, [ebp - 0x424]
call fcn.004407a1
mov eax, 0x8007000e
jmp 0x43f84f
push 2
push eax
mov byte [ebp - 4], 2
call fcn.0043f881
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x43f7ba
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.0043f860
jmp 0x43f7c6
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x43f7e1
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x43f7f2
mov esi, 0x8007000e
jmp 0x43f82b
call dword [0x6090b4]
push edi
push ebx
push edi
push dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x43f746
mov ecx, dword [ebp - 0x424]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
mov ecx, dword [ebp - 0x424]
lea edx, [ebp - 0x1c]
call fcn.0043f8a6
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x43f84d
lea eax, [ebp - 0x424]
call fcn.004407a1
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x4407aa
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4407bd
push 0x80004005
call fcn.00401313
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4407c4
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4407f4
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc

Function at 0x440894
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
cmp edi, esi
jne 0x44095b
xor eax, eax
cmp dword [ebp - 8], esi
je 0x4408dd
push dword [ebp - 8]
call ebx
cmp eax, esi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 8], ecx
jne 0x44095b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push ecx
jmp 0x440931
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00440894
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x44096e
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x100
call edi
test eax, eax
je 0x440905
cmp dword [ebp - 8], esi
je 0x44094b
push dword [ebp - 8]
call ebx
mov dword [ebp - 8], esi
push dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [ebp - 8], esi
je 0x440965
push dword [ebp - 8]
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x440978
push dword [ebp - 8]
call ebx
mov eax, dword [ebp - 0xc]
jmp 0x440967
Function at 0x442fb2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x595eb5
call fcn.00593620
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], 0x5ebd34
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, 0x5e5184
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.0047ed1d
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x444aee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x596f9e
call fcn.00593620
sub esp, 0x220
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0xc], esi
jne 0x444b1e
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x206
lea eax, [ebp - 0x22a]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x22c], si
call fcn.0049a380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x22c]
push eax
call fcn.0049a28b
pop ecx
lea ecx, [ebp - 0x22c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.004013f5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00432279
push 0x2e
lea esi, [ebp - 0x14]
call fcn.00432185
cmp eax, 0xffffffff
je 0x444bd0
mov ecx, eax
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004320f9
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004013b4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov edi, dword [ebp + 8]
mov eax, dword [0x619864]
mov ecx, 0x619864
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x14]
fstp qword [ebp - 0x24]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.00444cc8
test eax, eax
jne 0x444c1f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x444b0b
mov ebx, dword [ebp + 8]
push 0x5eb928
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x444c3c
lea eax, [ebx - 0x10]
jmp 0x444c0a
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x444c04
push esi
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x444c04
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x444c8a
xor esi, esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x444b0d
mov esi, dword [ebp + 0x10]
lea edi, [ebx + 1]
push edi
call fcn.0041baf7
test eax, eax
je 0x444ca7
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0049cbc0
add esp, 0xc
mov eax, edi
call fcn.00418c1c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x444cc3
fld qword [ebp - 0x24]
fstp qword [eax]
xor esi, esi
inc esi
jmp 0x444c6d