Function at 0x47c3f0
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 0x4c7dc3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a0
mov eax, dword [0x4f01c0]
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 [0x4f4b14]
test eax, eax
je 0x47c445
mov eax, dword [eax + 0x74]
test eax, eax
je 0x47c445
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.00438130
mov edi, dword fs:[0x2c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x47c4bd
mov ecx, dword [edi]
mov eax, dword [0x4f4c40]
cmp eax, dword [ecx + 4]
jle 0x47c4a2
push 0x4f4c40
call fcn.0047ef39
add esp, 4
cmp dword [0x4f4c40], 0xffffffff
jne 0x47c4a2
push str.user32.dll
call esi
push 0x4f4c40
mov dword [0x4f4c34], eax
call fcn.0047eee8
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x4f4c34]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c4bd
push 0xfffffffffffffffc
call eax
jmp 0x47c531
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00438130
add esp, 4
test eax, eax
je 0x47c52b
mov ecx, dword [edi]
mov eax, dword [0x4f4c48]
cmp eax, dword [ecx + 4]
jle 0x47c510
push 0x4f4c48
call fcn.0047ef39
add esp, 4
cmp dword [0x4f4c48], 0xffffffff
jne 0x47c510
push str.shcore.dll
call esi
push 0x4f4c48
mov dword [0x4f4c38], eax
call fcn.0047eee8
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x4f4c38]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47c52b
push 2
call eax
jmp 0x47c531
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], 0x47c250
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 SysReAllocString
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 0x4f4b5c
lea eax, [ebp - 0x30]
mov dword [ebp - 0xc4], 2
push eax
push 0x4f4b60
push 0x4f4b54
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 0x47cfb2
mov ecx, dword [0x4f4b54]
lea edx, [ebp - 0x78]
push edx
push 0x4db138
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x47c740
mov ecx, dword [0x4f4b60]
push 0x4f4b58
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 [0x4f4b14]
mov dword [ebp - 0x130], edi
test edi, edi
je 0x47c766
inc dword [edi + 0xb0]
push 0x6218
call fcn.004a7660
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 0x47c798
push 0
mov ecx, eax
call fcn.00402630
jmp 0x47c79a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f4b14], eax
call fcn.00409840
test edi, edi
je 0x47c7b7
mov dword [0x4f4b14], edi
jmp 0x47c7c2
mov eax, dword [0x4f4b14]
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 0x47c7e5
push 0x10
push str.Error
push str.Could_not_find_font_resource
jmp 0x47c8db
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x47c803
push 0x10
push str.Error
push str.Could_not_load_font_resource
jmp 0x47c8db
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 0x47c8cf
test eax, eax
je 0x47c8cf
push 0x78
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.0049b080
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.00430060
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 0x47c8e9
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 0x47c8fb
push 0
mov ecx, esi
call fcn.00430260
mov eax, dword [esi + 0x458]
test eax, eax
jne 0x47c914
mov dword [0x4f4c30], 0x4306c0
mov eax, 0x4f4c30
mov eax, dword [eax]
push esi
call eax
or dword [edi + 8], 0x401
add esp, 4
xor ecx, ecx
call fcn.0042c5b0
test dword [edi + 8], 0x400
mov eax, dword [0x4f4b14]
je 0x47c942
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 0x47c9fe
push 0x78
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0049b080
mov ecx, dword [0x4f4b14]
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.00430260
mov eax, dword [0x4f4b14]
mov ecx, esi
mov dword [eax + 0x20], 0
call fcn.00436150
mov eax, dword [0x4f4b5c]
mov edi, dword [0x4f4b14]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4f4b60]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x47ca31
inc dword [edi + 0xb0]
push 0x40
call fcn.004a7660
mov esi, eax
add esp, 4
test esi, esi
je 0x47cab2
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 0x47cab4
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 0x4db118
push ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x18], 0
call dword [eax]
test eax, eax
jne 0x47cb2c
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
push 0x4db128
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x47cb2c
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x18]
push edx
push 0x4db148
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x47cb2c
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 0x47cb39
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x47cb46
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 0x47cb97
mov eax, dword [0x4f4b14]
mov dword [eax + 0x3810], 0x435e30
mov dword [eax + 0x3814], 0x435f50
mov dword [eax + 0x3818], 0x435fb0
mov dword [eax + 0x381c], 0x4360a0
mov dword [eax + 0x3820], 0x436130
mov esi, dword [ebp - 0x134]
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b24
push 0x4f4b4c
push 0x67
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b20
push 0x4f4b40
push 0x70
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b34
push 0x4f4b38
push 0x71
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b2c
push 0x4f4b3c
push 0x6b
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b30
push 0x4f4b48
push 0x6c
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b28
push 0x4f4b50
push 0x6a
call fcn.0047b730
add esp, 0xc
push 0
call esi
mov ecx, dword [0x4f4b60]
mov edx, eax
push 0x4f4b1c
push 0x4f4b44
push 0x6f
call fcn.0047b730
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 0x47ccd8
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 0x47cca2
push 0x23
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x47ce9c
cmp byte [ebp - 0x80], 0
jne 0x47ce9c
mov eax, dword [0x4f4b14]
test eax, eax
je 0x47cd00
mov eax, dword [eax + 0x78]
jmp 0x47cd02
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x47cd0d
call fcn.004359a0
call fcn.00436f20
call fcn.004086f0
call fcn.00401490
call fcn.0040b0a0
mov eax, dword [0x4f4b5c]
xorps xmm0, xmm0
push 0
push 0x4f4b58
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x4f4b5c]
lea edx, [ebp - 0x2c]
push edx
push dword [0x4f4b58]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
call fcn.0040b570
mov eax, dword [0x4f4b14]
xor ecx, ecx
mov eax, dword [eax + 0x40e0]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00434f10
mov eax, dword [ebp - 0x130]
test dword [eax + 8], 0x400
je 0x47ce7a
call fcn.0041ad20
mov esi, dword [0x4f4b14]
mov edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [esi + 0x3830]
cmp eax, edx
jle 0x47ce06
mov ecx, 4
mov dword [ebp - 0x78], ecx
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x47cdf2
mov eax, dword [esi + 0x37fc]
test eax, eax
je 0x47cdda
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 0x47cdf2
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 0x47cdb0
mov edx, 1
mov dword [ebp - 0x78], edx
cmp eax, edx
jle 0x47ce74
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 0x47ce62
mov eax, dword [esi + 0x3800]
test eax, eax
je 0x47ce4a
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 0x47ce62
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 0x47ce20
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x4f4b54]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [0x4f1560], 1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x47cc90
mov edi, dword [0x4f4b14]
test edi, edi
je 0x47ceab
mov esi, dword [edi + 0x78]
jmp 0x47cead
xor esi, esi
call fcn.0041b270
call fcn.00435d20
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47cec4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x47ced0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x47cedd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x4f4b14]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
test eax, eax
je 0x47cefa
dec dword [eax + 0xb0]
push esi
call fcn.004a28a0
mov esi, dword [0x4f4b14]
add esp, 4
test esi, esi
je 0x47cf12
mov edi, dword [esi + 0x74]
jmp 0x47cf14
xor edi, edi
push 0
call dword [ebp - 0x134]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.0041b270
mov eax, dword [edi + 0x28]
test eax, eax
je 0x47cf3b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4f4b14]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x47cf58
dec dword [eax + 0xb0]
push edi
call fcn.004a28a0
mov esi, dword [0x4f4b14]
add esp, 4
mov dword [0x4f4b14], esi
call fcn.00409aa0
mov dword [0x4f4b14], 0
test esi, esi
je 0x47cf9f
mov ecx, esi
call fcn.00424e00
mov eax, dword [0x4f4b14]
test eax, eax
je 0x47cf96
dec dword [eax + 0xb0]
push esi
call fcn.004a28a0
add esp, 4
call fcn.0047c1e0
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x47cfb7
call fcn.0047c1e0
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.0047eeda
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret