Function at 0x4177b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x483b2d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov edi, dword [esp + 0xdc]
xor ebx, ebx
cmp dword [edi + 0x150], ebx
jne 0x4177fb
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x417f94
mov eax, vtable.CArray_class_CMagParagraph__class_CMagParagraph__.0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0xd4], ebx
mov ebp, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xe8]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x104]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x108]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0x10], edx
mov dword [esp + 0x34], 2
mov dword [eax + 0x14], ecx
call fcn.0042ce10
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov dword [esp + 0x3c], eax
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], edx
mov edx, dword [esp + 0x104]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x108]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x10c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.0042ce10
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov dword [esp + 0x5c], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x124]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.0042ce10
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xfc]
sub esp, 0x18
mov dword [esp + 0x60], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x118]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x124]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
sub esp, 0x18
mov eax, esp
mov dword [eax], ebp
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x120]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x5c]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0xd4]
push edx
push eax
call fcn.0042c6d0
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
lea ebp, [edi + 0xd8]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [ebp], ecx
mov ecx, dword [esp + 0xec]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0xf0]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [edi + 0xd4]
push eax
lea esi, [esp + 0x9c]
call fcn.0042ac60
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0xf8]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp]
cmp eax, ecx
jl 0x417a6f
jne 0x417cbe
mov eax, dword [ebp + 0x10]
cmp eax, dword [esp + 0x108]
jge 0x417cbe
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov ebx, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.0042a8f0
mov ebx, eax
test ebx, ebx
jne 0x417add
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov ebx, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.0042a8f0
mov ebx, eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
mov esi, dword [edi + 0xd4]
cmp edx, dword [esi + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x94], eax
jge 0x417b34
test edx, edx
jl 0x417cb9
cmp edx, dword [esi + 0xc]
jge 0x417cb9
imul edx, edx, 0x2c
add edx, dword [esi + 8]
call fcn.00421a90
jmp 0x417b39
mov eax, 1
sub eax, 1
je 0x417bb8
sub eax, 1
je 0x417bcb
sub eax, 1
jne 0x417c77
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
push esi
lea edi, [esp + 0x84]
mov dword [eax + 0x14], edx
call fcn.0042aa00
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0xdc]
mov dword [ebp], eax
mov eax, dword [esp + 0x74]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
jmp 0x417c74
mov eax, dword [edi + 0x25c]
sub eax, 1
cmp dword [ebx + 0x28], eax
jne 0x417be0
cmp dword [ebx], 2
je 0x417be5
lea ecx, [esp + 0xf8]
push ecx
push ebp
mov eax, esi
call fcn.0042afa0
jmp 0x417c77
cmp dword [ebx], 2
jne 0x417bed
mov dword [esp + 0x18], 1
mov edx, dword [edi + 0x1e8]
push edx
mov eax, ebp
mov ecx, esi
call fcn.0042bb60
test eax, eax
je 0x417c77
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
cmp dword [edi + 0x1e8], 0
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
jne 0x417c41
push edi
lea eax, [esp + 0xcc]
call fcn.004180a0
jmp 0x417c54
mov eax, dword [edi + 0xd4]
push eax
lea esi, [esp + 0xb4]
call fcn.0042ac60
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x14], edx
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [edi + 0xd4]
push eax
lea esi, [esp + 0xb4]
call fcn.0042ac60
xor ebx, ebx
jmp 0x417a28
call fcn.0043cb4a
mov edx, dword [esp + 0x100]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x114]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x120]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
call fcn.0042ce10
cmp dword [edi + 0x1e8], ebx
mov dword [esp + 0x28], eax
je 0x417d6d
cmp dword [esp + 0x18], ebx
je 0x417d6d
mov edx, dword [edi + 0xd4]
push edx
call fcn.0042be90
mov eax, dword [esp + 0x28]
mov edi, dword [edi + 0xd4]
push eax
lea eax, [esp + 0x9c]
call fcn.0042ce50
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov edi, dword [esp + 0xdc]
mov dword [esp + 0xf8], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x104], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
jmp 0x417d7b
mov ebx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xe0]
cmp ecx, edx
jne 0x417d9d
mov eax, dword [esp + 0xf0]
cmp dword [esp + 0x108], eax
je 0x417e12
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x100]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x114]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x11c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x124]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0xd4]
mov dword [eax + 0x14], edx
lea eax, [esp + 0x7c]
push eax
push ecx
call fcn.0042c6d0
lea edx, [esp + 0x1c]
push edx
call fcn.0041ba00
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x104]
mov edi, dword [esp + 0xdc]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x120]
mov dword [eax + 4], esi
mov esi, dword [edi + 0xd4]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0xf8]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x124]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0xfc]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x100]
sub esp, 0x18
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x120]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
call fcn.00429790
cmp ebx, dword [esp + 0xf8]
mov dword [esp + 0x18], ebx
jg 0x417ed0
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0xd4]
call fcn.00429890
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0xf8]
mov dword [esp + 0x18], eax
jle 0x417ead
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xf4]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0xf0]
mov dword [ebp + 0xc], ecx
lea ecx, [esp + 0x98]
mov dword [ebp + 0x14], eax
mov dword [ebp], ebx
mov dword [ebp + 0x10], edx
push ecx
mov ecx, dword [edi + 0xd4]
mov eax, ebp
call fcn.0042a6d0
mov edx, dword [eax]
mov dword [edi + 0xf0], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0xf4], ecx
mov edx, dword [eax + 8]
mov dword [edi + 0xf8], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xfc], ecx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x100], edx
mov eax, dword [eax + 0x14]
mov ecx, edx
mov dword [edi + 0x104], eax
mov esi, edi
mov dword [edi + 0xec], ecx
call fcn.00415d00
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0040e130
mov eax, edi
call fcn.00415b10
mov ecx, edi
call fcn.00415240
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xd8], 0xffffffff
call fcn.00406220
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret 0x34