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

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov ebx, eax
mov dword [esp + 0x18], esi
jne 0x40d13d
mov eax, dword [0x61e5bc]
cmp eax, esi
je 0x40d12b
mov ebp, dword [eax + 4]
jmp 0x40d12d
xor ebp, ebp
cmp ebp, esi
jne 0x40d13d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x40d162
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x40d162
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40d162
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0040e64c
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x40d18b
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x40d267
mov edx, eax
call fcn.0041a58d
mov dword [esp + 0x1c], eax
mov eax, ebp
call fcn.00439505
cmp dword [ebx + 0x510], esi
je 0x40d20d
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 + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x24]
je 0x40d1f1
push 1
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x24]
je 0x40d20d
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0040e802
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 + 0x18], esi
je 0x40d252
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x40d252
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x40d252
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x1c]
call fcn.0041a58d
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, 0x10
ret 4
Function at 0x40d2f9
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov ebx, eax
mov dword [esp + 0x18], esi
jne 0x40d330
mov eax, dword [0x61e5bc]
cmp eax, esi
je 0x40d31e
mov ebp, dword [eax + 4]
jmp 0x40d320
xor ebp, ebp
cmp ebp, esi
jne 0x40d330
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x40d355
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x40d355
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40d355
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [ebx + 0x51c], esi
push ebp
mov dword [eax], esi
call fcn.0040e87a
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x40d37e
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x40d45a
mov edx, eax
call fcn.0041a58d
mov dword [esp + 0x1c], eax
mov eax, ebp
call fcn.00439505
cmp dword [ebx + 0x510], esi
je 0x40d400
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 + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp edi, dword [esp + 0x24]
je 0x40d3e4
push 1
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp edi, dword [esp + 0x24]
je 0x40d400
push esi
push edi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, ebx
call fcn.0040e802
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 + 0x18], esi
je 0x40d445
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x40d445
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 4]
jne 0x40d445
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x1c]
call fcn.0041a58d
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, 0x10
ret 4
Function at 0x4111a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edi, eax
test edi, edi
jne 0x4111f0
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x188]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edi, eax
test edi, edi
jne 0x4111f0
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2e4]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edi, eax
cmp dword [esi + 0x45c], 0
je 0x411268
lea ebx, [esi + 0x46c]
cmp dword [ebx], 0
je 0x41120d
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x45c], edi
jne 0x411261
push edi
call fcn.00431f85
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00432213
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x45c], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x41152e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x46c]
cmp dword [edi], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
je 0x41155c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
jne 0x4115a0
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x188]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
jne 0x4115a0
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2e4]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
mov eax, dword [esi + 0x458]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4116fc
push eax
call fcn.00431f85
mov edi, eax
test edi, edi
pop ecx
je 0x41167b
mov eax, dword [edi + 0xc]
push 2
mov dword [ebp - 4], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x4115e7
push 1
push edi
push esi
call fcn.0040dcc0
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00432213
cmp dword [esi + 0x458], ebx
jne 0x41163b
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp ecx, eax
je 0x41162d
cmp word [ecx], ax
je 0x41162d
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41167b
cmp dword [edi + 0xc], eax
je 0x41167b
mov dword [ebp - 8], 1
jmp 0x41167b
mov eax, dword [edi]
xor ebx, ebx
inc ebx
push ebx
push 0
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x41165b
push ebx
push edi
push esi
call fcn.0040dcc0
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00432213
mov dword [ebp - 0xc], ebx
xor eax, eax
cmp dword [ebp - 8], eax
mov dword [esi + 0x458], eax
je 0x4116bd
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1c], 1
call dword [eax + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4116fc
cmp dword [ebp - 0xc], eax
je 0x4116fc
mov ecx, dword [ebp - 4]
cmp ecx, eax
je 0x4116fc
mov eax, dword [esi + 4]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
lea eax, [esi + 0x454]
cmp ecx, dword [eax]
jne 0x4116fc
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x4186dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418740
cmp dword [ebp + 0xc], 1
je 0x418719
cmp dword [ebp + 0xc], 2
je 0x418719
push 0xd
pop eax
jmp 0x418740
test edi, edi
mov eax, dword [ebp - 4]
je 0x41873a
test eax, eax
je 0x418736
test al, 1
jne 0x418714
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x41873a
jmp 0x418714
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x41884e
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x598354
call fcn.00595790
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004185f2
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00418988
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x418971
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41896e
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x41895b
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x418924
mov ecx, dword [ebp - 0x14]
push 0x41862a
push 0x418bb8
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.0049e43d
mov eax, edi
jmp 0x418926
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x41895b
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.00418bc2
test eax, eax
jne 0x418956
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x418956
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x41895b
call fcn.004185f2
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x418afc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 4], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0049c520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
call fcn.0043264d
mov eax, dword [ebp + 8]
leave
ret 4

Function at 0x419552
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x419571
xor eax, eax
jmp 0x4195c1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 8], eax
je 0x41956d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41956d
push ebx
lea ebx, [edi + 1]
push ebx
call fcn.0041c302
test eax, eax
je 0x4195ad
push edi
push dword [ebp - 4]
push eax
call fcn.0049ed60
add esp, 0xc
mov eax, ebx
call fcn.00419396
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x419668
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x597608
call fcn.00595790
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
mov dword [ebp - 0x14], edi
je 0x41974e
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [esi]
push str._s_d._s
call fcn.004325c8
add esp, 0x10
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x419743
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
je 0x41973a
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebx + 0xa]
push eax
mov dword [ebp + 8], edi
call fcn.0041c302
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x419731
cmp dword [ebp + 8], ebx
jne 0x419731
mov eax, ebx
call fcn.00419396
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
xor eax, eax
inc eax
jmp 0x419751
xor eax, eax
mov edx, esi
call fcn.004193af
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x419908
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x419961
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x419952
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x419952
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x419961
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4

Function at 0x419965
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x419985
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x4199e2
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x4199e7
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x4199e7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4199e2
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x4199d9
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.00416dfe
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4199e2
cmp dword [edi + 0x18], esi
je 0x4199e2
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x4199f6
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8
Function at 0x41bb7e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x460]
cmp dword [edi], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x41bba9
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov eax, dword [esi + 0x454]
cmp eax, ebx
je 0x41bc88
push eax
call fcn.00431f85
mov edi, eax
cmp edi, ebx
pop ecx
je 0x41bc3d
mov eax, dword [edi]
push 2
push ebx
mov ecx, edi
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
test eax, eax
je 0x41bbe2
push 1
push edi
push esi
call fcn.0041a192
mov eax, dword [esi + 0x454]
cmp eax, dword [esi + 0x450]
jne 0x41bc3d
movzx eax, word [ebp + 0x10]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00432213
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x41bc2c
cmp word [eax], bx
je 0x41bc2c
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41bc3d
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41bc3d
mov dword [ebp - 4], 1
mov dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
mov dword [esi + 0x454], ebx
je 0x41bc88
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret 0xc
Function at 0x425886
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x4258b5
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0x134]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x4258ef
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x425910
push dword [esi + 0xc]
mov dword [esi + 0x134], ebx
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4258e9
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4258e9
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0x134], 0
jne 0x4258ac
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430af6
jmp 0x4258ae
cmp eax, 0x47
jne 0x425935
push dword [ebp + 0x14]
lea edi, [esi + 0x134]
mov eax, esi
mov dword [edi], ebx
call fcn.0042598d
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x4258aa
cmp eax, 0x18
jne 0x4258ef
push dword [ebp + 0x10]
mov dword [esi + 0x134], ebx
call fcn.00425a82
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x42596d
push dword [esi + 8]
jmp 0x425963
mov ecx, dword [eax + 0x30]
shr ecx, 3
not ecx
test bl, cl
je 0x425977
push dword [eax + 8]
call fcn.00431f85
cmp eax, edi
pop ecx
jne 0x425954
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.00419c91
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0x134], edi
jne 0x4258ac
jmp 0x4258ef

Function at 0x425c12
Capabilities:
Hide graphical window

Disassembly:
mov eax, esi
call fcn.00425c56
test eax, eax
jne 0x425c24
and dword [esi + 0x134], eax
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425c55
push 0
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0x140], 0
ret

Function at 0x4282ed
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x428304
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x428339
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x428335
cmp edi, eax
jae 0x428339
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x428327
cmp edi, eax
jb 0x42833d
xor eax, eax
jmp 0x428347
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x43100a
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x597230
call fcn.00595790
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [edi], vtable.CBkWindow.0
call fcn.00427988
mov esi, 0x61e580
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.00427988
add eax, 0x60
inc dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.00427988
mov ebx, eax
mov eax, dword [ebp - 0x10]
call fcn.004451d7
push esi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
lea esi, [edi + 0x24]
mov ecx, 0x61b884
mov dword [edi + 0x20], ebx
call fcn.0043033f
lea esi, [edi + 0x3c]
mov ecx, 0x61b884
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
call fcn.0043033f
lea esi, [edi + 0x44]
mov ecx, 0x61b884
mov dword [edi + 0x40], ebx
call fcn.0043033f
lea esi, [edi + 0x48]
mov ecx, 0x61b884
call fcn.0043033f
or dword [edi + 0x4c], 0xffffffff
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x60], 0xffffffff
lea esi, [edi + 0xbc]
mov eax, esi
mov dword [edi + 0x54], ebx
mov word [edi + 0x58], bx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], 1
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], ebx
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xb8], ebx
call fcn.0041438a
mov eax, esi
call fcn.0041438a
mov byte [esi + 0x28], 0xff
lea esi, [edi + 0xf8]
mov dword [edi + 0xec], ebx
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
lea eax, [esi + 8]
mov dword [esi], vtable.CBkWindow::BkAnimationHandler.0
mov dword [esi + 4], edi
call fcn.0041438a
lea eax, [esi + 8]
call fcn.0041438a
mov byte [esi + 0x30], 0xff
lea eax, [edi + 0x10]
mov byte [esi + 0x38], bl
push eax
mov dword [edi + 0x134], ebx
mov dword [edi + 0x138], ebx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4