Function at 0x464770
Capabilities:
Extract resource via kernel32 functions
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493413
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x4b0300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4b30d0]
test eax, eax
je 0x4647c5
mov eax, dword [eax + 0x74]
test eax, eax
je 0x4647c5
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.00454be0
mov edi, dword fs:[0x2c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x46483d
mov ecx, dword [edi]
mov eax, dword [0x4b31a4]
cmp eax, dword [ecx + 8]
jle 0x464822
push 0x4b31a4
call fcn.0046976e
add esp, 4
cmp dword [0x4b31a4], 0xffffffff
jne 0x464822
push str.user32.dll
call esi
push 0x4b31a4
mov dword [0x4b3198], eax
call fcn.0046971d
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x4b3198]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x46483d
push 0xfffffffffffffffc
call eax
jmp 0x4648b1
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00454be0
add esp, 4
test eax, eax
je 0x4648ab
mov ecx, dword [edi]
mov eax, dword [0x4b31ac]
cmp eax, dword [ecx + 8]
jle 0x464890
push 0x4b31ac
call fcn.0046976e
add esp, 4
cmp dword [0x4b31ac], 0xffffffff
jne 0x464890
push str.shcore.dll
call esi
push 0x4b31ac
mov dword [0x4b319c], eax
call fcn.0046971d
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x4b319c]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4648ab
push 2
call eax
jmp 0x4648b1
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0
mov dword [ebp - 0xb0], 0x30
mov dword [ebp - 0xac], 0x40
mov dword [ebp - 0xa8], 0x4645d0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x134], esi
call esi
push 0x72
push 0
mov dword [ebp - 0x9c], eax
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], str.Rebirth
mov dword [ebp - 0x84], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [ebp - 0x9c]
push 0
push 0
push 0x258
push 0x320
push 0x64
push 0x64
push connect
push str.Rebirth
push dword [ebp - 0x88]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
push 0xffffffffffffffec
push esi
mov dword [ebp - 0x138], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0xff
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0x4b3118
lea eax, [ebp - 0x30]
mov dword [ebp - 0xc4], 2
push eax
push 0x4b311c
push 0x4b3110
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xe8], 0
push 7
movlpd qword [ebp - 0xd8], xmm0
mov dword [ebp - 0xdc], 0x1c
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xc8], 0x20
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x1c], 0xb000
mov dword [ebp - 0x18], 0xa000
push 2
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 0
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x465332
mov ecx, dword [0x4b3110]
lea edx, [ebp - 0x78]
push edx
push 0x4a5990
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x464ac0
mov ecx, dword [0x4b311c]
push 0x4b3114
push 0
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [0x4b30d0]
mov dword [ebp - 0x130], edi
test edi, edi
je 0x464ae6
inc dword [edi + 0xb0]
push 0x6218
call fcn.0047ae50
lea ecx, [ebp - 0x129]
mov dword [ebp - 0x30], eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x464b18
push 0
mov ecx, eax
call fcn.0041f0e0
jmp 0x464b1a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4b30d0], eax
call fcn.004262e0
test edi, edi
je 0x464b37
mov dword [0x4b30d0], edi
jmp 0x464b42
mov eax, dword [0x4b30d0]
mov dword [ebp - 0x130], eax
push 8
push 0x73
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
jne 0x464b65
push 0x10
push str.Error
push str.Could_not_find_font_resource
jmp 0x464c5b
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x464b83
push 0x10
push str.Error
push str.Could_not_load_font_resource
jmp 0x464c5b
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
mov edi, eax
push 0
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x464c4f
test eax, eax
je 0x464c4f
push 0x78
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.0046b770
mov eax, 0xffff
mov byte [ebp - 0x1a8], 1
mov word [ebp - 0x168], ax
lea esi, [ebp - 0x1b0]
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x128]
mov ecx, 0x1e
mov dword [ebp - 0x19c], 3
mov dword [ebp - 0x198], 1
add esp, 0xc
mov dword [ebp - 0x178], 0x7f7fffff
mov dword [ebp - 0x16c], 0x3f800000
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x130]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x128]
mov ecx, dword [edi + 0x40]
push eax
mov dword [ebp - 0x118], 0x41a00000
call fcn.0044cb10
mov eax, dword [edi + 0x40]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x4c], eax
jmp 0x464c69
push 0x10
push str.Error
push str.Could_not_lock_font_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [ebp - 0x130]
mov esi, dword [edi + 0x40]
cmp dword [esi + 0x4c], 0
jne 0x464c7b
push 0
mov ecx, esi
call fcn.0044cd10
mov eax, dword [esi + 0x458]
test eax, eax
jne 0x464c94
mov dword [0x4b3194], 0x44d170
mov eax, 0x4b3194
mov eax, dword [eax]
push esi
call eax
or dword [edi + 8], 0x401
add esp, 4
xor ecx, ecx
call fcn.00449060
test dword [edi + 8], 0x400
mov eax, dword [0x4b30d0]
je 0x464cc2
mov dword [eax + 0x3864], 0x40800000
mov esi, dword [ebp - 0x138]
xorps xmm0, xmm0
push 2
push esi
movups xmmword [eax + 0x393c], xmm0
movups xmmword [eax + 0x396c], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x74]
push ecx
movups xmmword [ebp - 0x74], xmm0
push eax
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x74], 0x28
movq qword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp eax, 0x438
jle 0x464d7e
push 0x78
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0046b770
mov ecx, dword [0x4b30d0]
add esp, 0xc
mov eax, 0xffff
mov byte [ebp - 0x120], 1
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x114], 3
mov ecx, dword [ecx + 0x40]
push eax
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xf0], 0x7f7fffff
mov dword [ebp - 0xe4], 0x3f800000
mov dword [ebp - 0x118], 0x41d00000
call fcn.0044cd10
mov eax, dword [0x4b30d0]
mov ecx, esi
mov dword [eax + 0x20], 0
call fcn.00452c00
mov eax, dword [0x4b3118]
mov edi, dword [0x4b30d0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4b311c]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x464db1
inc dword [edi + 0xb0]
push 0x40
call fcn.0047ae50
mov esi, eax
add esp, 4
test esi, esi
je 0x464e32
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x464e34
xor esi, esi
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x7c]
or dword [edi + 0xc], 0x1008
push edx
mov dword [edi + 0x78], esi
mov dword [edi + 0x70], str.imgui_impl_dx11
mov eax, dword [ecx]
push 0x4a5970
push ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x18], 0
call dword [eax]
test eax, eax
jne 0x464eac
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
push 0x4a5980
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x464eac
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x18]
push edx
push 0x4a59a0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x464eac
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x464eb9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x464ec6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
test dword [edi + 8], 0x400
je 0x464f17
mov eax, dword [0x4b30d0]
mov dword [eax + 0x3810], 0x4528e0
mov dword [eax + 0x3814], 0x452a00
mov dword [eax + 0x3818], 0x452a60
mov dword [eax + 0x381c], 0x452b50
mov dword [eax + 0x3820], 0x452be0
mov esi, dword [ebp - 0x134]
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b30fc
push 0x4b30ec
push 0x67
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b30f8
push 0x4b30e0
push 0x70
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b310c
push 0x4b30d8
push 0x71
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b3104
push 0x4b30dc
push 0x6b
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b3108
push 0x4b30e8
push 0x6c
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b3100
push 0x4b30f0
push 0x6a
call fcn.004637e0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4b311c]
mov edx, eax
push 0x4b30f4
push 0x4b30e4
push 0x6f
call fcn.004637e0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov byte [ebp - 0x80], 0
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
je 0x465058
lea eax, [ebp - 0x4c]
push eax
call edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebp - 0x80]
mov ecx, 1
cmp dword [ebp - 0x48], 0x12
push ecx
movzx eax, al
push 0
cmove eax, ecx
push 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x4c]
push 0
push eax
call esi
test eax, eax
jne 0x465022
push 0x23
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x46521c
cmp byte [ebp - 0x80], 0
jne 0x46521c
mov eax, dword [0x4b30d0]
test eax, eax
je 0x465080
mov eax, dword [eax + 0x78]
jmp 0x465082
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x46508d
call fcn.00452450
call fcn.004539d0
call fcn.00425190
call fcn.00402e10
call fcn.00427b40
mov eax, dword [0x4b3118]
xorps xmm0, xmm0
push 0
push 0x4b3114
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x4b3118]
lea edx, [ebp - 0x2c]
push edx
push dword [0x4b3114]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
call fcn.00428010
mov eax, dword [0x4b30d0]
xor ecx, ecx
mov eax, dword [eax + 0x40e0]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.004519c0
mov eax, dword [ebp - 0x130]
test dword [eax + 8], 0x400
je 0x4651fa
call fcn.004377c0
mov esi, dword [0x4b30d0]
mov edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [esi + 0x3830]
cmp eax, edx
jle 0x465186
mov ecx, 4
mov dword [ebp - 0x78], ecx
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x465172
mov eax, dword [esi + 0x37fc]
test eax, eax
je 0x46515a
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x381c]
test eax, eax
je 0x465172
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x3830]
inc edx
add ecx, 4
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ecx
cmp edx, eax
jl 0x465130
mov edx, 1
mov dword [ebp - 0x78], edx
cmp eax, edx
jle 0x4651f4
mov ecx, 4
mov dword [ebp - 0x7c], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x4651e2
mov eax, dword [esi + 0x3800]
test eax, eax
je 0x4651ca
push 0
push edi
call eax
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x78]
mov eax, dword [esi + 0x3820]
test eax, eax
je 0x4651e2
push 0
push edi
call eax
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x78]
inc edx
add ecx, 4
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
cmp edx, dword [esi + 0x3830]
jl 0x4651a0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x4b3110]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [0x4b0da0], 1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x465010
mov edi, dword [0x4b30d0]
test edi, edi
je 0x46522b
mov esi, dword [edi + 0x78]
jmp 0x46522d
xor esi, esi
call fcn.00437d10
call fcn.004527d0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x465244
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x465250
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46525d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x4b30d0]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
test eax, eax
je 0x46527a
dec dword [eax + 0xb0]
push esi
call fcn.00477560
mov esi, dword [0x4b30d0]
add esp, 4
test esi, esi
je 0x465292
mov edi, dword [esi + 0x74]
jmp 0x465294
xor edi, edi
push 0
call dword [ebp - 0x134]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.00437d10
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4652bb
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, dword [0x4b30d0]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x4652d8
dec dword [eax + 0xb0]
push edi
call fcn.00477560
mov esi, dword [0x4b30d0]
add esp, 4
mov dword [0x4b30d0], esi
call fcn.00426540
mov dword [0x4b30d0], 0
test esi, esi
je 0x46531f
mov ecx, esi
call fcn.004418b0
mov eax, dword [0x4b30d0]
test eax, eax
je 0x465316
dec dword [eax + 0xb0]
push esi
call fcn.00477560
add esp, 4
call fcn.00464560
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x465337
call fcn.00464560
push dword [ebp - 0x9c]
push dword [ebp - 0x88]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469231
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret