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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x520168]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x18], edi
je 0x467c4c
mov esi, dword [eax + 4]
jmp 0x467c4e
xor esi, esi
cmp esi, edi
jne 0x467c5e
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x467c83
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x467c83
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x467c83
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push dword [esp + 0x24]
mov ecx, ebx
push esi
mov dword [ebx + 0x438], edi
call fcn.00468987
mov ecx, eax
cmp ecx, edi
mov dword [esp + 0x14], ecx
jne 0x467caf
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x467dd0
mov eax, dword [0x520168]
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x467cc6
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [eax + 4], ecx
cmp dword [esp + 0x24], edi
jne 0x467cd3
mov eax, esi
call fcn.00410ce5
cmp dword [ebx + 0x428], edi
je 0x467d71
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x24]
je 0x467d1a
push 1
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x24]
je 0x467d52
push edi
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x467d71
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.0041819e
cmp dword [esp + 0x18], edi
je 0x467db1
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x467db1
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x467db1
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x520168]
cmp eax, edi
je 0x467dc1
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x467ebb
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x520168]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x467ed8
mov esi, dword [eax + 4]
jmp 0x467eda
xor esi, esi
cmp esi, edi
jne 0x467eea
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x467f0f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x467f0f
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x467f0f
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.00468e28
mov ecx, eax
cmp ecx, edi
mov dword [esp + 0x18], ecx
jne 0x467f37
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x468052
mov eax, dword [0x520168]
cmp eax, edi
mov dword [esp + 0x20], edi
je 0x467f4e
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, esi
call fcn.00410ce5
cmp dword [ebx + 0x428], edi
je 0x467ff3
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x467f9c
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x467fd4
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x467ff3
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.0041819e
cmp dword [esp + 0x1c], edi
je 0x468033
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x468033
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x468033
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x520168]
cmp eax, edi
je 0x468043
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4687cb
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [0x520168]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], edi
je 0x4687e8
mov esi, dword [eax + 4]
jmp 0x4687ea
xor esi, esi
cmp esi, edi
jne 0x4687fa
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
cmp esi, edi
je 0x46881f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
je 0x46881f
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46881f
push edi
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push esi
mov ecx, ebx
mov dword [ebx + 0x438], edi
call fcn.00469aa1
mov ecx, eax
cmp ecx, edi
mov dword [esp + 0x18], ecx
jne 0x468847
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x468962
mov eax, dword [0x520168]
cmp eax, edi
mov dword [esp + 0x20], edi
je 0x46885e
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov dword [eax + 4], ecx
mov eax, esi
call fcn.00410ce5
cmp dword [ebx + 0x428], edi
je 0x468903
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp ebp, dword [esp + 0x14]
je 0x4688ac
push 1
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x14]
je 0x4688e4
push edi
push ebp
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x468903
push edi
push edi
push 0xf
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
push 0x97
lea ebp, [ebx + 4]
push ebp
mov dword [ebx + 0x438], edi
call fcn.0041819e
cmp dword [esp + 0x1c], edi
je 0x468943
push 1
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, edi
je 0x468943
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebp]
jne 0x468943
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x520168]
cmp eax, edi
je 0x468953
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
push dword [ebp]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebx + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x46a17a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x3cc]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x46a1ab
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46a1ef
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x150]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x46a1ef
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x278]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x3b8]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x46a343
push eax
call fcn.004144cb
mov edi, eax
test edi, edi
pop ecx
je 0x46a2c2
mov eax, dword [edi + 0x14]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x46a236
push 1
push edi
push esi
call fcn.00468ff8
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.0041804a
mov eax, dword [ebp - 4]
cmp dword [esi + 0x3b8], eax
jne 0x46a28c
mov ecx, dword [edi + 0x44]
xor eax, eax
cmp ecx, eax
je 0x46a27e
cmp word [ecx], ax
je 0x46a27e
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46a2c2
cmp dword [edi + 0x14], eax
je 0x46a2c2
mov dword [ebp - 0xc], 1
jmp 0x46a2c2
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x46a2ab
push 1
push edi
push esi
call fcn.00468ff8
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.0041804a
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x3b8], eax
je 0x46a304
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x46a343
cmp dword [ebp - 0x10], eax
je 0x46a343
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x46a343
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x3b4
cmp eax, dword [esi]
jne 0x46a343
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46a8cd
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4e24f9
call fcn.004daf98
sub esp, 0x7c
push ebx
push esi
push edi
lea eax, [ebp - 0x88]
push eax
mov esi, ecx
call fcn.0040178f
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x408], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0x3e8], 0x80090000
mov dword [esi + 0x3ec], 0x10000
call fcn.00468fc9
push 1
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x88]
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
call fcn.00405bb1
cmp byte [ebp - 0x44], bl
je 0x46a9af
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x46a949
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040c1e6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
inc eax
push eax
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push dword [ebp - 0x40]
lea ecx, [ebp + 8]
push str.__errorid_d__errorrow_d__errorcolom_d_n
call fcn.00411a98
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call fcn.004619d6
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040763c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004052d1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4
lea eax, [ebp - 0x88]
call fcn.00404f7b
push eax
mov edi, esi
call fcn.0046aa31
mov ebx, eax
jmp 0x46a98d

Function at 0x46d811
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e13f9
call fcn.004daf98
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], vtable.CBkPngSkin.0
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 + 0x44], edi
mov dword [esi + 0x4c], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x74], edi
call fcn.00470bf5
lea ecx, [esi + 0x7c]
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 + 0x80], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x46eff4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4e205a
call fcn.004daf98
sub esp, 0x21c
mov eax, dword [0x51e6c8]
push ebx
push esi
push edi
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call fcn.00497210
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
call fcn.0049795c
pop ecx
lea ecx, [ebp - 0x228]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00407ae0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004080b5
push 0x2e
lea esi, [ebp - 0x10]
call fcn.0040903a
cmp eax, 0xffffffff
je 0x46f0bb
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00408ffe
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00407a9f
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
jmp 0x46f0bd
xor ebx, ebx
mov eax, dword [0x51e6c8]
mov ecx, 0x51e6c8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.0046f1cd
test eax, eax
jne 0x46f11a
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x46f155
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, ebx
jmp 0x46f109
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x46f1bd
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.0040a9ec
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x46f1b3
cmp dword [ebp - 0x14], edi
jne 0x46f1b3
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x46f19b
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.0040c1cd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x46f13b
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.0040a9c1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, esi
jmp 0x46f13b
Function at 0x473441
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4dd9e3
call fcn.004daf98
sub esp, 0x418
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [0x5180b4]
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 0x473499
call fcn.00474a74
mov esi, eax
jmp 0x47359a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4734b6
call fcn.00474a74
jmp 0x47358f
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x4734ac
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 0x4734fc
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4734f2
lea eax, [ebp - 0x424]
call fcn.004735c6
mov eax, 0x8007000e
jmp 0x4735b5
push 2
push eax
mov byte [ebp - 4], 2
call fcn.004735cf
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x473520
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.004743fd
jmp 0x47352c
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x473547
mov ebx, dword [ebp - 0x424]
cmp ebx, esi
jne 0x473558
mov esi, 0x8007000e
jmp 0x473591
call dword [0x5180b4]
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 0x4734ac
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.004735f4
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4735b3
lea eax, [ebp - 0x424]
call fcn.004735c6
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x47441e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x474431
push 0x80004005
call fcn.00407a47
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 0x474438
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 0x4744dd
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00415f14
mov edi, eax
cmp edi, esi
je 0x47451a
cmp dword [ebp - 8], esi
je 0x474516
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x474587
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x474538
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.004744dd
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x47458e
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], pe_nt_image_headers32
call edi
test eax, eax
je 0x474522
cmp dword [ebp - 8], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x47456e
push dword [ebp - 8]
call edi
mov dword [ebp - 8], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 8], esi
mov ebx, eax
je 0x474585
push dword [ebp - 8]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x47459c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x474587
Function at 0x4750db
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4df907
call fcn.004daf98
sub esp, 0xc
push ebx
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov ebx, ecx
call fcn.00407fa9
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00407fa9
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00407fa9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0047520e
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040763c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040763c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
jne 0x475178
add eax, 0xfffffff0
call fcn.0040763c
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
mov eax, dword [0x51e6c8]
push edi
mov ecx, 0x51e6c8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0x10], edi
mov eax, ebx
mov byte [ebp - 4], 7
call fcn.00429b10
test eax, eax
jbe 0x4751ed
lea eax, [ebp - 0x10]
lea edi, [ebp + 0x10]
call fcn.00407a9f
mov eax, edi
push eax
call fcn.00408846
pop ecx
mov eax, ebx
call fcn.00429b10
cmp esi, eax
jb 0x4751bf
call fcn.004949bc
mov eax, dword [ebx + 4]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x10]
call fcn.00408dba
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4751f1
mov eax, ebx
inc esi
call fcn.00429b10
cmp esi, eax
jb 0x47519b
mov bl, 1
jmp 0x4751f3
xor bl, bl
lea eax, [edi - 0x10]
call fcn.0040763c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040763c
mov al, bl
pop edi
jmp 0x475168

Function at 0x477d4a
Capabilities:
Create thread

Disassembly:
push edi
push 0x28
xor edi, edi
call fcn.00441e72
cmp eax, edi
pop ecx
je 0x477d61
push eax
call fcn.00451c37
jmp 0x477d63
xor eax, eax
cmp eax, edi
mov dword [esi + 0x18], eax
je 0x477d84
push edi
push edi
push esi
push 0x47816f
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x477d84
xor edi, edi
inc edi
mov eax, edi
pop edi
ret