Function at 0x5330a0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xa16c]
xor ebx, ebx
and eax, 0x20000000
or ecx, 0xffffffff
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
cmp eax, ebx
push edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], ecx
mov dword [esi + 0x5b50], ebx
mov dword [esi + 0x5b44], ebx
jne 0x53314f
mov edi, dword [ebp + 0x10]
push edi
call fcn.004e1c70
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x533146
mov eax, dword [ebp + 0x10]
push eax
lea edi, [esi + 0xac25]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.005cb5ec
add esp, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x68], eax
jne 0x53320e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jl 0x53320e
cmp dword [esi + 0x4b48], 2
mov ebx, dword [esi + 0x4b40]
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esi + 0x4b3c]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], edi
jne 0x5331a1
mov edi, dword [esi + 0x4b4c]
mov dword [esp + 0x3c], edi
mov edi, dword [esi + 0x4b50]
mov dword [esp + 0x24], edi
test dword [esi + 0xa164], 0x100
je 0x5332c9
mov edx, dword [eax + edx*4]
mov eax, dword [edx + 0x2c]
test eax, eax
jle 0x5332c9
cmp eax, dword [ecx + 0x2c]
jne 0x5332c9
push 0x10
push ebx
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x5332c9
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
cmp edi, dword [ecx + 0xc]
jl 0x5332c9
test edi, edi
jle 0x5332c9
mov eax, 1
sub edi, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x64], eax
jmp 0x5332c9
mov eax, dword [esi + 0x5e4]
cmp eax, ebx
jle 0x5332a1
mov edx, dword [esi + 0x138]
mov ecx, dword [edx + eax*4 - 4]
cmp dword [ecx + 0x30], ebx
jg 0x533230
cmp dword [ecx + 0x2c], ebx
jle 0x5332a1
lea edi, [eax + 1]
mov dword [esi + 0x5e4], edi
add edi, 0xffffffff
push edi
push esi
call fcn.004effd0
push 1
push ebx
push edi
push esi
call fcn.00494d30
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov al, byte [esi + 0xb50]
push edi
push esi
mov byte [edx], al
call fcn.004ad140
push edi
push esi
mov word [eax], bx
call fcn.004ad1d0
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + edi*4 - 4]
lea eax, [ecx + edi*4]
mov ecx, dword [edx + 0x14]
mov eax, dword [eax]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
mov dword [eax + 0x30], ebx
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + edi*4]
add esp, 0x28
mov dword [edx + 0x2c], ebx
mov ebx, dword [esi + 0x5e4]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4 - 4]
mov edx, dword [ecx + 0xc]
sub ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edx
push 0x5644
call fcn.004e27e0
mov edi, eax
add esp, 4
test edi, edi
jne 0x5332f5
push str.RtfWrite
push 0x6c
push esi
call fcn.004e26e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5644
push 0
push edi
call fcn.004e28a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
mov dword [edi], eax
jne 0x53331f
mov eax, dword [esp + 0x68]
mov dword [edi + 4], eax
mov ebx, 2
jmp 0x5333c3
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [edi + 0xc], 0
jg 0x533349
mov edi, edi
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx + 0xc]
add ecx, 2
add dword [edi + 0xc], ecx
add eax, 1
cmp eax, ebx
jle 0x533330
mov eax, dword [edi + 0xc]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [edi + 0xc], eax
jg 0x533362
mov dword [edi + 0xc], 1
mov edx, dword [edi + 0xc]
push edx
call fcn.004e2870
add esp, 4
test eax, eax
mov dword [edi + 8], eax
jne 0x53338e
push str.RtfWrite_buf_
push 0x6c
push esi
call fcn.004e26e0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 2
cmp dword [edi], ebx
mov dword [edi + 0x10], 0
mov dword [edi + 4], 0xffffffff
jl 0x5333c3
cmp dword [esi + 0x4b48], ebx
jne 0x5333c3
cmp dword [esp + 0x64], 0
jne 0x5333c3
push esi
call fcn.00514b20
add esp, 4
mov dword [edi + 0x808], eax
cmp dword [ebp + 0xc], ebx
mov dword [esi + 0x590], 1
mov dword [esi + 0x6ac], 0
jl 0x5335bc
cmp dword [edi + 0x808], 0
je 0x5335a8
cmp dword [esi + 0x4b48], ebx
jne 0x5335a8
mov ecx, dword [esi + 0x138]
mov eax, dword [esi + 0x4b3c]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x4b40]
mov ecx, dword [ecx + edx*4]
mov ebx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x588c]
mov edx, ebx
imul edx, edx, 0x84
mov edx, dword [edx + ecx + 0x54]
mov dword [esp + 0x64], edx
mov edx, eax
imul edx, edx, 0x84
mov ecx, dword [edx + ecx + 0x54]
mov edx, dword [esp + 0x64]
cmp ecx, edx
mov dword [esp + 0x38], ecx
jl 0x533449
mov dword [esp + 0x38], edx
neg eax
push eax
mov eax, dword [esp + 0x3c]
push eax
push esi
call fcn.00513250
mov ecx, dword [esp + 0x44]
neg ebx
push ebx
push ecx
push esi
mov dword [esp + 0x7c], eax
call fcn.00513250
mov ebx, dword [esp + 0x30]
add esp, 0x18
cmp dword [esp + 0x64], eax
mov dword [esp + 0x5c], eax
je 0x533489
mov edx, dword [esp + 0x38]
add edx, 1
mov dword [esi + 0x590], edx
jmp 0x5334b8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
push ebx
push esi
call fcn.004e0ba0
add esp, 0x18
test eax, eax
je 0x5334b8
mov ecx, dword [esp + 0x38]
add ecx, 1
mov dword [esi + 0x590], ecx
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x4b3c]
mov ecx, dword [eax + edx*4]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
jle 0x53351c
mov edx, dword [esi + 0x4b40]
mov eax, dword [eax + edx*4]
cmp ecx, dword [eax + 0x2c]
jne 0x53351c
cmp dword [esp + 0x60], 0
jne 0x5334f3
push 0x10
push edx
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x53351c
mov eax, dword [esi + 0x4b3c]
test eax, eax
je 0x5335bc
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov eax, dword [eax]
mov ecx, dword [edx + 0x2c]
cmp ecx, dword [eax + 0x2c]
jne 0x5335bc
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x64], edx
jne 0x5335bc
xor eax, eax
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
lea edx, [eax + 0x63]
mov dword [esp + 0x64], eax
mov ecx, ebx
jg 0x5335bc
mov eax, dword [esi + 0x138]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x5c], ebx
lea esp, [esp]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x533563
mov dword [esp + 0x60], 1
jmp 0x533592
mov ebx, dword [esi + 0x588c]
imul eax, eax, 0x84
mov eax, dword [eax + ebx + 0x54]
cmp eax, edx
jge 0x533579
mov edx, eax
mov ebx, dword [esp + 0x64]
cmp eax, ebx
jle 0x533587
mov ebx, eax
mov dword [esp + 0x64], ebx
cmp edx, ebx
jl 0x5335b2
cmp dword [esp + 0x60], 0
jne 0x5335b2
mov ebx, dword [esp + 0x5c]
add ecx, 1
add ebx, 4
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
jle 0x533550
jmp 0x5335bc
mov dword [esi + 0x590], 0
mov dword [esi + 0x6ac], 1
cmp dword [esi + 0x4b48], 0
je 0x533609
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x1c]
jg 0x533609
nop
push ebx
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x5335f0
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + ebx*4]
or dword [eax + 0x38], 0x10000000
jmp 0x533600
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
and dword [eax + 0x38], 0xefffffff
add ebx, 1
cmp ebx, dword [esp + 0x1c]
jle 0x5335d0
mov eax, dword [esi + 0x4b34]
imul eax, eax, 0x6c
push eax
call fcn.004e27e0
add esp, 4
test eax, eax
mov dword [esp + 0x7c], eax
mov dword [edi + 0x40c], eax
jne 0x533640
push str.RtfRead_color_
push 0x6c
push esi
call fcn.004e26e0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x4b34]
imul ecx, ecx, 0x6c
push ecx
push 0
push eax
call fcn.004e28a0
add esp, 0xc
test dword [esi + 0xa15c], 0x200
jne 0x533672
mov edx, dword [esi + 0x404]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x74], eax
cmp dword [edi + 0x808], 0
je 0x533774
push esi
call fcn.004d36b0
xor ecx, ecx
add esp, 4
cmp dword [esi + 0x5898], ecx
jle 0x5336c3
xor edx, edx
jmp 0x5336a0
mov eax, dword [esi + 0x588c]
and dword [edx + eax + 0x40], 0xfffff7ff
lea eax, [edx + eax + 0x40]
add ecx, 1
add edx, 0x84
cmp ecx, dword [esi + 0x5898]
jl 0x5336a0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
mov ecx, eax
jg 0x53370d
mov edx, dword [esi + 0x138]
lea eax, [edx + ecx*4]
mov edx, dword [eax]
test dword [edx + 0x38], 0x10000000
je 0x533702
mov eax, edx
mov edx, dword [eax + 0x2c]
mov eax, dword [esi + 0x588c]
imul edx, edx, 0x84
or dword [edx + eax + 0x40], 0x800
lea eax, [edx + eax + 0x40]
add ecx, 1
cmp ecx, ebx
jle 0x5336d1
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x2c]
test eax, eax
jle 0x533774
mov edx, dword [esi + 0x588c]
imul eax, eax, 0x84
cmp dword [eax + edx + 0xc], 0
jg 0x533774
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x2c]
test eax, eax
jle 0x533774
imul eax, eax, 0x84
cmp dword [eax + edx + 8], 0
jg 0x533774
push 0x30
push ebx
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x533774
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 0xc]
sub eax, 1
cmp dword [esp + 0x24], eax
jl 0x533774
mov dword [esp + 0x58], 1
push edi
push esi
call fcn.00573a80
add esp, 8
test eax, eax
je 0x5349cd
fld1
sub esp, 8
fstp qword [esp]
push 1
push 0x5eac90
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eac88
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
cmp dword [esi + 0x6a4], 0
je 0x5337f6
fld qword [0x5eac80]
sub esp, 8
fstp qword [esp]
push 1
push str.ansicpg
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fild dword [esi + 0xa9d4]
sub esp, 8
fstp qword [esp]
push 1
push str.deflang
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.ftnbj
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fld1
sub esp, 8
fstp qword [esp]
push 1
push 0x5eac64
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00530580
add esp, 8
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.0052df30
add esp, 8
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00530c20
add esp, 8
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.0052e560
add esp, 8
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00576fc0
add esp, 8
test eax, eax
je 0x5349cd
test dword [esi + 0xa170], 0x4000
je 0x5338cb
mov eax, dword [esi + 0x4b08]
jmp 0x5338d1
mov eax, dword [esi + 0x4b1c]
cmp eax, 0xffffff
je 0x5338fb
cmp dword [esi + 0x648], 0
je 0x5338e8
cmp eax, 0xc0c0c0
je 0x5338fb
push eax
push edi
push esi
call fcn.00577620
add esp, 0xc
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00575cd0
add esp, 8
test eax, eax
je 0x5349cd
test byte [esi + 0xa178], 1
je 0x533937
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.ssdelcell
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
cmp dword [esp + 0x58], 0
je 0x53395f
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sswholetablerows
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov ecx, dword [esp + 0x18]
push ecx
push esi
call fcn.004aea30
push eax
push edi
push esi
call fcn.00573e00
add esp, 0x14
test eax, eax
je 0x5349cd
fldz
mov eax, dword [edi + 0x414]
sub esp, 8
fstp qword [esp]
push 0
push str.plain
lea edx, [eax + eax*4]
push edi
push esi
mov dword [edi + edx*4 + 0x418], 0xffffffff
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x533146
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
push ebx
push eax
push 0
push 0
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
mov ecx, dword [esi + 0x138]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x2c]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edx
jle 0x533a32
cmp dword [edi + 0x808], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
jne 0x533a29
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
push ecx
push ebx
push edx
push esi
call fcn.004e0ba0
add esp, 0x18
test eax, eax
je 0x533a57
or dword [edi + 0x800], 0x10
jmp 0x533a57
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
push ecx
push ebx
push edx
push esi
call fcn.004e0950
add esp, 0x14
test eax, eax
je 0x533a57
mov dword [esp + 0x40], 0
cmp dword [esp + 0x38], 0
jle 0x533aa8
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x138]
mov edx, dword [eax + ecx*4]
mov ebx, dword [esp + 0x24]
cmp ebx, dword [edx + 0xc]
jne 0x533a83
mov edx, ecx
add edx, 1
cmp edx, dword [esi + 0x5e4]
jge 0x533a83
mov ecx, edx
cmp dword [esp + 0x6c], 0
jne 0x533a9c
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x30]
cmp edx, dword [ecx + 0x30]
je 0x533aa4
mov dword [esp + 0x38], 0
mov ebx, dword [esp + 0x3c]
cmp dword [esi + 0x4b48], 0
jne 0x533abd
mov dword [esi + 0x5b40], 0
jmp 0x533af8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
call fcn.00513300
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push eax
push edx
mov dword [esi + 0x5b40], eax
mov eax, dword [esp + 0x30]
push eax
push ebx
push ecx
push esi
call fcn.004e0ba0
add esp, 0x24
test eax, eax
jne 0x533af8
add dword [esi + 0x5b40], 1
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x5b40]
mov dword [esi + 0x5b3c], edx
mov dword [esp + 0x48], ebx
jg 0x53480d
jmp 0x533b20
mov dword [edi + 0x563c], ebx
mov eax, dword [esi + 0x138]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x14]
mov edx, dword [esi + 0x2b38]
imul ecx, ecx, 0x58
test byte [ecx + edx + 0x2c], 0x80
jne 0x5347fc
cmp dword [edi + 0x808], 0
je 0x533b91
test dword [eax + 0x38], 0x10000000
jne 0x533b91
push 0x20
push ebx
push esi
call fcn.004e08a0
add esp, 0xc
test eax, eax
je 0x5347fc
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
cmp dword [ecx + 0x2c], 0
je 0x533b91
push ebx
push esi
call fcn.005132c0
add esp, 8
cmp eax, dword [esi + 0x5b40]
jg 0x5347fc
mov edx, dword [esi + 0x5b3c]
push ebx
push esi
mov dword [esi + 0x5b38], edx
call fcn.005132c0
mov dword [esi + 0x5b3c], eax
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
add esp, 8
cmp dword [ecx + 0xc], 1
jne 0x533d7d
test dword [ecx + 0x38], 0x1e0000
je 0x533d7d
cmp dword [esi + 0x5b50], 0
jne 0x533d31
lea ecx, [ebx + 2]
cmp ecx, dword [esi + 0x5e4]
jge 0x533c08
mov edx, dword [eax + ecx*4]
test dword [edx + 0x38], 0x1e0000
je 0x533c08
mov eax, dword [eax + ebx*4 + 4]
cmp dword [eax + 0xc], 1
jne 0x533c08
cmp dword [eax + 0x44], 0
jne 0x533c08
mov ebx, ecx
jmp 0x5347fc
push edi
push esi
call fcn.00573730
push edi
push esi
call fcn.00573a80
add esp, 0x10
test eax, eax
je 0x5349cd
mov eax, dword [esi + 0x138]
mov dword [esi + 0x5b50], 0x3000
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 0x38]
test eax, 0x80000
je 0x533c94
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.header
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
cmp dword [esi + 0x740], 0
jle 0x533d22
cmp dword [edi + 0x5638], 0
jne 0x533d22
cmp dword [ebp + 0xc], 2
jge 0x533d22
push 0
push edi
push esi
call fcn.00578e90
add esp, 0xc
jmp 0x533d1a
test eax, 0x100000
je 0x533cbc
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.footer
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
test dword [eax + 0x38], 0x20000
je 0x533cef
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.headerf
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
test dword [edx + 0x38], 0x40000
je 0x533d22
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.footerf
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
or dword [edi + 0x800], 0x8000
jmp 0x5347fc
push 0
push ebx
push 0
push 0
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00573ae0
add esp, 8
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00573730
add esp, 8
mov dword [esi + 0x5b50], 0
mov dword [esp + 0x40], 0xffffffff
jmp 0x5347fc
cmp dword [esi + 0x5b50], 0
jne 0x533db2
cmp dword [esi + 0x740], 0
jle 0x533db2
cmp dword [edi + 0x5638], 0
jne 0x533db2
cmp dword [ebp + 0xc], 2
jge 0x533db2
push 1
push edi
push esi
call fcn.00578e90
add esp, 0xc
test eax, eax
je 0x5349cd
mov eax, dword [esi + 0x138]
mov eax, dword [eax + ebx*4]
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
jne 0x533dd6
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], edx
cmp ebx, dword [esp + 0x1c]
jne 0x533de4
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x6c], ecx
jne 0x533ded
mov ecx, dword [eax + 0x30]
mov edx, dword [esp + 0x40]
cmp dword [eax + 0x14], edx
mov dword [esp + 0x50], ecx
jne 0x533e18
mov edx, dword [esp + 0x44]
cmp dword [eax + 0x2c], edx
jne 0x533e18
cmp ecx, dword [esp + 0x38]
jne 0x533e18
mov eax, dword [esp + 0x70]
add eax, 1
cmp ebx, eax
jne 0x533eac
push 0
push ebx
push esi
call fcn.004a0bf0
push eax
push edi
push esi
call fcn.005748c0
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + ebx*4]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
push ebx
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x14]
push edx
mov edx, dword [esp + 0x68]
push ecx
push edx
push eax
push edi
push esi
call fcn.005323c0
add esp, 0x3c
test eax, eax
je 0x5349cd
mov ecx, dword [esi + 0x138]
mov eax, dword [ecx + ebx*4]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x414]
mov dword [esp + 0x40], edx
lea edx, [eax + eax*4]
cmp dword [edi + edx*4 + 0x420], 0
mov dword [esp + 0x38], ecx
jne 0x533eac
push 0
push ebx
push 0
push 0
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x34], eax
jge 0x5347cf
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx]
push ebx
push esi
mov dword [esp + 0x38], eax
call fcn.004ad140
mov ecx, dword [esp + 0x3c]
movzx edx, word [eax + ecx*2]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 4]
add esp, 8
test eax, eax
mov dword [esp + 0x20], edx
je 0x533eff
cmp byte [eax], 0
je 0x533eff
mov eax, 1
jmp 0x533f01
xor eax, eax
mov dword [edi + 0x80c], eax
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
test dword [eax + 0x3c], 0x200
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], 0
je 0x533f43
test eax, eax
jle 0x533f43
lea ecx, [eax - 1]
cmp ecx, dword [esp + 0x34]
jle 0x533f43
mov edx, dword [esp + 0x30]
cmp byte [eax + edx - 1], 6
jne 0x533f43
mov eax, ecx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x34]
cmp edx, eax
mov dword [esp + 0x14], edx
jg 0x5347c5
jmp 0x533f64
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx + 4]
test eax, eax
je 0x533f82
cmp byte [eax + edx], 0
mov dword [esp + 0x64], 1
jne 0x533f8a
mov dword [esp + 0x64], 0
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x5340f3
cmp edx, dword [esp + 0x2c]
jge 0x5340f3
movzx eax, word [ecx + edx*2]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x533fc2
cmp edx, dword [esp + 0x34]
jne 0x533fc2
mov ecx, eax
push ecx
push edi
push esi
call fcn.005768f0
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, dword [esp + 0x2c]
jge 0x534019
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x3434]
imul ecx, ecx, 0x170
cmp dword [ecx + eax + 0x144], 6
jne 0x534019
mov ecx, dword [esp + 0x60]
movzx ecx, word [ecx + edx*2]
imul ecx, ecx, 0x170
add eax, ecx
cmp dword [eax + 0x144], 6
jne 0x534019
test dword [eax + 0x134], 0x200
je 0x534019
mov eax, dword [esp + 0x30]
cmp byte [edx + eax], 0x7b
mov dword [esp + 0x58], 1
je 0x534021
mov dword [esp + 0x58], 0
cmp edx, dword [esp + 0x2c]
je 0x534096
mov ecx, dword [esp + 0x60]
movzx ecx, word [ecx + edx*2]
cmp cx, word [esp + 0x20]
jne 0x534096
mov eax, dword [esp + 0x64]
cmp eax, dword [edi + 0x80c]
jne 0x534096
mov eax, dword [esp + 0x30]
mov al, byte [edx + eax]
cmp al, byte [esi + 0xb50]
je 0x534096
cmp al, byte [esi + 0x58b4]
je 0x534096
cmp al, 0xf
je 0x534096
cmp al, 0x12
je 0x534096
cmp al, 0x14
je 0x534096
mov eax, dword [esi + 0x3434]
movzx ecx, cx
imul ecx, ecx, 0x170
test byte [ecx + eax + 0x134], 0x80
jne 0x534096
cmp dword [esp + 0x4c], 0
je 0x53408b
cmp edx, dword [esp + 0x34]
jg 0x534096
cmp dword [esp + 0x58], 0
je 0x5341e6
mov eax, dword [esp + 0x20]
imul eax, eax, 0x170
mov ecx, edx
mov edx, dword [esi + 0x3434]
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
add eax, edx
cmp dword [eax + 0x144], 6
mov dword [esp + 0x5c], ecx
jne 0x534100
test dword [eax + 0x134], 0x200
je 0x534100
mov eax, dword [esp + 0x30]
cmp byte [ecx + eax], 0x7b
jne 0x5340e1
sub dword [esp + 0x28], 1
add ecx, 1
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x14]
cmp byte [edx + eax - 1], 0x7d
jne 0x534104
sub dword [esp + 0x28], 1
jmp 0x534104
mov dword [esp + 0x4c], 0
jmp 0x533fc2
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x58], 0
je 0x534132
test dword [edi + 0x800], 0x200
je 0x534132
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push ebx
push ecx
push 6
push edi
push esi
call fcn.0052c920
mov edx, dword [esp + 0x2c]
add esp, 0x18
cmp dword [esp + 0x28], 0
jle 0x5341d4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push ebx
push 0
push eax
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
test dword [edi + 0x800], 0x100
jne 0x5341c6
cmp dword [edi + 0x5640], 0
jg 0x5341c6
mov ecx, dword [esi + 0x138]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 4]
test eax, eax
je 0x534189
mov ecx, dword [esp + 0x5c]
add eax, ecx
jmp 0x53418b
xor eax, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esi + 0x3434]
push ecx
mov ecx, dword [esp + 0x5c]
movzx edx, word [ecx + edx + 0x160]
mov ecx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x6c]
add eax, ecx
push eax
push edi
push esi
call fcn.00576ba0
add esp, 0x1c
test eax, eax
je 0x5349cd
and dword [edi + 0x800], 0xfffffbff
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x2c]
je 0x5347c5
mov dword [esp + 0x28], 0
cmp dword [esp + 0x4c], 0
je 0x534206
cmp edx, dword [esp + 0x34]
jle 0x534206
mov edx, dword [esp + 0x4c]
push edx
push edi
push esi
call fcn.005768f0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x60]
movzx ecx, word [eax + edx*2]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
imul ecx, ecx, 0x170
mov dword [edi + 0x80c], eax
mov eax, dword [esi + 0x3434]
test byte [ecx + eax + 0x134], 0x80
mov dword [esp + 0x54], ecx
je 0x534339
cmp dword [ecx + eax + 0x144], 2
jne 0x534298
mov edx, dword [ecx + eax + 0xa4]
mov ecx, dword [edx + 0x884]
mov ebx, ecx
imul ebx, ebx, 0x170
mov edx, dword [ebx + eax + 0x34]
mov dword [ebx + eax + 0x34], 0xffffff
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x4c]
push edx
push 0
push ecx
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esi + 0x3434]
mov ecx, dword [esp + 0x64]
mov dword [ebx + eax + 0x34], ecx
jmp 0x5342b7
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push ebx
push 0
push eax
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
cmp dword [ebp + 0xc], 4
jne 0x5342da
fild dword [esp + 0x20]
sub esp, 8
fstp qword [esp]
push 1
push str.subpictid
push edi
push esi
call fcn.00573960
add esp, 0x18
jmp 0x534328
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x54]
cmp dword [edx + ecx + 0xc4], 0
lea eax, [edx + ecx]
jle 0x5342ff
mov eax, dword [esp + 0x20]
push eax
push edi
push esi
call fcn.00578180
jmp 0x534325
mov eax, dword [eax + 0x64]
test eax, eax
je 0x534319
cmp eax, 3
je 0x534319
mov ecx, dword [esp + 0x20]
push ecx
push edi
push esi
call fcn.00577ea0
jmp 0x534325
mov edx, dword [esp + 0x20]
push edx
push edi
push esi
call fcn.00577c20
add esp, 0xc
test eax, eax
je 0x5349cd
mov ebx, dword [esp + 0x48]
jmp 0x5347b0
mov eax, dword [esp + 0x30]
mov dl, byte [edx + eax]
cmp dl, byte [esi + 0xb50]
jne 0x53440d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push ebx
push 0
push edx
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x38]
test eax, eax
je 0x534389
mov ecx, dword [esi + 0x72c]
imul eax, eax, 0x98
test dword [eax + ecx + 0x28], 0x300
jne 0x5343fe
test dword [edi + 0x800], 0x100
jne 0x5343fe
cmp dword [edi + 0x814], 0
je 0x5343d3
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x14]
push ecx
push edx
push 0
push eax
push edi
push esi
call fcn.005323c0
add esp, 0x24
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
mov dword [edi + 0x814], 0
push 0
push 0x5ea5d8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov dword [edi + 0x810], 1
jmp 0x5347b0
cmp dl, byte [esi + 0x58b4]
je 0x5345d7
cmp dl, 0xf
je 0x5345d7
cmp dl, 0x12
jne 0x53450a
mov ecx, dword [esp + 0x48]
push ecx
push esi
call fcn.005132c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push edx
mov ebx, eax
mov eax, dword [esp + 0x54]
push eax
push 0
push ecx
push edi
push esi
call fcn.00530e20
add esp, 0x20
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.intbl
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esi + 0x5b40]
sub esp, 8
cmp ebx, eax
jne 0x5344ce
fldz
fstp qword [esp]
push 0
push 0x5eac14
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
push edi
push esi
call fcn.00573730
mov ebx, dword [esp + 0x50]
add esp, 8
mov dword [esi + 0x5b44], 0
and dword [edi + 0x800], 0xfffffbff
jmp 0x5347b0
sub ebx, eax
add ebx, 1
mov dword [esp + 0x6c], ebx
fild dword [esp + 0x6c]
fstp qword [esp]
push 1
push str.itap
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
and dword [edi + 0x800], 0xfffffbff
mov ebx, dword [esp + 0x48]
jmp 0x5347b0
cmp dl, 0x14
jne 0x5345cd
mov edx, dword [esi + 0x138]
mov eax, dword [edx + ebx*4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5347b0
test byte [eax], 2
je 0x5347b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push ecx
push ebx
push 1
push edx
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
cmp ebx, dword [esp + 0x18]
jle 0x534586
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + ebx*4 - 4]
cmp dword [ecx + 0x2c], 0
jle 0x534586
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.pard
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sect
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
lea edx, [ebx + 1]
push edx
push esi
call fcn.004aea30
push eax
push edi
push esi
call fcn.00573e00
add esp, 0x14
test eax, eax
je 0x5349cd
mov dword [esp + 0x70], ebx
jmp 0x5347b0
add dword [esp + 0x28], 1
jmp 0x5347b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push eax
push ebx
push 0
push ecx
push edi
push esi
call fcn.00530e20
add esp, 0x18
test eax, eax
je 0x5349cd
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov cl, byte [eax + edx]
cmp cl, byte [esi + 0x58b4]
jne 0x534737
mov edx, dword [esi + 0x138]
mov ecx, dword [edx + ebx*4]
lea eax, [edx + ebx*4]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x588c]
imul edx, edx, 0x84
add ecx, edx
cmp dword [edi + 0x814], 0
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
je 0x53466f
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax]
push ebx
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x14]
push ecx
push 0
push edx
push edi
push esi
call fcn.005323c0
add esp, 0x24
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x814], 0
cmp eax, dword [esi + 0x5b40]
mov dword [esp + 0x64], str.cell
je 0x534695
mov dword [esp + 0x64], str.nestcell
fldz
mov ecx, dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push 0
push ecx
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov edx, dword [esp + 0x5c]
cmp edx, dword [esi + 0x5b40]
jne 0x534719
cmp dword [esp + 0x58], 1
jle 0x534723
lea esp, [esp]
fldz
mov eax, dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push 0
push eax
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esi + 0x5b40]
jle 0x534707
push edi
push esi
call fcn.0052db30
add esp, 8
mov eax, dword [esp + 0x58]
sub eax, 1
cmp eax, 1
mov dword [esp + 0x58], eax
jg 0x5346d0
jmp 0x534723
push edi
push esi
call fcn.0052db30
add esp, 8
or dword [edi + 0x800], 0x400
push edi
push esi
call fcn.00573730
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp byte [edx + eax], 0xf
jne 0x534781
mov ecx, dword [esi + 0x3434]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + ecx + 0x16c]
test eax, eax
mov dword [esp + 0x64], eax
jle 0x534781
fild dword [esp + 0x64]
sub esp, 8
fstp qword [esp]
push 1
push 0x5eabf4
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
cmp byte [eax + ecx], 0xf
jne 0x5347b0
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.line
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
jle 0x533f60
push ebx
push esi
call fcn.004ad1d0
add esp, 8
cmp dword [esi + 0x14], 0
jne 0x5347fc
cmp ebx, dword [esp + 0x1c]
jge 0x5347fc
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5ea5d8
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
add ebx, 1
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x48], ebx
jle 0x533b20
cmp dword [esi + 0x5b44], 0
je 0x5349a1
test byte [esi + 0xa178], 1
je 0x534844
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.sstblend
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
push 0
push ebx
push esi
call fcn.004a0bf0
push eax
push edi
push esi
call fcn.005748c0
mov eax, dword [esi + 0x5b3c]
add esp, 0x18
cmp eax, dword [esi + 0x5b40]
mov dword [esp + 0x54], eax
jle 0x53493e
mov edi, edi
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.intbl
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov edx, dword [esp + 0x54]
sub edx, dword [esi + 0x5b40]
sub esp, 8
add edx, 1
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fstp qword [esp]
push 1
push str.itap
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
xor eax, eax
cmp dword [edi + 0x800], eax
sete al
test eax, 0x400
je 0x5348f8
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.nestcell
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x54]
push eax
push ebx
push eax
push esi
call fcn.00513250
add esp, 0xc
push eax
push 0
push edi
push esi
call fcn.00531a80
add esp, 0x14
test eax, eax
je 0x5349cd
mov eax, dword [esp + 0x54]
and dword [edi + 0x800], 0xfffffbff
sub eax, 1
cmp eax, dword [esi + 0x5b40]
mov dword [esp + 0x54], eax
jg 0x534870
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.intbl
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
test dword [edi + 0x800], 0x400
jne 0x534984
fldz
sub esp, 8
fstp qword [esp]
push 0
push str.cell
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
fldz
sub esp, 8
fstp qword [esp]
push 0
push 0x5eac14
push edi
push esi
call fcn.00573960
add esp, 0x18
test eax, eax
je 0x5349cd
mov ebx, dword [edi + 0x414]
test ebx, ebx
jle 0x5349c5
jmp 0x5349b0
push edi
push esi
call fcn.00573ae0
add esp, 8
test eax, eax
je 0x5349cd
sub ebx, 1
test ebx, ebx
jg 0x5349b0
mov dword [esp + 0x78], 1
push edi
push esi
call fcn.00573730
mov eax, dword [ebp + 0xc]
add esp, 8
test eax, eax
jne 0x5349ff
mov ecx, dword [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x39c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x534b19
cmp eax, 1
jne 0x534a33
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x534a1c
cmp eax, dword [edi + 8]
je 0x534a1c
push eax
call fcn.005ac656
add esp, 4
mov ecx, dword [edi + 8]
mov dword [esi + 0xd0], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0xd4], edx
jmp 0x534b19
cmp eax, 2
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 8]
mov byte [ecx + edx], 0
jne 0x534b07
mov eax, dword [edi + 0x10]
add eax, 1
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x534a8f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x534a8f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 8]
push ecx
push edx
push eax
call fcn.005ab7b0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0x4710]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push 6
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x70], eax
je 0x534af4
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x534af4
push 6
push 0
push ebx
call fcn.004e28a0
mov word [ebx], 6
mov dx, word [esi + 0x590]
mov word [ebx + 2], dx
mov ax, word [esi + 0x6ac]
mov word [ebx + 4], ax
mov ebx, dword [esp + 0x7c]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esi + 0x4714]
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, 1
mov dword [esi + 0x590], eax
mov dword [esi + 0x6ac], eax
jmp 0x534b19
mov edx, dword [edi + 8]
mov dword [esi + 0x2c08], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x2c0c], eax
push edi
call fcn.004e2860
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004e2860
mov eax, dword [esp + 0x7c]
xor edi, edi
add esp, 8
cmp eax, edi
je 0x534b40
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x534b4c
cmp eax, 1
jne 0x534b58
mov dword [esi + 0x39f4], edi
mov dword [esi + 0x114], edi
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret