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

Disassembly:
push 0xffffffffffffffff
push 0x483afa
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x150], esi
jne 0x41a373
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
push esi
push 4
push 0x491680
call fcn.0043ef40
cmp eax, 6
jne 0x41ad8e
mov ecx, edi
call fcn.00409a40
jmp 0x41ad8e
mov eax, vtable.CArray_class_CMagParagraph__class_CMagParagraph__.0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0xb4], esi
mov ecx, dword [edi + 0xdc]
mov edx, dword [edi + 0xe0]
mov eax, dword [edi + 0xd8]
cmp eax, esi
mov ebx, dword [edi + 0xe8]
lea ebp, [edi + 0xd8]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0xd4]
mov dword [esp + 0x40], edx
jl 0x41a408
mov edx, dword [ecx + 0xc]
cmp eax, edx
jge 0x41a408
lea esi, [eax + 1]
cmp esi, edx
jne 0x41a417
cmp eax, edx
jge 0x41a412
imul eax, eax, 0x2c
add eax, dword [ecx + 8]
cmp ebx, dword [eax + 0x24]
jl 0x41a417
lea eax, [esp + 0x44]
push eax
jmp 0x41ad7e
call fcn.0043cb4a
mov edx, dword [ebp]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebp + 0x14]
push ecx
lea esi, [esp + 0x48]
mov dword [eax + 0x14], edx
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]
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 ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov esi, dword [edi + 0xd4]
mov ebx, eax
mov eax, dword [ebp]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp]
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 4]
sub esp, 0x18
mov dword [esp + 0x50], eax
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.0042ce10
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov dword [esp + 0x64], eax
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [edi + 0xd4]
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.0042ce10
test ebx, ebx
mov dword [esp + 0x6c], eax
je 0x41a408
sub esp, 0x18
cmp dword [ebx], 2
mov eax, esp
jne 0x41a666
mov edx, dword [ebp]
mov esi, dword [ebp + 4]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 4], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
add ecx, 1
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov edx, esi
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, ebx
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 ecx, dword [edi + 0xd4]
mov dword [eax + 0x14], edx
lea eax, [esp + 0x84]
push eax
push ecx
call fcn.0042c6d0
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, edx
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov eax, dword [edi + 0xd4]
mov dword [esp + 0x30], ecx
call fcn.0042afa0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, 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.0042ce10
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov dword [esp + 0x88], eax
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 esi, dword [edi + 0xd4]
call fcn.0042ce10
mov dword [esp + 0x44], 2
jmp 0x41aa25
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov ebx, dword [edi + 0xd4]
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 [esp + 0x5c], 2
mov dword [eax + 0x14], edx
call fcn.0042a8f0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, eax
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]
mov dword [esp + 0xa4], esi
call fcn.0042a2c0
sub eax, 1
je 0x41a8e4
sub eax, 1
je 0x41a8f6
sub eax, 1
jne 0x41abd7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
add ebx, 1
mov dword [esp + 0x34], esi
mov esi, dword [edi + 0xd4]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
call fcn.0042ce10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov dword [esp + 0x68], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
call fcn.0042ce10
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0x18
mov dword [esp + 0x88], eax
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x84]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0xd4]
push edx
push eax
call fcn.0042c6d0
mov eax, dword [esp + 0x8c]
mov dword [eax + 0x24], 0
movzx eax, word [eax + 0xe]
cmp ax, 0x7f
ja 0x41a815
cmp ax, 0x20
je 0x41a80f
cmp ax, 9
jne 0x41a81b
cmp ax, 0x7f
jbe 0x41a83c
cmp ax, 0x3000
je 0x41a83c
mov eax, dword [edi + 0xd4]
add dword [eax + 0x18], 1
mov ecx, dword [edi + 0xd4]
mov eax, dword [ebp]
add ecx, 4
call fcn.00410710
add eax, 0x28
add dword [eax], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
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 ecx, dword [edi + 0xd4]
mov dword [eax + 0x14], edx
lea eax, [esp + 0xa4]
push eax
push ecx
call fcn.0042c6d0
mov edx, dword [ebp]
mov ecx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
push edi
lea eax, [esp + 0xac]
call fcn.004180a0
mov ecx, ebp
call fcn.0040dc10
lea edx, [esp + 0x44]
push edx
jmp 0x41abd2
mov eax, dword [edi + 0x25c]
sub eax, 1
cmp dword [esi + 0x28], eax
jne 0x41aa43
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
add ebx, 1
mov dword [esp + 0x34], esi
mov esi, dword [edi + 0xd4]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
call fcn.0042ce10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x18
mov dword [esp + 0x88], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x84]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0xd4]
push edx
push eax
call fcn.0042c6d0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], edx
push ecx
mov edx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xd4]
push edx
call fcn.0042afa0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [edi + 0xd4]
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.0042ce10
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
call fcn.0041ba00
mov dword [esp + 0xbc], 0
jmp 0x41abd7
cmp dword [edi + 0x1e8], 0
je 0x41aa57
mov dword [esp + 0xbc], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
add ebx, 1
mov dword [esp + 0x34], esi
mov esi, dword [edi + 0xd4]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], edx
call fcn.0042ce10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov dword [esp + 0x68], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
call fcn.0042ce10
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0x18
mov dword [esp + 0x88], eax
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
lea edx, [esp + 0x84]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0xd4]
push edx
push eax
call fcn.0042c6d0
mov ecx, dword [edi + 0x1e8]
push ecx
mov ecx, dword [edi + 0xd4]
mov eax, ebp
call fcn.0042bb60
test eax, eax
je 0x41ad79
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0x18
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
lea edx, [esp + 0xa4]
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0xd4]
push edx
push eax
call fcn.0042c6d0
lea ecx, [esp + 0x44]
push ecx
call fcn.0041ba00
mov edx, dword [ebp]
mov ecx, dword [ebp + 4]
mov ebx, dword [esp + 0x2c]
mov esi, dword [edi + 0xd4]
sub esp, 0x18
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x4c]
sub esp, 0x18
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
call fcn.00429790
mov eax, dword [ebp]
mov esi, dword [edi + 0xd4]
call fcn.00429890
cmp dword [edi + 0x324], 0
je 0x41ac5f
mov eax, dword [edi + 0x300]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_HideCaret]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [edi + 0x324], 0
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x40]
mov esi, edi
mov dword [ebp], ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
call fcn.0040e590
cmp dword [esp + 0xbc], 0
je 0x41aca9
mov ebx, edi
call fcn.0040e440
jmp 0x41ad04
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 + 0x48]
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 esi, edi
call fcn.00415d00
call fcn.0040e130
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x204]
mov ecx, dword [edi + 0x200]
lea esi, [edi + 0x2f8]
mov dword [esi + 0x18], eax
mov eax, esi
mov dword [esi + 0x14], ecx
call fcn.00420ac0
mov eax, esi
call fcn.00420a40
mov eax, edi
call fcn.00415b10
mov eax, dword [edi + 0x204]
mov ecx, dword [edi + 0x200]
mov dword [esi + 0x18], eax
mov eax, esi
mov dword [esi + 0x14], ecx
call fcn.00420ac0
mov eax, esi
call fcn.00420a40
mov ecx, edi
call fcn.00415240
lea ecx, [esp + 0x44]
push ecx
jmp 0x41ad7e
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0xb8], 0xffffffff
call fcn.00406220
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4