Function at 0x4b2440
Capabilities:
Delete file
Get common file path
Print debug messages
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98c
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x984], eax
mov eax, dword [0x6bcee8]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
push esi
push edi
je 0x4b33a4
mov ebx, 1
cmp dword [eax + 0x24], ebx
jb 0x4b33a4
lea eax, [esp + 0x888]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x4b3399
lea ecx, [esp + 0x888]
push ecx
push ebp
push str.TxSnp
mov edx, ecx
push edx
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
je 0x4b3399
lea eax, [esp + 0x888]
push 0x658f34
push eax
call fcn.005a6c42
mov edi, eax
add esp, 8
cmp edi, ebp
mov dword [esp + 0x10], edi
je 0x4b33a4
call fcn.004b1a80
test eax, eax
jne 0x4b24f7
push edi
call fcn.005a6e16
add esp, 4
lea ecx, [esp + 0x888]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x4b33a4
push 0x100
call fcn.005a854a
add esp, 4
push edi
push str._rtf1_ansi_ansicpg1252deff0deflang1033
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x68], ebp
call fcn.005af524
push 0x64a380
push edi
call fcn.005a6c55
mov edx, dword [0x6bcf14]
shl edx, 5
push edx
mov dword [esp + 0x78], ebx
call fcn.005a854a
mov dword [esp + 0x50], eax
add esp, 0x14
xor eax, eax
call fcn.004b19d0
mov ecx, dword [esp + 0x3c]
mov esi, eax
lea eax, [esi + 0x48]
push edi
push str._fonttbl_
mov dword [esp + 0x34], eax
mov dword [ecx + 4], eax
call fcn.005af524
push str._f1
push edi
call fcn.005a6c55
movzx eax, byte [esi + 0x3f]
and eax, 0xf0
add esp, 0x10
cmp eax, 0x50
ja case.0x4b2599.1
movzx edx, byte [eax + 0x4b33dc]
jmp dword [edx*4 + 0x4b33c0]
push str._fdecor
jmp 0x4b25c8
push str._fnil
jmp 0x4b25c8
push str._fmodern
jmp 0x4b25c8
push str._fRoman
jmp 0x4b25c8
push str._fscript
jmp 0x4b25c8
push str._fswiss
push edi
call fcn.005a6c55
add esp, 8
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esi + 0x40]
push eax
push ecx
push str._fcharset_d__s_
push edi
call fcn.005a6c55
push 0x400
lea edx, [esp + 0x48c]
push ebp
push edx
call fcn.005ab440
add esp, 0x1c
cmp dword [0x6bcf14], ebp
mov dword [esp + 0x14], ebp
jbe 0x4b2753
lea esp, [esp]
mov eax, dword [esp + 0x14]
call fcn.004b19d0
mov ecx, dword [esp + 0x2c]
lea ebp, [eax + 0x48]
mov dword [esp + 0x18], eax
mov eax, ebp
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b2646
test dl, dl
je 0x4b2642
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b2646
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b2626
xor eax, eax
jmp 0x4b264b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b2738
mov esi, 1
cmp ebx, esi
mov dword [esp + 0x24], 0
jl 0x4b26b6
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + esi*4]
mov eax, ebp
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b2690
test dl, dl
je 0x4b268c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b2690
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b2670
xor eax, eax
jmp 0x4b2695
sbb eax, eax
sbb eax, 0xffffffff
cdq
xor eax, edx
sub eax, edx
jne 0x4b26a4
mov dword [esp + 0x24], 1
add esi, 1
cmp esi, ebx
jle 0x4b2664
cmp dword [esp + 0x24], 0
jne 0x4b2738
mov ecx, dword [esp + 0x3c]
add ebx, 1
push ebx
push 0x658fc4
push edi
mov dword [ecx + ebx*4], ebp
mov dword [esp + 0x38], ebp
call fcn.005a6c55
mov esi, dword [esp + 0x24]
movzx eax, byte [esi + 0x3f]
and eax, 0xf0
add esp, 0xc
cmp eax, 0x50
ja case.0x4b26ec.1
movzx edx, byte [eax + 0x4b344c]
jmp dword [edx*4 + 0x4b3430]
push str._fdecor
jmp 0x4b271b
push str._fnil
jmp 0x4b271b
push str._fmodern
jmp 0x4b271b
push str._fRoman
jmp 0x4b271b
push str._fscript
jmp 0x4b271b
push str._fswiss
push edi
call fcn.005a6c55
add esp, 8
movzx eax, byte [esi + 0x40]
push ebp
push eax
push str._fcharset_d__s_
push edi
call fcn.005a6c55
add esp, 0x10
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [0x6bcf14]
mov dword [esp + 0x14], eax
jb 0x4b2610
mov dword [esp + 0x64], ebx
mov ecx, edi
push ecx
push 0x658fcc
call fcn.005af524
xor eax, eax
mov dword [esp + 0x3c], 1
call fcn.004b19d0
mov ebp, dword [0x6bcf14]
lea edx, [ebp*8]
push edx
mov edi, eax
call fcn.005a854a
mov esi, dword [edi + 0x44]
add esp, 0xc
xor ebx, ebx
test esi, esi
mov dword [esp + 0x28], eax
mov dword [eax + 4], esi
jne 0x4b27a0
mov ebx, 1
mov dword [esp + 0x50], ebx
movzx eax, byte [edi + 0x45]
movzx ecx, byte [edi + 0x46]
movzx edx, byte [edi + 0x44]
add eax, ecx
add eax, edx
cmp eax, 0x28a
jle 0x4b27c9
mov eax, dword [esp + 0x28]
mov ebx, 1
xor esi, esi
mov dword [esp + 0x50], ebx
mov dword [eax + 4], esi
test ebp, ebp
mov dword [esp + 0x14], 0
jbe 0x4b2877
mov ebp, dword [esp + 0x34]
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
call fcn.004b19d0
mov edx, dword [eax + 0x44]
cmp edx, esi
je 0x4b2860
movzx edi, byte [eax + 0x46]
movzx ecx, byte [eax + 0x45]
add ecx, edi
movzx edi, dl
add ecx, edi
cmp ecx, 0x28a
jle 0x4b2820
test ebx, ebx
jne 0x4b2860
mov edx, dword [esp + 0x28]
add ebp, 1
xor esi, esi
mov dword [edx + ebp*4], ebx
mov dword [esp + 0x50], ebp
lea ebx, [esi + 1]
jmp 0x4b285c
xor edi, edi
lea ecx, [edi + 1]
cmp ebp, ecx
jl 0x4b284e
lea esp, [esp]
mov ebp, dword [esp + 0x28]
cmp edx, dword [ebp + ecx*4]
jne 0x4b283f
mov edi, 1
mov ebp, dword [esp + 0x34]
add ecx, 1
cmp ecx, ebp
jle 0x4b2830
test edi, edi
jne 0x4b2860
mov ecx, dword [esp + 0x28]
mov eax, edx
add ebp, 1
mov dword [ecx + ebp*4], eax
mov esi, eax
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [0x6bcf14]
mov dword [esp + 0x14], eax
jb 0x4b27e0
mov ebp, dword [esp + 0x10]
push ebp
push str.colortbl_
call fcn.005af524
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x30]
mov esi, 1
add esp, 8
cmp edi, esi
jl 0x4b28c6
lea ebx, [ebx]
movzx edx, byte [ebx + esi*4 + 2]
movzx eax, byte [ebx + esi*4 + 1]
movzx ecx, byte [ebx + esi*4]
push edx
push eax
push ecx
push str._red_dgreen_d_blue_d_
push ebp
call fcn.005a6c55
add esi, 1
add esp, 0x14
cmp esi, edi
jle 0x4b28a0
push ebp
push str.uc1_r_n
call fcn.005af524
add esp, 8
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 + 0x64], eax
call edi
push esi
xor esi, esi
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.user32.dll_ReleaseDC]
xor eax, eax
call fcn.004b19d0
fild dword [esp + 0x24]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 0x18]
fst qword [esp + 0x70]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul qword [0x65d518]
fdivrp st(1)
fadd qword [0x65d220]
call fcn.005ab4c0
cmp dword [0x6bcf14], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x14], esi
jbe 0x4b32b0
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.004b19d0
test esi, esi
mov edi, eax
mov dword [esp + 0x18], edi
jne 0x4b29ae
mov esi, dword [esp + 0x10]
push 0x658ffc
push esi
call fcn.005a6c55
add esp, 8
push str.cf1
add edi, 0x48
push esi
mov dword [esp + 0x60], edi
call fcn.005a6c55
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
add esp, 8
push eax
push str._fs_d
push esi
mov dword [esp + 0x58], edx
call fcn.005a6c55
mov edi, dword [esp + 0x24]
mov ebx, esi
jmp 0x4b2ada
mov eax, dword [esp + 0x58]
lea ecx, [edi + 0x48]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b29d5
test dl, dl
je 0x4b29d1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b29d5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b29b5
xor eax, eax
jmp 0x4b29da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4b2a4b
mov ebx, dword [esp + 0x64]
mov esi, 1
cmp ebx, esi
jl 0x4b2a4b
mov ebp, dword [esp + 0x3c]
nop
mov edi, dword [ebp + esi*4]
mov ecx, dword [esp + 0x18]
add ecx, 0x48
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b2a20
test dl, dl
je 0x4b2a1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b2a20
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b2a00
xor eax, eax
jmp 0x4b2a25
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4b2a40
mov eax, dword [esp + 0x10]
push esi
push str._f_d
push eax
call fcn.005a6c55
add esp, 0xc
mov dword [esp + 0x58], edi
add esi, 1
cmp esi, ebx
jle 0x4b29f0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
cmp eax, dword [edi + 0x44]
je 0x4b2a97
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 0x45]
movzx esi, byte [ecx + 0x46]
movzx ecx, byte [ecx + 0x44]
add edx, esi
add edx, ecx
cmp edx, 0x28a
jle 0x4b2b87
test eax, eax
je 0x4b2a97
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
push edx
push str.cf_d
push eax
call fcn.005a6c55
add esp, 0xc
mov dword [esp + 0x4c], 0
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 0x18]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul qword [0x65d518]
fdiv qword [esp + 0x70]
fadd qword [0x65d220]
call fcn.005ab4c0
mov ebx, dword [esp + 0x10]
mov esi, eax
cmp esi, dword [esp + 0x54]
je 0x4b2add
push esi
push str._fs_d
push ebx
call fcn.005a6c55
mov dword [esp + 0x60], esi
add esp, 0xc
cmp dword [0x6bcf18], 0
mov dword [esp + 0x1c], 0
jle 0x4b2d4d
mov ebx, dword [esp + 0x14]
jmp 0x4b2b00
mov edx, dword [0x6bcf24]
mov eax, dword [esp + 0x1c]
cmp ebx, dword [edx + eax*4]
jne 0x4b2d2e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
sub eax, dword [0x6bcf10]
movzx ecx, word [ecx + 0x68]
mov dword [esp + 0x48], eax
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ecx
push 0x400
xor edi, edi
lea edx, [esp + 0x7c]
push edi
push edx
mov esi, eax
mov dword [esp + 0x4c], esi
call fcn.005ab440
add esp, 0xc
test esi, esi
jle 0x4b2bcf
fild dword [esp + 0x48]
fld qword [0x65d510]
fmul st(1), st(0)
fild dword [esp + 0x5c]
fdivp st(2)
fld qword [0x65d4c0]
fmul st(2), st(0)
fld qword [0x65d220]
fadd st(3), st(0)
fxch st(3)
call fcn.005ab4c0
mov dword [esp + 0x78], eax
mov edi, 1
jmp 0x4b2be3
mov ebp, dword [esp + 0x34]
mov esi, 1
cmp ebp, esi
jl 0x4b2a97
mov ebx, dword [esp + 0x28]
lea esp, [esp]
mov edi, dword [ebx + esi*4]
mov ecx, dword [esp + 0x18]
cmp edi, dword [ecx + 0x44]
jne 0x4b2bc3
mov edx, dword [esp + 0x10]
push esi
push str.cf_d
push edx
call fcn.005a6c55
add esp, 0xc
mov dword [esp + 0x4c], edi
add esi, 1
cmp esi, ebp
jle 0x4b2ba0
jmp 0x4b2a97
fld qword [0x65d4c0]
fld qword [0x65d510]
fld qword [0x65d220]
fxch st(2)
mov eax, dword [0x6bcf18]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jge 0x4b2bff
mov edx, dword [0x6bcf24]
mov eax, dword [edx + eax*4 + 4]
jmp 0x4b2c04
mov eax, dword [0x6bcf14]
add eax, 0xffffffff
cmp ebx, eax
jge 0x4b2c76
mov edx, dword [0x6bcf20]
lea ecx, [ebx + ebx*4]
sub eax, ebx
lea esi, [edx + ecx*4 + 4]
mov ebp, eax
mov ecx, dword [esi + 0x14]
movzx edx, word [esi + 0xe]
mov eax, ecx
sub eax, edx
sub eax, dword [esi]
test eax, eax
jle 0x4b2c6e
movzx ebx, word [esi + 0xc]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ebx
cmp eax, 1
jle 0x4b2c6a
cmp edi, 0xff
jge 0x4b2c6a
sub ecx, dword [0x6bcf10]
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
fmul st(2)
fidiv dword [esp + 0x5c]
fmul st(1)
fadd st(3)
call fcn.005ab4c0
mov dword [esp + edi*4 + 0x78], eax
add edi, 1
mov ebx, dword [esp + 0x14]
add esi, 0x14
sub ebp, 1
jne 0x4b2c1c
test edi, edi
fstp st(1)
fstp st(0)
fstp st(0)
je 0x4b2cda
xor eax, eax
test edi, edi
jle 0x4b2cda
jmp 0x4b2c90
mov ecx, dword [esp + eax*4 + 0x78]
cmp ecx, dword [esp + eax*4 + 0x478]
jne 0x4b2ca6
add eax, 1
cmp eax, edi
jl 0x4b2c90
jmp 0x4b2cda
cmp eax, edi
jge 0x4b2cda
mov ebp, dword [esp + 0x10]
push str.pard
push ebp
call fcn.005a6c55
add esp, 8
xor esi, esi
mov edi, edi
mov edx, dword [esp + esi*4 + 0x78]
push edx
push str._tx_d
push ebp
call fcn.005a6c55
add esi, 1
add esp, 0xc
cmp esi, edi
jl 0x4b2cc0
cmp dword [esp + 0x40], 0
mov ecx, 0x100
lea esi, [esp + 0x78]
lea edi, [esp + 0x478]
rep movsd dword es:[edi], dword [esi]
jle 0x4b2d2e
cmp dword [esp + 0x20], 0
mov dword [esp + 0x44], 1
je 0x4b2d1c
mov eax, dword [esp + 0x10]
push eax
push str.ul0
call fcn.005af524
add esp, 8
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
push str._tab
push ecx
call fcn.005a6c55
add esp, 8
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [0x6bcf18]
mov dword [esp + 0x1c], eax
jl 0x4b2b00
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
movzx eax, byte [edi + 0x3c]
cmp dword [esp + 0x6c], eax
je 0x4b2d78
mov dword [esp + 0x6c], eax
test eax, eax
mov eax, 0x641d28
jne 0x4b2d69
mov eax, 0x643060
push eax
push str.i_s
push ebx
call fcn.005a6c55
add esp, 0xc
movzx eax, byte [edi + 0x3d]
cmp dword [esp + 0x20], eax
je 0x4b2da3
mov dword [esp + 0x20], eax
test eax, eax
mov eax, 0x641d28
jne 0x4b2d94
mov eax, 0x643060
push eax
push str.ul_s
push ebx
call fcn.005a6c55
add esp, 0xc
movzx eax, byte [edi + 0x3e]
cmp dword [esp + 0x68], eax
je 0x4b2dce
mov dword [esp + 0x68], eax
test eax, eax
mov eax, 0x641d28
jne 0x4b2dbf
mov eax, 0x643060
push eax
push str._strike_s
push ebx
call fcn.005a6c55
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x28], 0x258
setg al
cmp dword [esp + 0x60], eax
je 0x4b2e01
mov dword [esp + 0x60], eax
test eax, eax
mov eax, 0x641d28
jne 0x4b2df2
mov eax, 0x643060
push eax
push str._b_s
push ebx
call fcn.005a6c55
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0x659064
lea edi, [eax + 0x6c]
mov dword [esp + 0x34], 0
movzx eax, word [eax]
push 0
push 0
add eax, 1
push eax
push edi
push 0x400
call dword [sym.imp.kernel32.dll_GetACP]
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ebp, dword [esp + 0x30]
mov esi, eax
cmp ebp, esi
jg 0x4b2e62
mov ecx, dword [esp + 0x38]
lea ebp, [esi + 0x100]
push ebp
push ecx
mov dword [esp + 0x38], ebp
call fcn.005a70bf
mov ebx, eax
add esp, 8
mov dword [esp + 0x38], ebx
jmp 0x4b2e66
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x2c], eax
jne 0x4b2f2e
push eax
push eax
movzx eax, word [edx]
push esi
push ebx
add eax, 1
push eax
push edi
push 0
call dword [sym.imp.kernel32.dll_GetACP]
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov eax, ebx
mov byte [esi + ebx - 1], 0
lea edx, [eax + 1]
jmp 0x4b2ea0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b2ea0
sub eax, edx
lea ecx, [eax + eax + 2]
cmp ebp, ecx
jg 0x4b2edb
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b2eb8
sub eax, edx
lea eax, [eax + eax + 2]
push eax
push ebx
mov dword [esp + 0x38], eax
call fcn.005a70bf
mov ebx, eax
add esp, 8
mov dword [esp + 0x38], ebx
cmp byte [ebx], 0
mov esi, ebx
je 0x4b30f1
mov al, byte [esi]
cmp al, 0x5c
je 0x4b2ef4
cmp al, 0x7d
je 0x4b2ef4
cmp al, 0x7b
jne 0x4b2f21
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b2f00
sub eax, edx
add eax, 1
push eax
lea edi, [esi + 1]
push esi
push edi
call fcn.005a8cf0
mov byte [esi], 0x5c
add esp, 0xc
mov esi, edi
add esi, 1
cmp byte [esi], 0
jne 0x4b2ee6
jmp 0x4b30f1
mov byte [ebx], 0
cmp word [edx], ax
mov word [esp + 0x26], ax
mov dword [esp + 0x1c], eax
jbe 0x4b30f1
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x30]
mov cx, word [eax]
xor eax, eax
lea edx, [esp + 0x2c]
push edx
push 0x659064
push 0x10
mov dword [esp + 0x884], eax
mov dword [esp + 0x888], eax
mov dword [esp + 0x88c], eax
mov dword [esp + 0x890], eax
lea eax, [esp + 0x884]
push eax
mov word [esp + 0x34], cx
push 1
lea ecx, [esp + 0x38]
push ecx
push 0x400
call dword [sym.imp.kernel32.dll_GetACP]
push eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x4b30ca
cmp dword [esp + 0x2c], 0
je 0x4b2fca
movzx edx, word [esp + 0x24]
push edx
lea eax, [esp + 0x87c]
push str.u_d_
push eax
call fcn.005a5a2e
add esp, 0xc
jmp 0x4b3037
movsx eax, byte [esp + 0x878]
sub eax, 0x5c
je 0x4b301c
sub eax, 0x1f
je 0x4b2fff
sub eax, 2
jne 0x4b3037
mov cx, word [0x659070]
mov dl, byte [0x659072]
mov word [esp + 0x878], cx
mov byte [esp + 0x87a], dl
jmp 0x4b3037
mov ax, word [0x659074]
mov cl, byte [0x659076]
mov word [esp + 0x878], ax
mov byte [esp + 0x87a], cl
jmp 0x4b3037
mov dx, word [0x64773c]
mov al, byte [0x64773e]
mov word [esp + 0x878], dx
mov byte [esp + 0x87a], al
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b3040
sub eax, edx
mov edx, eax
lea eax, [esp + 0x878]
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b3057
sub eax, esi
lea ecx, [eax + edx + 1]
cmp ebp, ecx
jg 0x4b3092
lea eax, [esp + 0x878]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4b3074
sub eax, edx
lea ebp, [eax + ebp + 0x100]
push ebp
push ebx
call fcn.005a70bf
add esp, 8
mov ebx, eax
lea eax, [esp + 0x878]
mov ecx, eax
jmp 0x4b30a0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4b30a0
mov edi, ebx
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x4b30b2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
movzx ecx, word [edx]
add dword [esp + 0x30], 2
add eax, 1
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4b2f47
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebp
mov edx, dword [esp + 0x10]
push edx
push ebx
call fcn.005af524
mov eax, dword [0x6bcf14]
add eax, 0xffffffff
add esp, 8
cmp dword [esp + 0x14], eax
jae 0x4b3291
mov eax, dword [esp + 0x14]
mov edx, dword [0x6bcf20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 8]
movzx edi, word [edx + ecx*4 + 0xc]
mov ebp, dword [edx + ecx*4 + 0x1c]
lea esi, [edx + ecx*4]
movzx ecx, word [esi + 0x20]
mov dword [esp + 0x40], eax
sub eax, ebp
cmp edi, ecx
mov dword [esp + 0x1c], edi
jl 0x4b3144
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
cdq
mov ebx, eax
xor ebx, edx
fmul qword [0x65d248]
sub ebx, edx
fadd qword [0x65d220]
call fcn.005ab4c0
cmp ebx, eax
jg 0x4b31f8
movzx ecx, word [esi + 0x12]
mov eax, dword [esi + 0x18]
sub eax, ecx
sub eax, dword [esi + 4]
test eax, eax
jle 0x4b3291
movzx ecx, word [esi + 0x10]
lea eax, [eax + eax*4]
add eax, eax
cdq
idiv ecx
test eax, eax
je 0x4b3291
cmp eax, 2
jge 0x4b31bb
test eax, eax
jle 0x4b3291
mov edi, dword [esp + 0x10]
mov esi, eax
push edi
push 0x646c30
call fcn.005af524
add esp, 8
sub esi, 1
jne 0x4b31a3
jmp 0x4b3291
cmp dword [esp + 0x20], 0
mov dword [esp + 0x44], 1
je 0x4b31e4
mov edx, dword [esp + 0x10]
push edx
push str.ul0
call fcn.005af524
add esp, 8
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x10]
push str._tab
push eax
call fcn.005a6c55
jmp 0x4b328e
sub ebp, dword [esp + 0x40]
mov dword [esp + 0x48], edi
cmp edi, ebp
mov dword [esp + 0x40], ebp
jge 0x4b325d
fild dword [esp + 0x40]
fidiv dword [esp + 0x48]
call fcn.005ab4c0
cmp eax, 1
jl 0x4b3291
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x44], 0
mov esi, eax
lea esp, [esp]
test ebx, ebx
je 0x4b3244
push edi
push str.ul0
call fcn.005af524
add esp, 8
xor ebx, ebx
push edi
push 0x659078
call fcn.005af524
add esp, 8
sub esi, 1
jne 0x4b3230
mov dword [esp + 0x20], ebx
jmp 0x4b3291
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x44], esi
je 0x4b327f
mov ecx, dword [esp + 0x10]
push ecx
push str.ul0
call fcn.005af524
add esp, 8
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x10]
push edx
push 0x659078
call fcn.005af524
add esp, 8
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [0x6bcf14]
mov dword [esp + 0x14], eax
jb 0x4b294c
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
push ebx
call fcn.005a8a7b
mov eax, dword [0x6bcf24]
add esp, 4
push eax
call fcn.005a8a7b
mov ecx, dword [esp + 0x40]
add esp, 4
xor esi, esi
push ecx
mov dword [0x6bcf24], esi
call fcn.005a8a7b
mov edx, dword [0x6bcf20]
add esp, 4
push edx
call fcn.005a8a7b
mov eax, dword [0x6bcf1c]
add esp, 4
cmp eax, esi
mov dword [0x6bcf20], esi
je 0x4b3303
push eax
call fcn.005a6e16
add esp, 4
mov eax, dword [esp + 0x38]
push eax
mov dword [0x6bcf1c], esi
call fcn.005a8a7b
add esp, 4
cmp dword [esp + 0x44], esi
push ebp
je 0x4b3324
push str.par_r_n
jmp 0x4b3329
push 0x646c2c
call fcn.005af524
add esp, 8
push ebp
call fcn.005a9537
mov edi, eax
add esp, 4
lea ecx, [edi + 1]
push ecx
push 2
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4b337e
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ebx, dword [esp + 0x10]
push ebx
mov ebp, eax
call fcn.005af666
add esp, 4
push ebx
push edi
push 1
push ebp
call fcn.005a9841
add esp, 0x10
push esi
mov byte [edi + ebp], 0
call dword [sym.imp.kernel32.dll_GlobalUnlock]
mov ebp, ebx
push ebp
call fcn.005a6e16
add esp, 4
lea edx, [esp + 0x888]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, esi
jmp 0x4b33a6
push str.Cannot_get_temp_path_in_ProcessCaptureRtf___r_n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x994]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005a58d9
add esp, 0x98c
ret