Function at 0x4e4650
Capabilities:
Delete file
Encrypt data using rc4 ksa
Get common file path
Print debug messages
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x648128]
sub esp, 0x998
push edi
xor edi, edi
cmp eax, edi
je 0x4e5740
cmp dword [eax + 0x20], 1
jl 0x4e5740
lea eax, [esp + 0x94]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x4e5735
lea ecx, [esp + 0x94]
lea edx, [esp + 0x94]
push ecx
push edi
push str.TxSnp
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x4e5735
push ebx
push ebp
push esi
lea eax, [esp + 0xa0]
push 0x62fe84
push eax
call fcn.004f600d
mov ecx, dword [0x648128]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov edx, dword [ecx + 0x20]
shl edx, 2
push edx
call fcn.004f5323
mov ecx, dword [0x648128]
add esp, 0xc
mov ebp, eax
xor edx, edx
mov esi, dword [ecx + 0x20]
mov dword [esp + 0x18], ebp
cmp esi, edi
lea eax, [ecx + 0x4c]
jle 0x4e471a
mov esi, ebp
xor ecx, ecx
mov dword [esi], eax
mov cx, word [eax]
add esi, 4
lea ecx, [ecx + ecx + 3]
shr ecx, 2
inc edx
lea eax, [eax + ecx*4 + 0x70]
mov ecx, dword [0x648128]
cmp edx, dword [ecx + 0x20]
jl 0x4e46f9
mov edx, dword [ecx + 0x20]
push 0x4e3e90
push 4
push edx
push ebp
call fcn.004f6710
mov eax, dword [0x648128]
add esp, 0x10
mov esi, dword [eax + 0x20]
xor eax, eax
cmp esi, edi
mov dword [esp + 0x30], esi
jle 0x4e475d
mov ecx, ebp
mov edx, dword [ecx]
cmp dword [edx + 8], 0x895440
jge 0x4e4757
inc eax
add ecx, 4
cmp eax, esi
jl 0x4e4742
jmp 0x4e475d
mov esi, eax
mov dword [esp + 0x30], esi
push 0x100
call fcn.004f5323
push ebx
push str._rtf1_ansi_ansicpg1252deff0deflang1033
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], 0x100
mov dword [esp + 0x58], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0xa0], edi
call fcn.004f9a90
add esp, 0xc
push 0x621050
push ebx
call fcn.004f69ba
shl esi, 5
push esi
mov dword [esp + 0x60], 1
call fcn.004f5323
mov esi, eax
mov eax, dword [ebp]
mov dword [esp + 0x70], esi
add esi, 4
add eax, 0x48
push ebx
push str._fonttbl_
mov dword [esp + 0x54], eax
mov dword [esi], eax
call fcn.004f9a90
add esp, 0x14
push str._f1
push ebx
call fcn.004f69ba
mov eax, dword [ebp]
add esp, 8
mov al, byte [eax + 0x3f]
and eax, 0xf0
cmp eax, 0x50
ja case.0x4e4803.6
xor ecx, ecx
mov cl, byte [eax + 0x4e5768]
jmp dword [ecx*4 + 0x4e574c]
push str._fdecor
jmp 0x4e4832
push str._fnil
jmp 0x4e4832
push str._fmodern
jmp 0x4e4832
push str._fRoman
jmp 0x4e4832
push str._fscript
jmp 0x4e4832
push str._fswiss
push ebx
call fcn.004f69ba
add esp, 8
mov eax, dword [ebp]
xor ecx, ecx
mov cl, byte [eax + 0x40]
lea edx, [eax + 0x48]
push edx
push ecx
push str._fcharset_d__s_
push ebx
call fcn.004f69ba
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x5b8]
add esp, 0x10
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4e49e7
mov edi, ebp
mov edx, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], edx
mov eax, dword [edi]
mov esi, dword [esp + 0x40]
lea ebp, [eax + 0x48]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4e48b1
test cl, cl
je 0x4e48ad
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4e48b1
add eax, 2
add esi, 2
test cl, cl
jne 0x4e488d
xor eax, eax
jmp 0x4e48b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e49d1
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], 0
cmp eax, 1
jl 0x4e493a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x54]
add eax, 4
mov dword [esp + 0x24], ecx
mov edi, eax
mov esi, dword [edi]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4e4908
test cl, cl
je 0x4e4904
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4e4908
add eax, 2
add esi, 2
test cl, cl
jne 0x4e48e4
xor eax, eax
jmp 0x4e490d
sbb eax, eax
sbb eax, 0xffffffff
cdq
xor eax, edx
sub eax, edx
jne 0x4e491c
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x24]
add edi, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x4e48e0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
test eax, eax
jne 0x4e49d1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
add eax, 4
inc ecx
mov dword [esp + 0x38], eax
push ecx
mov dword [eax], ebp
mov eax, dword [edi]
add eax, 0x48
push str._f_d
push ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x4c], eax
call fcn.004f69ba
mov eax, dword [edi]
add esp, 0xc
mov al, byte [eax + 0x3f]
and eax, 0xf0
cmp eax, 0x50
ja case.0x4e497f.6
xor ecx, ecx
mov cl, byte [eax + 0x4e57d8]
jmp dword [ecx*4 + 0x4e57bc]
push str._fdecor
jmp 0x4e49ae
push str._fnil
jmp 0x4e49ae
push str._fmodern
jmp 0x4e49ae
push str._fRoman
jmp 0x4e49ae
push str._fscript
jmp 0x4e49ae
push str._fswiss
push ebx
call fcn.004f69ba
add esp, 8
mov eax, dword [edi]
xor ecx, ecx
mov cl, byte [eax + 0x40]
lea edx, [eax + 0x48]
push edx
push ecx
push str._fcharset_d__s_
push ebx
call fcn.004f69ba
add esp, 0x10
mov eax, dword [esp + 0x44]
add edi, 4
dec eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x44], eax
jne 0x4e4882
push ebx
push 0x62fdec
call fcn.004f9a90
mov edx, dword [esp + 0x38]
mov edi, 1
mov dword [esp + 0x8c], edi
lea eax, [edx*8]
push eax
call fcn.004f5323
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
add esp, 0xc
mov dword [esp + 0x2c], 0
mov ecx, dword [edx]
mov ebp, dword [ecx + 0x44]
lea ecx, [eax + 4]
mov dword [ecx], ebp
mov esi, dword [edx]
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x4e4a3f
mov edx, edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 0x45]
shr eax, 0x10
and eax, 0xff
and edx, 0xff
add eax, edx
xor edx, edx
mov dl, byte [esi + 0x44]
add eax, edx
cmp eax, 0x28a
jle 0x4e4a77
mov eax, 1
mov dword [ecx], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x4e4b3c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
cmp esi, ebp
je 0x4e4b1b
mov edx, esi
xor ebx, ebx
mov bl, byte [eax + 0x45]
shr edx, 0x10
and edx, 0xff
and ebx, 0xff
add edx, ebx
xor ebx, ebx
mov bl, byte [eax + 0x44]
add edx, ebx
cmp edx, 0x28a
jle 0x4e4ae5
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4e4b17
add ecx, 4
inc edi
xor ebp, ebp
mov dword [esp + 0x44], edi
mov dword [ecx], 0
mov dword [esp + 0x2c], 1
jmp 0x4e4b17
xor ebx, ebx
cmp edi, 1
jl 0x4e4b08
mov eax, dword [esp + 0x48]
mov edx, edi
add eax, 4
cmp esi, dword [eax]
jne 0x4e4afe
mov ebx, 1
add eax, 4
dec edx
jne 0x4e4af5
test ebx, ebx
jne 0x4e4b17
mov edx, dword [esp + 0x14]
inc edi
add ecx, 4
mov dword [ecx], esi
mov eax, dword [edx]
mov ebp, dword [eax + 0x44]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add edx, 4
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
jne 0x4e4a8f
mov dword [esp + 0x84], edi
push ebx
push str.colortbl_
call fcn.004f9a90
add esp, 8
cmp edi, 1
jl 0x4e4b86
mov ecx, dword [esp + 0x48]
lea esi, [ecx + 4]
mov edx, dword [esi]
xor eax, eax
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, byte [esi]
and eax, 0xff
shr edx, 0x10
and edx, 0xff
push edx
push eax
push ecx
push str._red_dgreen_d_blue_d_
push ebx
call fcn.004f69ba
add esp, 0x14
add esi, 4
dec edi
jne 0x4e4b56
push ebx
push str.uc1_r_n
call fcn.004f9a90
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
add esp, 8
mov edx, dword [ebp]
test ebx, ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
jle 0x4e4bc3
mov ecx, ebp
mov esi, ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp eax, edx
jge 0x4e4bb9
mov edx, eax
add ecx, 4
dec esi
jne 0x4e4bae
mov dword [esp + 0x38], edx
push 4
push ebx
call fcn.004f5c63
mov edi, 1
add esp, 8
cmp ebx, edi
mov dword [esp + 0x90], eax
mov dword [eax], 0
mov dword [esp + 0x2c], edi
jle 0x4e4c53
add eax, 4
lea esi, [ebp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esi - 4]
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ebp, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov ecx, dword [ecx + 0xc]
sub eax, ebp
cmp edx, ecx
mov dword [esp + 0x24], edx
jl 0x4e4c11
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
cdq
fmul qword [0x5e87d0]
mov ebp, eax
xor ebp, edx
fadd qword [0x5dc8f0]
sub ebp, edx
call fcn.004f6200
cmp ebp, eax
jle 0x4e4c47
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
inc edx
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
inc edi
add esi, 4
cmp edi, ebx
jl 0x4e4bf2
mov ebp, dword [esp + 0x18]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [esp + 0x88], eax
call edi
push esi
xor esi, esi
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp]
fild dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
sub ecx, edx
fstp qword [esp + 0x98]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul qword [0x5e87d8]
fdiv qword [esp + 0x98]
fadd qword [0x5dc8f0]
call fcn.004f6200
cmp ebx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x14], esi
jle 0x4e5674
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x4e4d2b
mov esi, dword [esp + 0x10]
push 0x62fdbc
push esi
call fcn.004f69ba
mov edx, dword [esp + 0x20]
add esp, 8
mov eax, dword [edx]
push str.cf1
add eax, 0x48
push esi
mov dword [esp + 0x74], eax
call fcn.004f69ba
mov edx, dword [esp + 0x50]
add esp, 8
lea eax, [edx + 4]
mov eax, dword [edx + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
push eax
push str._fs_d
push esi
call fcn.004f69ba
add esp, 0xc
jmp 0x4e4e93
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x6c]
mov eax, dword [eax + edi*4]
add eax, 0x48
mov dl, byte [esi]
mov bl, byte [eax]
mov cl, dl
cmp dl, bl
jne 0x4e4d61
test cl, cl
je 0x4e4d5d
mov dl, byte [esi + 1]
mov bl, byte [eax + 1]
mov cl, dl
cmp dl, bl
jne 0x4e4d61
add esi, 2
add eax, 2
test cl, cl
jne 0x4e4d39
xor eax, eax
jmp 0x4e4d66
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4e4de2
mov ebx, dword [esp + 0x54]
mov ebp, 1
cmp ebx, ebp
jl 0x4e4de2
mov eax, dword [esp + 0x64]
add eax, 4
mov edi, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov esi, dword [edi]
mov eax, dword [ecx + edx*4]
add eax, 0x48
mov dl, byte [esi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4e4db4
test cl, cl
je 0x4e4db0
mov dl, byte [esi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4e4db4
add esi, 2
add eax, 2
test cl, cl
jne 0x4e4d90
xor eax, eax
jmp 0x4e4db9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e4dd6
mov eax, dword [esp + 0x10]
push ebp
push 0x62fda4
push eax
call fcn.004f69ba
mov ecx, dword [edi]
add esp, 0xc
mov dword [esp + 0x6c], ecx
inc ebp
add edi, 4
cmp ebp, ebx
jle 0x4e4d80
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x60]
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx + 0x44]
cmp esi, eax
je 0x4e4e3f
xor edx, edx
mov dl, byte [ecx + 0x45]
shr eax, 0x10
and edx, 0xff
and eax, 0xff
add edx, eax
xor eax, eax
mov al, byte [ecx + 0x44]
add edx, eax
cmp edx, 0x28a
jle 0x4e4f49
test esi, esi
je 0x4e4e3f
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
push ecx
push str.cf_d
push edx
call fcn.004f69ba
add esp, 0xc
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
sub ecx, edx
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul qword [0x5e87d8]
fdiv qword [esp + 0x98]
fadd qword [0x5dc8f0]
call fcn.004f6200
mov esi, eax
mov eax, dword [esp + 0x40]
cmp esi, eax
je 0x4e4e93
mov edx, dword [esp + 0x10]
push esi
push str._fs_d
push edx
call fcn.004f69ba
add esp, 0xc
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x4e525a
mov eax, dword [esp + 0x90]
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [edx]
jne 0x4e50ed
mov eax, dword [esp + 0x18]
mov ebx, ecx
mov edx, dword [esp + 0x38]
xor esi, esi
mov ecx, dword [eax + ebx*4]
lea ebp, [eax + ebx*4]
lea edi, [esp + 0x1a8]
mov eax, dword [ecx + 4]
mov si, word [ecx + 0x68]
sub eax, edx
mov ecx, 0x100
mov dword [esp + 0x1c], eax
lea eax, [eax + eax*4]
shl eax, 1
cdq
idiv esi
xor esi, esi
mov edx, eax
xor eax, eax
test edx, edx
mov dword [esp + 0x50], edx
rep stosd dword es:[edi], eax
jle 0x4e4f33
fild dword [esp + 0x1c]
fmul qword [0x5df6f0]
fidiv dword [esp + 0x80]
fmul qword [0x5e12d0]
fadd qword [0x5dc8f0]
call fcn.004f6200
mov dword [esp + 0x1a8], eax
mov esi, 1
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
dec ecx
cmp eax, ecx
jge 0x4e4f9c
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
jmp 0x4e4fa0
mov ebx, dword [esp + 0x84]
mov edi, 1
cmp ebx, edi
jl 0x4e4e3f
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x14]
lea esi, [eax + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [ecx + ebp*4]
cmp eax, dword [edx + 0x44]
jne 0x4e4f8f
mov ecx, dword [esp + 0x10]
push edi
push str.cf_d
push ecx
call fcn.004f69ba
mov edx, dword [esi]
add esp, 0xc
mov dword [esp + 0x60], edx
inc edi
add esi, 4
cmp edi, ebx
jle 0x4e4f68
jmp 0x4e4e3f
mov eax, dword [esp + 0x30]
dec eax
cmp ebx, eax
jge 0x4e5032
mov ecx, dword [esp + 0x14]
lea ebx, [esp + esi*4 + 0x1a8]
sub eax, ecx
mov edi, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [eax + 4]
xor eax, eax
mov ax, word [edx + 2]
mov ebp, eax
mov eax, ecx
sub eax, ebp
mov ebp, dword [edx + 4]
sub eax, ebp
test eax, eax
jle 0x4e5024
lea eax, [eax + eax*4]
xor ebp, ebp
mov bp, word [edx + 0x68]
shl eax, 1
cdq
idiv ebp
cmp eax, 1
jle 0x4e5024
cmp esi, 0xff
jge 0x4e5024
sub ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
fild dword [esp + 0x68]
fmul qword [0x5df6f0]
fidiv dword [esp + 0x80]
fmul qword [0x5e12d0]
fadd qword [0x5dc8f0]
call fcn.004f6200
mov dword [ebx], eax
inc esi
add ebx, 4
mov eax, dword [esp + 0x1c]
add edi, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x4e4fbc
test esi, esi
je 0x4e5089
xor eax, eax
test esi, esi
jle 0x4e5089
mov ecx, dword [esp + eax*4 + 0x1a8]
mov edx, dword [esp + eax*4 + 0x5a8]
cmp ecx, edx
jne 0x4e5055
inc eax
cmp eax, esi
jl 0x4e503c
jmp 0x4e5089
cmp eax, esi
jge 0x4e5089
mov ebx, dword [esp + 0x10]
push str.pard
push ebx
call fcn.004f69ba
add esp, 8
lea edi, [esp + 0x1a8]
mov edx, dword [edi]
push edx
push str._tx_d
push ebx
call fcn.004f69ba
add esp, 0xc
add edi, 4
dec esi
jne 0x4e5072
mov eax, dword [esp + 0x9ac]
mov ecx, 0x100
lea esi, [esp + 0x1a8]
lea edi, [esp + 0x5a8]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jne 0x4e50ed
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4e50ed
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 1
test eax, eax
je 0x4e50db
mov eax, dword [esp + 0x10]
push eax
push str.ul0
call fcn.004f9a90
add esp, 8
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
push str._tab
push ecx
call fcn.004f69ba
add esp, 8
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], edx
jl 0x4e4eb2
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, dword [esi + edi*4]
mov ecx, dword [esp + 0x8c]
xor eax, eax
mov al, byte [edx + 0x3c]
cmp ecx, eax
je 0x4e5150
mov dword [esp + 0x8c], eax
test eax, eax
mov eax, 0x63df70
jne 0x4e5141
mov eax, 0x61d9f0
push eax
push str.i_s
push ebx
call fcn.004f69ba
add esp, 0xc
mov eax, dword [esi + edi*4]
xor ecx, ecx
mov cl, byte [eax + 0x3d]
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, eax
je 0x4e5183
mov dword [esp + 0x28], eax
test eax, eax
mov eax, 0x63df70
jne 0x4e5174
mov eax, 0x61d9f0
push eax
push str.ul_s
push ebx
call fcn.004f69ba
add esp, 0xc
mov edx, dword [esi + edi*4]
mov ecx, dword [esp + 0x88]
xor eax, eax
mov al, byte [edx + 0x3e]
cmp ecx, eax
je 0x4e51ba
mov dword [esp + 0x88], eax
test eax, eax
mov eax, 0x63df70
jne 0x4e51ab
mov eax, 0x61d9f0
push eax
push str._strike_s
push ebx
call fcn.004f69ba
add esp, 0xc
mov eax, dword [esi + edi*4]
xor ecx, ecx
cmp dword [eax + 0x28], 0x258
setg cl
mov eax, ecx
mov ecx, dword [esp + 0x94]
cmp ecx, eax
je 0x4e51fa
mov dword [esp + 0x94], eax
test eax, eax
mov eax, 0x63df70
jne 0x4e51eb
mov eax, 0x61d9f0
push eax
push str._b_s
push ebx
call fcn.004f69ba
add esp, 0xc
mov eax, dword [esi + edi*4]
lea edx, [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x34], 0
mov cx, word [eax]
push edx
push 0x62fd54
push 0
inc ecx
push 0
add eax, 0x6c
push ecx
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [esp + 0x58]
mov esi, eax
cmp ebx, esi
jg 0x4e526b
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x100]
push ebx
push edx
mov dword [esp + 0x60], ebx
call fcn.004f4ff4
mov ebp, eax
add esp, 8
mov dword [esp + 0x3c], ebp
jmp 0x4e526f
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
jmp 0x4e5119
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
xor ecx, ecx
cmp eax, ecx
jne 0x4e532c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor edx, edx
push 0
mov eax, dword [eax + ecx*4]
push 0
push esi
push ebp
mov dx, word [eax]
add eax, 0x6c
inc edx
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov byte [esi + ebp - 1], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
cmp ebx, eax
jg 0x4e52e5
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
push eax
push ebp
mov dword [esp + 0x60], eax
call fcn.004f4ff4
mov ebp, eax
add esp, 8
mov dword [esp + 0x3c], ebp
mov al, byte [ebp]
mov esi, ebp
test al, al
je 0x4e5323
lea ebx, [ebp + 1]
mov al, byte [esi]
cmp al, 0x5c
je 0x4e52ff
cmp al, 0x7d
je 0x4e52ff
cmp al, 0x7b
jne 0x4e531a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push ebx
call fcn.004f5580
add esp, 0xc
mov byte [esi], 0x5c
inc esi
inc ebx
mov al, byte [esi + 1]
inc esi
inc ebx
test al, al
jne 0x4e52f1
mov edi, dword [esp + 0x14]
jmp 0x4e54bc
mov edx, dword [esp + 0x18]
mov byte [ebp], 0
mov word [esp + 0x26], cx
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + edi*4]
cmp word [eax], cx
jbe 0x4e54bc
mov dword [esp + 0x20], 0x6c
mov ecx, dword [esp + 0x20]
mov dx, word [ecx + eax]
xor eax, eax
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], eax
mov word [esp + 0x24], dx
mov dword [esp + 0x78], eax
push ecx
push 0x62fd54
lea edx, [esp + 0x78]
mov dword [esp + 0x84], eax
push 0x10
push edx
lea eax, [esp + 0x34]
push 1
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4e548c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e53cc
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
and ecx, 0xffff
push ecx
push str.u_d_
push edx
call fcn.004f58b5
add esp, 0xc
jmp 0x4e541c
movsx eax, byte [esp + 0x70]
sub eax, 0x5c
je 0x4e53f6
sub eax, 0x1f
je 0x4e53eb
sub eax, 2
jne 0x4e541c
lea edx, [esp + 0x70]
mov edi, 0x62fd48
jmp 0x4e53ff
lea edx, [esp + 0x70]
mov edi, 0x62fd44
jmp 0x4e53ff
lea edx, [esp + 0x70]
mov edi, 0x61f34c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebp
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 1]
cmp ebx, eax
jg 0x4e545f
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebx + ecx + 0x100]
push ebx
push ebp
call fcn.004f4ff4
add esp, 8
mov ebp, eax
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 2
xor edx, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
inc ecx
mov eax, dword [eax + edi*4]
mov dword [esp + 0x1c], ecx
mov dx, word [eax]
cmp ecx, edx
jl 0x4e5351
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.004f9a90
mov ecx, dword [esp + 0x38]
add esp, 8
dec ecx
cmp edi, ecx
jge 0x4e565f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [ecx + eax*4]
mov edi, dword [ecx + eax*4 + 4]
mov ebp, dword [esi + 8]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov eax, ebp
mov dword [esp + 0x50], ecx
sub eax, ecx
mov ecx, dword [esi + 0xc]
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x4e5506
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
cdq
fmul qword [0x5e87d0]
mov ebx, eax
xor ebx, edx
fadd qword [0x5dc8f0]
sub ebx, edx
call fcn.004f6200
cmp ebx, eax
jg 0x4e55bf
mov edi, dword [edi + 4]
mov ecx, dword [esi + 4]
xor edx, edx
mov dx, word [esi + 2]
sub edi, edx
sub edi, ecx
test edi, edi
jle 0x4e565f
lea eax, [edi + edi*4]
xor ecx, ecx
mov cx, word [esi + 0x68]
shl eax, 1
cdq
idiv ecx
test eax, eax
je 0x4e565f
cmp eax, 2
jge 0x4e5581
test eax, eax
jle 0x4e565f
mov edi, dword [esp + 0x10]
mov esi, eax
push edi
push 0x61ed8c
call fcn.004f9a90
add esp, 8
dec esi
jne 0x4e556b
jmp 0x4e565f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 1
test eax, eax
je 0x4e55ab
mov edx, dword [esp + 0x10]
push edx
push str.ul0
call fcn.004f9a90
add esp, 8
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
push str._tab
push eax
call fcn.004f69ba
jmp 0x4e565c
mov eax, dword [esp + 0x50]
mov esi, dword [esi + 0xc]
sub eax, ebp
mov dword [esp + 0x68], esi
cmp esi, eax
mov dword [esp + 0x50], eax
jge 0x4e5629
fild dword [esp + 0x50]
fidiv dword [esp + 0x68]
fadd qword [0x5dc8f0]
call fcn.004f6200
cmp eax, 1
jl 0x4e565f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
mov ebx, eax
test esi, esi
je 0x4e5612
push edi
push str.ul0
call fcn.004f9a90
add esp, 8
xor esi, esi
push edi
push str.par_r_n
call fcn.004f9a90
add esp, 8
dec ebx
jne 0x4e55fe
mov dword [esp + 0x28], esi
jmp 0x4e565f
mov eax, dword [esp + 0x28]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x4c], esi
je 0x4e564d
mov ecx, dword [esp + 0x10]
push ecx
push str.ul0
call fcn.004f9a90
add esp, 8
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x10]
push edx
push str.par_r_n
call fcn.004f9a90
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4e4cd0
mov eax, dword [esp + 0x48]
push eax
call fcn.004f5907
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004f5907
mov edx, dword [esp + 0x6c]
push edx
call fcn.004f5907
mov eax, dword [esp + 0x24]
push eax
call fcn.004f5907
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004f5907
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x24]
add esp, 0x14
test eax, eax
push ebp
je 0x4e56c0
push 0x62fd34
jmp 0x4e56c5
push 0x61ed90
call fcn.004f9a90
add esp, 8
push ebp
call fcn.004f5da0
mov edi, eax
add esp, 4
lea edx, [edi + 1]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4e5711
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call fcn.004f98a8
push ebp
push edi
push 1
push ebx
call fcn.004f5b4c
add esp, 0x14
mov byte [ebx + edi], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call fcn.004f5acf
add esp, 4
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x998
ret
push str.Cannot_get_temp_path_in_ProcessCaptureRtf___r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop edi
add esp, 0x998
ret