Function at 0x4a2fa0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3394
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
push 0
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x28], eax
cmp eax, 0x1a
jne 0x4a3006
push 0x4fc568
push 0x4fc5b0
push 0
push esi
call sub.MSVCRT40.dll___RTDynamicCast
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x236c], eax
mov eax, dword [ecx + 0x2364]
push eax
mov ecx, dword [ecx + 0x236c]
call fcn.004336b0
jmp 0x4a337a
push 0x4fe5f0
push 0x4fc5b0
push 0
push esi
call sub.MSVCRT40.dll___RTDynamicCast
add esp, 0x14
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4a32b8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x222c]
inc dword [ecx + 0x50]
mov edi, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x24], eax
cmp edi, edx
jne 0x4a3043
xor eax, eax
jmp 0x4a308d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x2230]
cmp edi, eax
jne 0x4a3057
mov eax, 1
jmp 0x4a308d
cmp edx, 0xffffffff
jne 0x4a306f
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ecx + 0x222c], edi
mov dword [ecx + 0x2234], edi
jmp 0x4a308d
cmp eax, 0xffffffff
jne 0x4a308a
mov ecx, dword [ebp - 0x10]
mov eax, 1
mov dword [ecx + 0x2230], edi
mov dword [ecx + 0x2238], edi
jmp 0x4a308d
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + eax*4 + 0x21fc]
lea esi, [ecx + eax*4]
mov eax, dword [ecx + eax*4 + 0x2200]
cmp eax, edi
je 0x4a30dd
test edi, edi
je 0x4a30b1
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
add dword [esi + 0x21fc], 4
jmp 0x4a31ef
mov eax, edi
sub eax, dword [esi + 0x21f8]
test eax, 0xfffffffc
je 0x4a30f6
sar eax, 2
add eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4a30fd
mov dword [ebp - 0x20], 0x400
push 0
call dword [sym.imp.MSVCRT40.dll_void____cdecl___void____cdecl_set_new_handler_void____cdecl___void__]
add esp, 4
mov eax, dword [ebp - 0x20]
shl eax, 2
push eax
call sub.MFC40.DLL_operator_new
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4a3146
mov ebx, dword [sym.imp.MSVCRT40.dll_class_ostream____cdecl_endl_class_ostream__]
push 0x4fc498
mov ecx, dword [sym.imp.MSVCRT40.dll_class_ostream_withassign_cerr]
call dword [sym.imp.MSVCRT40.dll_public:_class_ostream____thiscall_ostream::operator___char_const__]
push eax
call ebx
add esp, 4
push 1
call dword [sym.imp.MSVCRT40.dll_exit]
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x21f8]
cmp ecx, edi
je 0x4a3169
mov ebx, ecx
mov edx, eax
add ecx, 4
add eax, 4
test edx, edx
je 0x4a3165
mov ebx, dword [ebx]
mov dword [edx], ebx
cmp ecx, edi
jne 0x4a3153
mov eax, edi
sub eax, dword [esi + 0x21f8]
and eax, 0xfffffffc
add eax, dword [ebp - 0x1c]
je 0x4a317e
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, edi
mov ecx, dword [ebp - 0x1c]
sub eax, dword [esi + 0x21f8]
mov ebx, dword [esi + 0x21fc]
and eax, 0xfffffffc
cmp ebx, edi
lea edx, [eax + ecx + 4]
je 0x4a31b0
mov ecx, edi
mov eax, edx
add edi, 4
add edx, 4
test eax, eax
je 0x4a31ac
mov ecx, dword [ecx]
mov dword [eax], ecx
cmp edi, ebx
jne 0x4a319a
mov eax, dword [esi + 0x21f8]
push eax
call sub.MFC40.DLL_operator_delete
mov eax, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*4]
mov dword [esi + 0x2200], edx
mov eax, dword [esi + 0x21fc]
sub eax, dword [esi + 0x21f8]
sar eax, 2
lea eax, [ecx + eax*4]
add eax, 4
mov dword [esi + 0x21fc], eax
mov dword [esi + 0x21f8], ecx
lea ecx, [ebp - 0x14]
xor ebx, ebx
call sub.MFC40.DLL_CString::CString_3
push str.Register_address
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC40.DLL_CString::operator_1
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
add edi, 0x40
push eax
mov ecx, edi
mov esi, dword [edi]
call dword [esi + 0x68]
push str.Register_alias
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::operator_1
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0043fc40
push str.Click_and_drag_to_set_output_order
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::operator_1
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0043fc60
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x2250]
mov ecx, edi
push eax
call dword [esi + 0x78]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
sub esp, 4
lea eax, [ecx + edx*4 + 0x191c]
lea esi, [ecx + edx*4]
mov dword [ebp - 0x1c], esp
push eax
mov ecx, dword [ebp - 0x1c]
call sub.MFC40.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004a33b0
mov eax, dword [esi + 0x184c]
mov ecx, dword [ebp - 0x18]
push eax
mov ebx, dword [ecx]
call dword [ebx + 0xe4]
cmp dword [esi + 0x184c], 0x35
jne 0x4a32ac
mov ecx, dword [ebp - 0x18]
call fcn.0043fb10
mov dword [ebp - 4], 0xffffffff
call fcn.004a339e
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x50], 0x1a
jne 0x4a337a
xor esi, esi
mov edi, dword [ecx + 0x21c8]
cmp dword [ecx + 0x21cc], edi
je 0x4a331e
mov eax, dword [ebp - 0x18]
add eax, 0x40
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov ebx, dword [ecx + 0x48]
mov ecx, dword [ebp - 0x10]
add edi, 0x18
inc esi
mov eax, dword [ecx + 0x222c]
mov dword [edi - 0x18], eax
mov dword [edi - 0xc], eax
mov edx, dword [ecx + 0x21f8]
mov eax, dword [edx + esi*4 - 4]
mov dword [edi - 0x14], eax
mov dword [edi - 8], eax
mov ecx, dword [edi - 0x14]
mov edx, dword [edi - 0x18]
push ecx
push edx
mov ecx, dword [ebp - 0x14]
call ebx
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x21cc], edi
jne 0x4a32e3
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 0x21d4]
cmp dword [ecx + 0x21d8], ebx
je 0x4a337a
mov eax, dword [ebp - 0x18]
add eax, 0x40
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x48]
mov ecx, dword [ebp - 0x10]
add ebx, 0x18
inc edi
mov eax, dword [ecx + 0x2230]
mov dword [ebx - 0x18], eax
mov dword [ebx - 0xc], eax
mov edx, dword [ecx + 0x2204]
mov eax, dword [edx + edi*4 - 4]
mov dword [ebx - 0x14], eax
mov dword [ebx - 8], eax
mov ecx, dword [ebx - 0x14]
mov edx, dword [ebx - 0x18]
push ecx
push edx
mov ecx, dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x21d8], ebx
jne 0x4a333f
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4