Function at 0x472f80
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 0x47f303
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x4991c0]
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 [0x49b7b8]
test eax, eax
je 0x472fd5
mov eax, dword [eax + 0x74]
test eax, eax
je 0x472fd5
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.00438000
mov edi, dword fs:[0x2c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x47304d
mov ecx, dword [edi]
mov eax, dword [0x49b8d4]
cmp eax, dword [ecx + 4]
jle 0x473032
push 0x49b8d4
call fcn.00475d68
add esp, 4
cmp dword [0x49b8d4], 0xffffffff
jne 0x473032
push str.user32.dll
call esi
push 0x49b8d4
mov dword [0x49b8c8], eax
call fcn.00475d17
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x49b8c8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47304d
push 0xfffffffffffffffc
call eax
jmp 0x4730c1
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00438000
add esp, 4
test eax, eax
je 0x4730bb
mov ecx, dword [edi]
mov eax, dword [0x49b8dc]
cmp eax, dword [ecx + 4]
jle 0x4730a0
push 0x49b8dc
call fcn.00475d68
add esp, 4
cmp dword [0x49b8dc], 0xffffffff
jne 0x4730a0
push str.shcore.dll
call esi
push 0x49b8dc
mov dword [0x49b8cc], eax
call fcn.00475d17
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x49b8cc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4730bb
push 2
call eax
jmp 0x4730c1
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], 0x472de0
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.ImGui_Standalone
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 SysReAllocString
push str.ImGui_Standalone
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 0x49b800
lea eax, [ebp - 0x30]
mov dword [ebp - 0xc4], 2
push eax
push 0x49b804
push 0x49b7f8
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 0x473b4d
mov ecx, dword [0x49b7f8]
lea edx, [ebp - 0x78]
push edx
push 0x4885f0
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x4732d0
mov ecx, dword [0x49b804]
push 0x49b7fc
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 [0x49b7b8]
mov dword [ebp - 0x130], edi
test edi, edi
je 0x4732f6
inc dword [edi + 0xb0]
push 0x6218
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
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 0x473329
push 0
mov ecx, eax
call fcn.00402430
jmp 0x47332b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x49b7b8], eax
call fcn.00409650
test edi, edi
je 0x473348
mov dword [0x49b7b8], edi
jmp 0x473353
mov eax, dword [0x49b7b8]
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 0x473376
push 0x10
push str.Error
push str.Could_not_find_font_resource
jmp 0x47346c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x473394
push 0x10
push str.Error
push str.Could_not_load_font_resource
jmp 0x47346c
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 0x473460
test eax, eax
je 0x473460
push 0x78
lea eax, [ebp - 0x1b0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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.0042fec0
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 0x47347a
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 0x47348c
push 0
mov ecx, esi
call fcn.004300c0
mov eax, dword [esi + 0x458]
test eax, eax
jne 0x4734a5
mov dword [0x49b8c4], 0x430520
mov eax, 0x49b8c4
mov eax, dword [eax]
push esi
call eax
or dword [edi + 8], 0x401
add esp, 4
xor ecx, ecx
call fcn.0042c420
test dword [edi + 8], 0x400
mov eax, dword [0x49b7b8]
je 0x4734d3
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 0x47358f
push 0x78
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x49b7b8]
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.004300c0
mov eax, dword [0x49b7b8]
mov ecx, esi
mov dword [eax + 0x20], 0
call fcn.00436010
mov eax, dword [0x49b800]
mov edi, dword [0x49b7b8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x49b804]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x4735c2
inc dword [edi + 0xb0]
push 0x40
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x473644
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 0x473646
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 0x4885d0
push ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x18], 0
call dword [eax]
test eax, eax
jne 0x4736be
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
push 0x4885e0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4736be
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x18]
push edx
push 0x488600
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4736be
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 0x4736cb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x4736d8
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 0x473729
mov eax, dword [0x49b7b8]
mov dword [eax + 0x3810], 0x435cf0
mov dword [eax + 0x3814], 0x435e10
mov dword [eax + 0x3818], 0x435e70
mov dword [eax + 0x381c], 0x435f60
mov dword [eax + 0x3820], 0x435ff0
mov esi, dword [ebp - 0x134]
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7c8
push 0x49b7f0
push 0x67
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7c4
push 0x49b7e4
push 0x70
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7d8
push 0x49b7dc
push 0x71
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7d0
push 0x49b7e0
push 0x6b
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7d4
push 0x49b7ec
push 0x6c
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7cc
push 0x49b7f4
push 0x6a
call fcn.004724a0
add esp, 0xc
push 0
call esi
mov ecx, dword [0x49b804]
mov edx, eax
push 0x49b7c0
push 0x49b7e8
push 0x6f
call fcn.004724a0
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
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
je 0x473868
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 0x473832
push 0x23
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x473a2c
cmp byte [ebp - 0x80], 0
jne 0x473a2c
mov eax, dword [0x49b7b8]
test eax, eax
je 0x473890
mov eax, dword [eax + 0x78]
jmp 0x473892
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x47389d
call fcn.00435860
call fcn.00436de0
call fcn.004084f0
call fcn.004012a0
call fcn.0040ae80
mov eax, dword [0x49b800]
xorps xmm0, xmm0
push 0
push 0x49b7fc
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x49b800]
lea edx, [ebp - 0x2c]
push edx
push dword [0x49b7fc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
call fcn.0040b350
mov eax, dword [0x49b7b8]
xor ecx, ecx
mov eax, dword [eax + 0x40e0]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00434dc0
mov eax, dword [ebp - 0x130]
test dword [eax + 8], 0x400
je 0x473a0a
call fcn.0041ab10
mov esi, dword [0x49b7b8]
mov edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [esi + 0x3830]
cmp eax, edx
jle 0x473996
mov ecx, 4
mov dword [ebp - 0x78], ecx
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x473982
mov eax, dword [esi + 0x37fc]
test eax, eax
je 0x47396a
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 0x473982
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 0x473940
mov edx, 1
mov dword [ebp - 0x78], edx
cmp eax, edx
jle 0x473a04
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 0x4739f2
mov eax, dword [esi + 0x3800]
test eax, eax
je 0x4739da
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 0x4739f2
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 0x4739b0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x49b7f8]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [0x4999f4], 1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x473820
mov edi, dword [0x49b7b8]
test edi, edi
je 0x473a3b
mov esi, dword [edi + 0x78]
jmp 0x473a3d
xor esi, esi
call fcn.0041b060
call fcn.00435be0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x473a54
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x473a60
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x473a6d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x49b7b8]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
test eax, eax
je 0x473a8a
dec dword [eax + 0xb0]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call edi
mov esi, dword [0x49b7b8]
add esp, 4
test esi, esi
je 0x473aa8
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x78], eax
jmp 0x473aaf
mov dword [ebp - 0x78], 0
push 0
call dword [ebp - 0x134]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.0041b060
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x473adc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x78]
mov eax, dword [0x49b7b8]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x473af9
dec dword [eax + 0xb0]
push ecx
call edi
mov esi, dword [0x49b7b8]
add esp, 4
mov dword [0x49b7b8], esi
call fcn.004098b0
mov dword [0x49b7b8], 0
test esi, esi
je 0x473b3a
mov ecx, esi
call fcn.00424cc0
mov eax, dword [0x49b7b8]
test eax, eax
je 0x473b34
dec dword [eax + 0xb0]
push esi
call edi
add esp, 4
call fcn.00472d70
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x473b52
call fcn.00472d70
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.00475d09
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret