Function at 0x447fd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x492984]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], ebx
cmp dword [edi + 0x10], ebx
je 0x448042
mov ecx, edi
mov edx, 0x4966f0
lea edi, [ebx + 0x18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44803c
add ecx, 4
add edx, 4
sub edi, 4
jae 0x448022
mov dword [ebp - 0x3c], 1
jmp 0x44803f
mov dword [ebp - 0x3c], ebx
mov edi, dword [ebp + 8]
movdqu xmm0, xmmword [edi]
movdqu xmmword [0x4966f0], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x496700], xmm0
mov eax, dword [edi + 0x18]
mov dword [0x496708], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc120u.dll_Ordinal_4843
mov dword [ebp - 0x34], eax
test eax, eax
je 0x449046
mov eax, dword [edi + 8]
mov ebx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ebx
test eax, eax
je 0x449046
cmp eax, 0xff
ja 0x449046
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.mfc120u.dll_Ordinal_296]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_void_]
mov eax, ebx
mov byte [ebp - 4], 1
add eax, 0xfffffff0
cmp eax, 0x95
ja case.0x4480da.19
movzx eax, byte [eax + 0x44906c]
jmp dword [eax*4 + 0x44905c]
mov ebx, 0x10
mov dword [ebp - 0x30], 4
jmp 0x448109
mov ebx, 0x11
mov dword [ebp - 0x30], 2
jmp 0x448109
mov ebx, 0x12
mov dword [ebp - 0x30], 1
mov eax, dword [edi + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0xff
cmp eax, 0x100
je 0x448153
cmp eax, 0x104
je 0x448153
cmp eax, 0x101
je 0x448132
cmp eax, 0x105
jne case.0x4480da.19
cmp dword [ebp + 0x10], 0
jne case.0x4480da.19
cmp byte [ebx + esi + 0x732], 0
jne case.0x4480da.19
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.0x4480da.19
jmp 0x449018
cmp word [esi + ebx*2 + 0x430], 0
jne 0x449018
mov eax, dword [edi + 4]
cmp eax, 0x101
je 0x448173
cmp eax, 0x105
jne 0x4481dd
lea edi, [esi + ebx*4]
lea ecx, [edi + 0xeb8]
call dword [sym.imp.byondcore.dll_public:_bool___thiscall_DMString::IsEmpty_void_const]
test al, al
jne 0x4481dd
lea eax, [esi - 0x98]
mov dword [ebp - 0x4c], 1
push 1
push dword [edi + 0xeb8]
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00433410
mov edi, eax
test edi, edi
je 0x4481c7
mov ecx, dword [edi]
test ecx, ecx
je 0x4481b9
add ecx, 0xfffffdc4
jmp 0x4481bb
xor ecx, ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x4c]
push edx
call dword [eax + 0x194]
cmp dword [ebp - 0x4c], 0
jne 0x4481dd
mov eax, dword [edi]
test eax, eax
je 0x4481dd
add eax, 0xfffffdc4
mov dword [ebp - 0x40], eax
jne 0x4481fb
push dword [ebp - 0x34]
lea eax, [esi - 0x98]
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.004331e0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x449018
mov ecx, eax
call dword [sym.imp.byondwin.dll_public:_class_IMacroInfo____thiscall_CIMainCtrl::GetMacroTable_void_]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x449018
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
cmp ecx, 0x100
je 0x4485d9
cmp ecx, 0x104
je 0x4485d9
cmp ecx, 0x7ec
je 0x4485d9
cmp ecx, 0x101
je 0x44824c
cmp ecx, 0x105
jne 0x449018
movzx eax, word [esi + ebx*2 + 0x430]
mov dword [ebp - 0x38], eax
movzx eax, word [edi + 8]
push eax
mov dword [ebp - 0x34], 8
call dword [sym.imp.byondwin.dll_public:_static_int___cdecl_IMacroInfo::HasName_unsigned_int_]
mov edx, dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::Find_unsigned_int__int___int___int_const]
add esp, 4
test eax, eax
je 0x4483aa
movzx eax, word [edi + 8]
test ax, ax
je 0x4483aa
mov ecx, 0xff
cmp ax, cx
ja 0x4483aa
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0x180
call edx
mov edi, eax
test edi, edi
je 0x4483a4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44839d
test al, 0x20
jne 0x44839d
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
add eax, 8
lea ecx, [ebp - 0x40]
push eax
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_struct_DMString_const__]
mov eax, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_void_]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xd
push eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.byondwin.dll_public:_static_void___cdecl_IMacroInfo::LookupName_unsigned_int__struct_DMString__]
add esp, 8
lea ecx, [ebp + 0xc]
push 0x46dc24
call dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::FindOneOf_char_const__const]
test eax, eax
jne 0x44834a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x50]
push 0x4658f0
push eax
call dword [sym.imp.byondcore.dll_struct_DMString___cdecl_operator_char_const___struct_DMString_const__]
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
mov eax, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xd
call eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push str.____
call dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::Replace_char_const___char_const__]
mov eax, dword [ebp + 8]
lea ecx, [esi - 0x98]
inc dword [esi + 0x22d8]
push 0
movzx eax, word [eax + 8]
push eax
push 0xa1
push edi
push dword [ebp - 0x40]
call fcn.0042c990
dec dword [esi + 0x22d8]
lea ecx, [ebp + 0xc]
mov edi, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
mov byte [ebp - 4], 0xc
call edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call edi
mov dword [ebp - 0x14], 1
mov edx, dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::Find_unsigned_int__int___int___int_const]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffeef
or eax, 8
mov edi, eax
mov dword [ebp - 0x34], eax
and edi, 3
mov dword [ebp - 0x4c], edi
test ecx, ecx
je 0x4483d6
or ecx, 8
mov dword [ebp - 0x4c], 7
and eax, ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call edx
xor eax, eax
lea ecx, [esi + 0xeb8]
lea ecx, [ecx + ebx*4]
mov word [esi + ebx*2 + 0x430], ax
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::Empty_void_]
mov ecx, dword [esi + 0x14c0]
lea eax, [esi + 0x14c0]
test ecx, ecx
je 0x448418
mov edi, eax
mov dword [ebp + 0xc], eax
jmp 0x448421
lea edi, [esi + 0x14bc]
mov dword [ebp + 0xc], edi
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x14bc], edx
jne 0x448434
mov dword [esi + 0x14bc], ecx
jmp 0x448438
cmp ecx, edx
jne 0x44843e
mov dword [eax], 0
mov edx, dword [esi + 0x20d4]
mov ecx, edx
test ecx, ecx
je 0x44845f
lea eax, [esi + 0x1acc]
lea eax, [eax + ecx*4]
lea eax, [eax - 4]
dec ecx
cmp ebx, dword [eax]
je 0x448460
test ecx, ecx
jne 0x448453
dec ecx
test ecx, ecx
js 0x44847b
lea eax, [edx - 1]
mov dword [esi + 0x20d4], eax
mov eax, dword [esi + eax*4 + 0x1acc]
mov dword [esi + ecx*4 + 0x1acc], eax
xor edx, edx
cmp dword [esi + 0x20d0], edx
jle 0x448509
mov eax, dword [ebp - 0x10]
lea esp, [esp]
lea ecx, [edx + 0x532]
cmp eax, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
jne 0x448500
dec dword [esi + 0x20d0]
cmp edx, dword [esi + 0x20d0]
jge 0x4484c2
lea esp, [esp]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
inc edx
cmp edx, dword [esi + 0x20d0]
jl 0x4484b0
mov dword [edi], 0
mov eax, dword [esi + 0x20d0]
dec eax
js 0x4484fd
mov ebx, dword [esi + 0x14bc]
lea ecx, [eax + 0x532]
lea ecx, [esi + ecx*4]
mov edi, dword [ecx]
cmp edi, ebx
je 0x4484f4
mov esi, dword [ebp - 0x20]
cmp edi, dword [esi + 0x1558]
mov esi, dword [ebp - 0x48]
jne 0x448553
sub ecx, 4
dec eax
jns 0x4484e0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
inc edx
cmp edx, dword [esi + 0x20d0]
jl 0x448490
cmp dword [ebp - 0x4c], 0
mov ebx, dword [ebp + 8]
jne 0x448561
movzx eax, byte [ebx + 8]
push eax
call dword [sym.imp.byondwin.dll_public:_static_int___cdecl_IMacroInfo::IsCharKey_unsigned_int_]
add esp, 4
test eax, eax
je 0x448561
cmp dword [ebp + 0x10], 0
jne 0x448561
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.mfc120u.dll_Ordinal_4843
mov esi, dword [ebp - 0x20]
test eax, eax
je 0x448564
push 9
push eax
mov ecx, esi
call fcn.00433360
test eax, eax
je 0x448564
mov ebx, dword [ebp - 0x14]
jmp 0x44901a
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + eax*4 + 0x14c8]
mov dword [edi], eax
jmp 0x4484fd
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x448596
mov ecx, dword [ebp - 0x1c]
push eax
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
movzx edx, word [ebx + 8]
mov ecx, esi
push 0
push edx
push 0xa1
push eax
push dword [eax + 8]
call fcn.0042c990
mov ebx, 1
jmp 0x44901a
cmp dword [ebp - 0x38], 0
je 0x44900c
cmp dword [ebx + 4], 0x105
jne 0x448fdf
mov eax, dword [ebx + 8]
cmp eax, 0x12
je 0x44900c
cmp eax, 0xa4
je 0x44900c
cmp eax, 0xa5
je 0x44900c
mov ebx, 1
jmp 0x44901a
cmp dword [ebp + 0xc], 1
je 0x4489c5
mov eax, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_void_]
lea ecx, [ebp - 0x48]
call eax
lea ecx, [esi - 0x98]
mov byte [ebp - 4], 2
call fcn.004371a0
mov edi, eax
test edi, edi
je 0x448804
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_char_const__]
mov eax, dword [eax + 4]
cmp eax, 0x100
je 0x448624
cmp eax, 0x7ec
jne 0x448752
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CIInputCtrl::GetMultiLine_int__]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CIInputCtrl::GetNonCommand_int__]
cmp dword [ebp - 0x34], edi
jne case.0x448674.41
cmp dword [ebp - 0x50], 0
jne case.0x4487f3.8
cmp dword [ebp - 0x2c], 0
jne case.0x4487f3.8
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns case.0x448674.41
mov eax, dword [ebp - 0x10]
add eax, 0xffffffdf
cmp eax, 0x39
ja case.0x448674.41
movzx eax, byte [eax + 0x44910c]
jmp dword [eax*4 + 0x449104]
push 9
lea ecx, [esi - 0x98]
xor ebx, ebx
call fcn.00433270
test eax, eax
je 0x44869e
mov ebx, dword [eax]
test ebx, ebx
je 0x44869c
add ebx, 0xffffff34
jmp 0x44869e
xor ebx, ebx
cmp ebx, edi
jne 0x4486c3
cmp dword [ebp - 0x34], edi
je 0x4486c3
mov eax, dword [ebp + 8]
test dword [eax + 0xc], 0x40000000
jne 0x4486bc
cmp dword [eax + 4], 0x7ec
jne 0x4486c3
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CIInputCtrl::GetCommand_struct_DMString__]
lea ecx, [ebp - 0x18]
call dword [sym.imp.byondcore.dll_public:_bool___thiscall_DMString::IsEmpty_void_const]
test al, al
je 0x4486f9
cmp edi, ebx
jne 0x4486f9
lea eax, [esi + 0x41c]
push eax
mov eax, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
lea ecx, [ebp - 0x18]
call eax
mov ebx, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_char_const__]
jmp 0x448752
lea ecx, [ebp - 0x18]
call dword [sym.imp.byondcore.dll_public:_bool___thiscall_DMString::IsEmpty_void_const]
test al, al
jne 0x448742
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0x21
jne 0x448742
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.byondcore.dll_public:_struct_DMString___thiscall_DMString::Mid_int_]
push eax
mov eax, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call eax
mov eax, dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call eax
mov ebx, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_char_const__]
jmp 0x448752
mov ebx, dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_char_const__]
lea ecx, [ebp - 0x18]
push 0x4643fb
call ebx
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call sub.mfc120u.dll_Ordinal_7704
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
test eax, eax
je 0x4487fa
cmp dword [ebp - 0x34], edi
jne 0x4487b5
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.byondcore.dll_struct_DMString___cdecl_Wide2Utf8_wchar_t_const__]
add esp, 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 1
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
push eax
call dword [sym.imp.byondcore.dll_bool___cdecl_operator__struct_DMString_const___struct_DMString_const__]
add esp, 8
test al, al
je 0x4487b5
mov bl, 1
jmp 0x4487b7
xor bl, bl
test byte [ebp - 0x38], 1
mov dword [ebp - 4], 2
je 0x4487cd
lea ecx, [ebp - 0x54]
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
test bl, bl
je 0x448804
push 0x4643fb
lea ecx, [ebp - 0x18]
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_char_const__]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx - 8]
cmp eax, 0xf7
ja case.0x4487f3.9
movzx eax, byte [eax + 0x449150]
jmp dword [eax*4 + 0x449148]
push 0x4643fb
lea ecx, [ebp - 0x18]
call ebx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x104
jne 0x4489b8
movzx eax, cl
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.byondwin.dll_public:_static_int___cdecl_IMacroInfo::IsCharKey_unsigned_int_]
add esp, 4
test eax, eax
je 0x44894d
mov ecx, dword [ebp - 0x40]
add ecx, 0x23c
call dword [sym.imp.byondwin.dll_public:_class_CWnd____thiscall_CIWindowCtrl::GetWnd_void_]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x44894d
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor ebx, ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x50], ebx
test eax, eax
jle 0x44894d
mov edi, dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::Find_char_const___int_const]
nop
lea ecx, [ebp - 0x2c]
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_void_]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x38]
push 0x400
push eax
push ebx
mov byte [ebp - 4], 6
call sub.mfc120u.dll_Ordinal_5857
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.byondcore.dll_struct_DMString___cdecl_Wide2Utf8_wchar_t_const__]
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
xor eax, eax
lea esp, [esp]
push eax
push 0x465d2c
lea ecx, [ebp - 0x2c]
call edi
test eax, eax
js 0x448927
mov ecx, dword [ebp - 0x2c]
inc eax
cmp byte [eax + ecx], 0x26
jne 0x4488ee
inc eax
jns 0x4488d0
jmp 0x448927
push 1
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.byondcore.dll_public:_struct_DMString___thiscall_DMString::Mid_int__int_]
push dword [eax]
mov byte [ebp - 4], 8
call dword [sym.imp.byondwin.dll_public:_static_unsigned_int___cdecl_IMacroInfo::LookupCode_char_const__]
add esp, 4
mov byte [ebp - 4], 6
cmp eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x60]
sete bl
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
test bl, bl
jne 0x448978
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
inc ebx
mov dword [ebp - 0x50], ebx
cmp ebx, dword [ebp - 0x68]
jl 0x448870
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x104
jne 0x4489b8
cmp dword [ebp - 0x10], 0x73
jne 0x4489b8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x14]
jmp 0x44901a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
mov esi, dword [eax + 0xc]
mov edi, dword [eax + 8]
lea ecx, [ecx + 0x23c]
call dword [sym.imp.byondwin.dll_public:_class_CWnd____thiscall_CIWindowCtrl::GetWnd_void_]
push esi
push edi
push 0x106
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
jmp case.0x4487f3.8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
mov eax, dword [ebp - 0x24]
xor bl, bl
xor edi, edi
mov dword [ebp - 0x38], ebx
movzx eax, word [esi + eax*2 + 0x430]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 8]
push eax
call dword [sym.imp.byondwin.dll_public:_static_int___cdecl_IMacroInfo::IsCharKey_unsigned_int_]
add esp, 4
test eax, eax
je 0x448a12
push 9
push dword [ebp - 0x34]
lea ecx, [esi - 0x98]
call fcn.00433360
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x18]
call dword [sym.imp.byondcore.dll_public:_bool___thiscall_DMString::IsEmpty_void_const]
test al, al
jne 0x448a51
mov ebx, dword [sym.imp.byondcore.dll_public:_bool___thiscall_DMString::operator_char_const__const]
lea ecx, [ebp - 0x18]
push str..alt
call ebx
test al, al
je 0x448a3a
mov edi, 1
jmp 0x448a4e
push str..ctrl
lea ecx, [ebp - 0x18]
call ebx
test al, al
mov ecx, 2
cmovne edi, ecx
mov ebx, dword [ebp - 0x38]
test bl, bl
je 0x448a63
test edi, edi
jne 0x448a63
cmp dword [ebp - 0x30], edi
jne 0x448a63
lea ebx, [edi + 1]
jmp 0x448a65
xor ebx, ebx
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
jne 0x448bc5
test ebx, ebx
jne 0x448bc5
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.byondwin.dll_public:_static_int___cdecl_IMacroInfo::HasName_unsigned_int_]
add esp, 4
test eax, eax
je 0x448bc5
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
test ax, ax
je 0x448bc5
mov ecx, 0xff
cmp ax, cx
ja 0x448bc5
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
push 0x180
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::Find_unsigned_int__int___int___int_const]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x448bc5
mov ecx, dword [ebp + 0x10]
test cl, 0x10
jne 0x448bbc
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
add eax, 8
lea ecx, [ebp - 0x48]
push eax
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_struct_DMString_const__]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::constructor_void_]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.byondwin.dll_public:_static_void___cdecl_IMacroInfo::LookupName_unsigned_int__struct_DMString__]
add esp, 8
lea ecx, [ebp - 0x2c]
push 0x46dc24
call dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::FindOneOf_char_const__const]
test eax, eax
jne 0x448b65
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x68]
push 0x4658f0
push eax
call dword [sym.imp.byondcore.dll_struct_DMString___cdecl_operator_char_const___struct_DMString_const__]
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.byondcore.dll_public:_struct_DMString____thiscall_DMString::operator_struct_DMString_const__]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
push str.____
call dword [sym.imp.byondcore.dll_public:_int___thiscall_DMString::Replace_char_const___char_const__]
mov eax, dword [ebp + 8]
lea ecx, [esi - 0x98]
inc dword [esi + 0x22d8]
push 0
movzx eax, word [eax + 8]
push eax
push 0x21
push dword [ebp - 0x60]
push dword [ebp - 0x48]
call fcn.0042c990
dec dword [esi + 0x22d8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
jmp 0x448bc8
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x448bd8
or edi, 0x80
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x448be7
mov edi, 7
mov dword [ebp - 0x20], eax
test ecx, ecx
je 0x448c21
mov eax, dword [ebp - 0x24]
mov eax, dword [esi + eax*4 + 0x8b4]
mov dword [ebp - 0x68], eax
test eax, eax
js 0x448c21
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.byondwin.dll_public:_int___thiscall_CArray_struct_IMacroEntry___struct_IMacroEntry__::GetSize_void_const]
mov ecx, dword [ebp - 0x68]
cmp ecx, eax
jge 0x448c1e
push ecx
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
jmp 0x448c24
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
test ecx, 0x100
mov dword [ebp - 0x48], eax
mov eax, 1
cmovne edx, eax
cmp dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], edx
je 0x448c4f
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
mov dword [ebp + 0xc], edx
jmp 0x448ced
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::Find_unsigned_int__int___int___int_const]
mov ecx, dword [ebp - 0x20]
test edi, edi
je 0x448c6f
and edi, ecx
jmp 0x448c74
mov edi, ecx
and edi, 3
mov eax, dword [ebp + 0x10]
mov edx, 0x100
and eax, 0x100
or ecx, eax
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x20], ecx
cmovge eax, edx
neg ebx
sbb ebx, ebx
and ebx, 0x20
or ax, bx
or ax, cx
mov ecx, 0xff7f
and ax, cx
mov ecx, dword [ebp - 0x24]
or ax, 0x10
mov word [esi + ecx*2 + 0x430], ax
add ecx, 0x3ae
lea eax, [esi + ecx*4]
mov ecx, dword [ebp - 0x40]
push eax
lea ecx, [ecx + 0x23c]
call dword [sym.imp.byondwin.dll_public:_void___thiscall_CICtrl::GetID_struct_DMString__]
mov edx, dword [ebp + 0xc]
test edx, edx
jns 0x448cda
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
jmp 0x448ced
mov ecx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov ebx, ecx
mov dword [ebp - 0x50], eax
and ebx, 0x10
je 0x448d04
test byte [ebp - 0x48], 0x10
jne 0x448d04
xor eax, dword [ebp - 0x48]
test al, 7
jne 0x448d2a
test edi, edi
jne 0x448d20
cmp byte [ebp - 0x38], 0
je 0x448d20
mov eax, dword [ebp - 0x24]
mov ecx, 0xfeff
and word [esi + eax*2 + 0x430], cx
jmp 0x448d2a
test ebx, ebx
je 0x448d65
test byte [ebp - 0x50], 0x10
jne 0x448d4c
cmp dword [ebp - 0x14], 0
jne 0x448d3d
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
je 0x448d44
mov dword [ebp - 0x14], 1
mov ebx, dword [ebp - 0x14]
jmp 0x44901a
cmp dword [esi + 0x14bc], 0
je 0x448d65
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x7ec
jne 0x448fdf
mov eax, dword [esi + 0x14bc]
test eax, eax
je 0x448da0
mov ebx, dword [ebp - 0x10]
cmp ebx, eax
je 0x448da0
cmp ebx, dword [esi + 0x14c0]
je 0x448da0
test edx, edx
js 0x448da0
mov ecx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
mov ecx, dword [ebp + 0x10]
test byte [eax + 0x14], 0x10
je 0x448d9d
test ecx, ecx
jne 0x448fdf
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [esi + eax*4 + 0x8b4], edx
mov eax, dword [esi + 0x20d4]
test eax, eax
je 0x448dd2
lea ebx, [esi + 0x1acc]
lea ebx, [ebx + eax*4]
lea ecx, [ecx]
mov ecx, dword [ebp - 0x24]
lea ebx, [ebx - 4]
dec eax
cmp ecx, dword [ebx]
mov ecx, dword [ebp + 0x10]
je 0x448dd3
test eax, eax
jne 0x448dc0
dec eax
mov ebx, dword [ebp - 0x24]
test eax, eax
jns 0x448df3
mov eax, dword [esi + 0x20d4]
mov dword [esi + eax*4 + 0x1acc], ebx
inc dword [esi + 0x20d4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x448fe6
mov edi, dword [ebp + 8]
cmp ebx, dword [esi + 0x14bc]
jne 0x448e6a
mov eax, dword [ebp - 0x20]
xor eax, ecx
test al, 7
je 0x448e6a
xor eax, eax
mov dword [ebp - 0x80], ebx
cmp dword [edi + 4], 0x105
push 1
sete al
mov dword [ebp - 0x7c], 0
push 0
lea eax, [eax*4 + 0x101]
mov dword [ebp - 0x84], eax
mov eax, dword [edi]
mov word [esi + ebx*2 + 0x430], cx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp + 0xc]
and eax, 0xff7f
or eax, 0x10
mov word [esi + ebx*2 + 0x430], ax
mov ebx, dword [ebp - 0x10]
cmp ebx, dword [esi + 0x14bc]
je 0x448f82
cmp ebx, 0xff
je 0x448f82
cmp ebx, dword [esi + 0x14c0]
je 0x448f82
mov ecx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
mov eax, dword [eax + 0x14]
and al, 0x50
cmp al, 0x10
jne 0x448f7f
mov edi, dword [esi + 0x20d0]
dec edi
mov eax, edi
js 0x448ef8
lea ecx, [esi + 0x14c8]
lea ecx, [ecx + eax*4]
lea esp, [esp]
cmp ebx, dword [ecx]
je 0x448ecc
sub ecx, 4
dec eax
jns 0x448ec0
jmp 0x448ef8
test eax, eax
js 0x448ef8
lea edx, [eax + 1]
mov dword [esi + 0x20d0], edi
cmp edx, edi
jge 0x448ef8
lea edi, [esi + 0x14c8]
lea edi, [edi + eax*4]
mov eax, dword [edi + 4]
lea edi, [edi + 4]
mov dword [edi - 4], eax
inc edx
cmp edx, dword [esi + 0x20d0]
jl 0x448ee6
mov eax, dword [esi + 0x20d0]
mov edi, dword [ebp + 8]
mov dword [esi + eax*4 + 0x14c8], ebx
inc dword [esi + 0x20d0]
mov dword [esi + 0x14bc], ebx
cmp dword [edi + 4], 0x7ec
je 0x448f7f
cmp dword [esi + 0x14c0], 0
jne 0x448f7f
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea ecx, [esi + 4]
call dword [sym.imp.byondcore.dll_public:_float___thiscall_DungClient::GetServerTickLag_void_]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
call fcn.0045874f
movsd qword [ebp - 0x6c], xmm0
fmul qword [ebp - 0x6c]
fstp qword [ebp - 0x6c]
movsd xmm0, qword [ebp - 0x6c]
call fcn.004585af
add eax, dword [ebp - 0x64]
mov dword [esi + 0x20d8], eax
adc edx, dword [ebp - 0x60]
mov dword [esi + 0x20dc], edx
mov dword [esi + 0x14c4], 1
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 0x14c0]
xor eax, eax
test ecx, ecx
push edx
setne al
xor ebx, ebx
mov dword [ebp + 8], eax
movzx eax, word [edi + 8]
cmp eax, ecx
mov ecx, dword [ebp - 0x1c]
sete bl
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::GetEntry_int_const]
movzx ecx, word [edi + 8]
mov edx, eax
push ebx
push ecx
mov cl, byte [ebp + 0x10]
mov edi, 8
add cl, cl
mov eax, 1
not cl
and cl, 0x20
cmp dword [ebp + 8], 0
cmovne eax, edi
or cl, al
movzx eax, cl
lea ecx, [esi - 0x98]
push eax
push edx
push dword [edx + 8]
call fcn.0042c990
mov ebx, 1
jmp 0x44901a
test cl, 0x10
je 0x44900c
push edi
lea eax, [ebp + 0xc]
and ecx, 0xffffffef
push eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.byondwin.dll_public:_struct_IMacroEntry____thiscall_IMacroInfo::Find_unsigned_int__int___int___int_const]
cmp dword [ebp + 0xc], 0
jge 0x448fdf
cmp dword [ebp - 0x14], 0
jne 0x448fdf
cmp dword [ebp - 0x28], 0
jne 0x448fdf
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call dword [sym.imp.byondcore.dll_public:_void___thiscall_DMString::destructor_void_]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc