Function at 0x4a2c80
Capabilities:
Log keystrokes via polling
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0d40
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], edx
test ecx, ecx
jne 0x4a2d30
test eax, eax
jne 0x4a2d30
xorps xmm0, xmm0
mov ecx, edx
push eax
movups xmmword [edx], xmm0
push 0x4b25ae
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
call fcn.004ae170
mov ecx, dword [ebp + 0x30]
cmp ecx, 0xf
jbe 0x4a2d0e
mov edx, dword [ebp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a2d04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3994
push ecx
push edx
call fcn.004af678
add esp, 8
mov esi, dword [ebp - 0x7c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 0x2c
mov edx, dword [0x4bdda8]
lea edi, [eax + 0x33]
lea eax, [ecx + 0x37]
cmp edx, dword [0x4bddb0]
jl 0x4a2d8b
cmp edx, dword [0x4bddb8]
jg 0x4a2d8b
mov ecx, dword [0x4bddac]
mov esi, dword [0x4bddb4]
cmp ecx, esi
jl 0x4a2d8b
cmp ecx, dword [0x4bddbc]
jg 0x4a2d8b
sub edx, dword [0x4bddb0]
cmp edx, eax
jl 0x4a2d8b
add eax, 0xe6
cmp edx, eax
jg 0x4a2d8b
sub ecx, esi
cmp ecx, edi
jl 0x4a2d8b
lea eax, [edi + 0x19]
cmp ecx, eax
jg 0x4a2d8b
mov esi, 1
jmp 0x4a2d8d
xor esi, esi
push 0x4be040
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x78], esi
call fcn.00440d20
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x4bdd94]
jne 0x4a35ad
cmp dword [0x4bddc8], 0
jne 0x4a35ad
cmp dword [0x4bddcc], 0
jne 0x4a35ad
cmp dword [0x4bde78], 0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
jne 0x4a2e17
test esi, esi
je 0x4a35ad
push 1
call edi
bt ax, 0xf
jae 0x4a2e0a
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x4bde78], 1
jmp 0x4a35ad
cmp dword [0x4bde78], 0
je 0x4a35ad
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x4b25ae
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.004ae170
push 0xa2
call edi
test ax, ax
js 0x4a2e57
push 0xa3
call edi
test ax, ax
jns 0x4a2f6f
push 0x43
call edi
bt ax, 0xf
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
jae 0x4a2f1d
push 0
push 2
push 0
push 0x43
call dword [sym.imp.USER32.dll_keybd_event]
push 0
call esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
cmp dword [0x4be054], 0xf
mov ecx, 0x4be040
cmova ecx, dword [0x4be040]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a2ea0
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x4be054]
mov ecx, 0x4be040
cmp edx, 0xf
mov esi, eax
cmova ecx, dword [0x4be040]
lea eax, [ecx + 1]
mov dword [ebp - 0x70], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a2ed2
sub ecx, dword [ebp - 0x70]
mov eax, 0x4be040
cmp edx, 0xf
cmova eax, dword [0x4be040]
push eax
lea eax, [ecx + 1]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
push 0x56
call edi
bt ax, 0xf
jae 0x4a2f6f
push 0
push 2
push 0
push 0x56
call dword [sym.imp.USER32.dll_keybd_event]
push 0
call esi
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4a2f69
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, 0x4be040
call fcn.00440b70
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, 8
mov dword [ebp - 0x70], esi
push 0xa2
call edi
test ax, ax
js 0x4a3460
push 0xa3
call edi
test ax, ax
js 0x4a3460
push esi
call edi
bt ax, 0xf
jae 0x4a3460
push 0
push 2
push 0
push esi
call dword [sym.imp.USER32.dll_keybd_event]
add esi, 0xfffffff8
cmp esi, 0xb7
ja case.0x4a2fc8.9
movzx eax, byte [esi + 0x4a3a64]
jmp dword [eax*4 + 0x4a39ac]
push 1
push 0x4b463c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b497c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4980
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4984
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4988
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b498c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4990
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4994
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4998
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b499c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49a0
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49a4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49a8
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49ac
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49b0
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49b4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49b8
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49bc
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49c0
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49c4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49c8
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49cc
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49d0
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b261c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49d4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49d8
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49dc
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b25c4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push str.123456789abcdefghijklmnopqrstuvxyz__
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b495c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4960
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4964
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4968
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b496c
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4970
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4974
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b4978
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b25ac
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49e0
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b49e4
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b2634
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
push 1
push 0x4b3e28
lea ecx, [ebp - 0x48]
call fcn.00441350
jmp case.0x4a2fc8.9
mov edx, dword [0x4be050]
mov dword [ebp - 0x4c], edx
test edx, edx
je case.0x4a2fc8.9
mov esi, dword [0x4be054]
mov edi, 0x4be040
mov ecx, dword [0x4be040]
cmp esi, 0xf
mov eax, 0x4be040
cmova edi, ecx
dec edi
add edi, edx
cmp esi, 0xf
cmova eax, ecx
sub edi, eax
mov eax, edx
sub eax, edi
mov edx, 1
cmp eax, edx
cmovb edx, eax
cmp esi, 0xf
mov esi, dword [ebp - 0x4c]
mov eax, 0x4be040
cmova eax, ecx
sub esi, edx
lea ecx, [eax + edi]
mov eax, esi
sub eax, edi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [0x4be050], esi
jmp case.0x4a2fc8.9
push 0
push 0x4b25ae
mov ecx, 0x4be040
call fcn.00441350
jmp case.0x4a2fc8.9
mov dword [0x4bde78], 0
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp - 0x34]
test ax, ax
je 0x4a33f9
mov edi, dword [ebp - 0x48]
lea esi, [ebp - 0x48]
cmp edx, 0xf
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x48]
cmova esi, edi
cmova ecx, edi
cmova eax, edi
mov edi, dword [ebp - 0x38]
add eax, edi
mov dword [ebp - 0x74], eax
cmp esi, eax
je 0x4a33fc
sub ecx, esi
mov edi, ecx
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x74]
jne 0x4a33e0
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov esi, dword [0x4be054]
lea ecx, [ebp - 0x48]
cmp edx, 0xf
mov eax, esi
mov edx, dword [0x4be050]
cmova ecx, dword [ebp - 0x48]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x4a3445
lea eax, [edi + edx]
cmp esi, 0xf
mov dword [0x4be050], eax
mov eax, 0x4be040
cmova eax, dword [0x4be040]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4a3457
mov byte [ebp - 0x6c], 0
mov ecx, 0x4be040
push dword [ebp - 0x6c]
push edi
call fcn.004ae2c0
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, dword [ebp - 0x70]
inc esi
mov dword [ebp - 0x70], esi
cmp esi, 0xfe
jl 0x4a2f77
mov ecx, 0x1e
mov dword [ebp - 0x84], 0
cmp dword [0x4be050], ecx
mov eax, 0x4be040
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
cmovb ecx, dword [0x4be050]
cmp dword [0x4be054], 0xf
push ecx
cmova eax, dword [0x4be040]
lea ecx, [ebp - 0x94]
push eax
movups xmmword [ebp - 0x94], xmm0
call fcn.004ae170
mov ecx, dword [0x4be054]
cmp ecx, 0xf
jbe 0x4a34f7
mov edx, dword [0x4be040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a34ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a359d
push ecx
push edx
call fcn.004af678
add esp, 8
movups xmm0, xmmword [ebp - 0x94]
mov edx, dword [ebp - 0x54]
mov eax, edx
mov ecx, dword [ebp - 0x58]
sub eax, ecx
movups xmmword [0x4be040], xmm0
movq xmm0, qword [ebp - 0x84]
movq qword [0x4be050], xmm0
cmp eax, 1
jb 0x4a353c
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
mov word [eax + ecx], 0x5f
jmp 0x4a3554
push 1
push 0x4b49e8
mov byte [ebp - 0x6c], 0
lea ecx, [ebp - 0x68]
push dword [ebp - 0x6c]
push 1
call fcn.004ae2c0
mov esi, dword [ebp - 0x78]
test esi, esi
jne 0x4a3577
push 1
call edi
test ax, ax
js 0x4a356d
push 2
call edi
test ax, ax
jns 0x4a3577
mov dword [0x4bde78], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x4a35ad
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a35a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a35a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
sub esp, 0x10
mov eax, esp
push 0x1b
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
mov eax, dword [ebp + 0x10]
add eax, 0x33
push 0xea
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x35
push eax
call fcn.00407780
sub esp, 0x10
mov eax, esp
push 0x19
mov dword [eax], 0x3c
mov dword [eax + 4], 0x3c
mov dword [eax + 8], 0x3c
mov dword [eax + 0xc], 0xff
mov eax, dword [ebp + 0x10]
add eax, 0x34
push 0xe8
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x36
push eax
call fcn.00407780
test esi, esi
jne 0x4a36b9
cmp dword [0x4bde78], esi
jne 0x4a36b9
mov eax, dword [0x4bdd8c]
cdq
and edx, 7
mov esi, dword [ebp + 0xc]
add eax, edx
mov edi, dword [ebp + 0x10]
sar eax, 3
add esi, 0x37
mov dword [ebp - 0x6c], eax
add edi, 0x35
mov eax, dword [0x4bdd88]
cdq
and edx, 7
lea ecx, [edx + eax]
xor eax, eax
mov word [ebp - 0x12], ax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
movzx eax, al
mov dword [ebp - 0x74], eax
shl eax, 8
mov dword [ebp - 0x6c], eax
sar ecx, 3
movzx eax, cl
mov ecx, dword [ebp - 0x6c]
or ecx, eax
mov eax, dword [0x4bdd84]
cdq
and edx, 7
shl ecx, 8
add eax, edx
sar eax, 3
movzx eax, al
or ecx, eax
lea eax, [esi + 0xe6]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x17]
mov dword [ebp - 0x1c], eax
movzx eax, cl
shl ax, 8
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x74]
jmp 0x4a3743
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 0xc]
imul dword [0x4bdd8c]
mov edi, dword [ebp + 0x10]
add esi, 0x37
mov eax, edx
add edi, 0x35
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x6c], eax
mov eax, 0x2aaaaaab
imul dword [0x4bdd88]
xor eax, eax
mov word [ebp - 0x12], ax
mov ecx, edx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
movzx eax, al
mov dword [ebp - 0x74], eax
shl eax, 8
mov dword [ebp - 0x6c], eax
shr ecx, 0x1f
add ecx, edx
movzx eax, cl
mov ecx, dword [ebp - 0x6c]
or ecx, eax
mov eax, 0x2aaaaaab
imul dword [0x4bdd84]
shl ecx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx eax, al
or ecx, eax
lea eax, [esi + 0xe6]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x17]
mov dword [ebp - 0x1c], eax
movzx eax, cl
shl ax, 8
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x74]
push 1
shl eax, 8
and ecx, 0xff00
push 1
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x50]
push eax
push 2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x4c], 1
push eax
push dword [0x4bdda4]
mov dword [ebp - 0x24], 0xf00
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0xf000f00
mov word [ebp - 0x16], cx
call dword [sym.imp.MSIMG32.dll_GradientFill]
cmp dword [ebp - 0x54], 0xf
lea ecx, [ebp - 0x68]
mov esi, dword [ebp - 0x58]
cmova ecx, dword [ebp - 0x68]
test esi, esi
jne 0x4a385d
mov edx, 0x4b25ae
sub esi, 4
jb 0x4a37c1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4a37c6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4a37b0
cmp esi, 0xfffffffc
je 0x4a37fa
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4a37f3
cmp esi, 0xfffffffd
je 0x4a37fa
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4a37f3
cmp esi, 0xfffffffe
je 0x4a37fa
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4a37f3
cmp esi, 0xffffffff
je 0x4a37fa
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4a37fa
sbb eax, eax
or eax, 1
jmp 0x4a37fc
xor eax, eax
test eax, eax
jne 0x4a385d
movzx eax, word [0x4bdd80]
push ecx
push 0x190
push eax
sub esp, 0x18
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [eax], 0x32
mov dword [eax + 4], 0x32
mov dword [eax + 8], 0x32
mov dword [eax + 0xc], 0xff
lea eax, [ebp + 0x1c]
push eax
call fcn.00440d20
mov eax, dword [ebp + 0x10]
add eax, 0x3b
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x40
jmp 0x4a3913
movzx eax, word [0x4bdd80]
push ecx
push 0x190
push eax
sub esp, 0x18
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
lea eax, [ebp - 0x68]
push eax
call fcn.00440d20
mov eax, dword [ebp + 0x10]
add eax, 0x3b
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x40
push eax
call fcn.00407920
movzx eax, word [0x4bdd80]
push ecx
push 0x190
push eax
sub esp, 0x18
mov ecx, esp
push 0x4bdd68
call fcn.00440d20
sub esp, 0x10
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [eax], 0xc8
mov dword [eax + 4], 0xc8
mov dword [eax + 8], 0xc8
mov dword [eax + 0xc], 0xff
lea eax, [ebp - 0x68]
push eax
call fcn.00440d20
mov eax, dword [ebp + 0x10]
add eax, 0x3a
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x3f
push eax
call fcn.00407920
mov esi, dword [ebp - 0x7c]
mov ecx, esi
push 0x4be040
call fcn.00440d20
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x4a3958
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a394e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a3994
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x4a2d11
mov edx, dword [ebp + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4a399a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a399a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
jmp 0x4a2d11